Package org.vfny.geoserver.global.xml

Examples of org.vfny.geoserver.global.xml.NameSpaceTranslatorFactory


    public AttributeTypeInfoConfig(AttributeType attributeType) {
        name = attributeType.getName();
        minOccurs = 1;
        maxOccurs = 1;

  NameSpaceTranslatorFactory nsFactory = NameSpaceTranslatorFactory.getInstance();
        NameSpaceTranslator nst = nsFactory.getNameSpaceTranslator("xs");
        NameSpaceElement nse = nst.getElement(name);
  if (nse == null) {
      nse = nst.getDefaultElement(attributeType.getType());
  }
        if (nse == null) {
      nst = nsFactory.getNameSpaceTranslator("gml");
      nse = nst.getElement(name);
      if (nse == null) {
    nse = nst.getDefaultElement(attributeType.getType());
      }
  }
View Full Code Here

TOP

Related Classes of org.vfny.geoserver.global.xml.NameSpaceTranslatorFactory

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.