Package net.jangaroo.exml.model

Examples of net.jangaroo.exml.model.ExmlElement


  public ExmlConfigPackage(Collection<ConfigClass> cl, String packageName) {
    this.packageName = packageName;
    ns = calcNsFromPackageName(packageName, 1);
    exmlElements = new ArrayList<ExmlElement>(cl.size());
    for (ConfigClass configClass : cl) {
      exmlElements.add(new ExmlElement(configClass));
    }
    computeShortNamespaces();
    Collections.sort(exmlElements, EXML_ELEMENT_BY_NAME_COMPARATOR);
  }
View Full Code Here


  private void computeShortNamespaces() {
    usedNamespaces = new HashMap<String,String>();
    for (ExmlElement ee : exmlElements) {
      calcNsFromPackage(ee);
      ExmlElement superElement = ee.getSuperElement();
      if (superElement != null) {
        calcNsFromPackage(superElement);
      }
    }
  }
View Full Code Here

TOP

Related Classes of net.jangaroo.exml.model.ExmlElement

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.