Package org.geotools.xml.schema

Examples of org.geotools.xml.schema.ElementValue


                throws SAXException, OperationNotSupportedException {

            WMSCCapabilities capabilities = new WMSCCapabilities();

            for( int i = 0; i < value.length; i++ ) {
                ElementValue elementValue = value[i];
                // Service
                if (sameName(elems[0], elementValue)) {
                    Service x = ((Service)elementValue.getValue());
                    capabilities.setService(x);
                }
                // Capability
                if (sameName(elems[1], elementValue)) {
                    Capability c = ((Capability)elementValue.getValue());
                    capabilities.setCapabilitiy(c);
                }
                // VendorSpecificCapabilities
                if (sameName(elems[2], elementValue)) {
                    // vendor specific capabilities for 1.0alpha version of
                    // geowebcache; once geowebcache fixed up this should not be necessary as
                    // this should be inside a capabilities
                    Capability c= new Capability();
                    VendorSpecificCapabilities cs = ((VendorSpecificCapabilities)elementValue.getValue());
                    c.setVendorCapabilities(cs);
                    capabilities.setCapabilitiy(c);
                }
            }
View Full Code Here


              values = new Object[value.length+1];
              logger.finest("Getting value for " + element.getName() + ":" + name);
 
              // This seems to some how be for mixed content?  Don't really understand what
              // is going on here.
              values[0] = new ElementValue(){
          public Element getElement() {
            return null;
          }
 
          public Object getValue() {
View Full Code Here

TOP

Related Classes of org.geotools.xml.schema.ElementValue

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.