Package org.geotools.gml4wcs.bindings
Class GML3ParsingUtils
Object
GML3ParsingUtils
Utility class for gml3 parsing.
- Author:
- Justin Deoliveira, The Open Planning Project, jdeolive@openplans.org
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic SimpleFeatureType
featureType
(XSDElementDeclaration element, BindingWalkerFactory bwFactory) Turns a xml type definition into a geotools feature type.static SimpleFeature
parseFeature
(ElementInstance instance, Node node, Object value, FeatureTypeCache ftCache, BindingWalkerFactory bwFactory) Utility method to implement Binding.parse for a binding which parses into A feature.
-
Constructor Details
-
GML3ParsingUtils
public GML3ParsingUtils()
-
-
Method Details
-
parseFeature
public static SimpleFeature parseFeature(ElementInstance instance, Node node, Object value, FeatureTypeCache ftCache, BindingWalkerFactory bwFactory) throws Exception Utility method to implement Binding.parse for a binding which parses into A feature.- Parameters:
instance
- The instance being parsed.node
- The parse tree.value
- The value from the last binding in the chain.ftCache
- The feature type cache.bwFactory
- Binding walker factory.- Returns:
- A feature.
- Throws:
Exception
-
featureType
public static SimpleFeatureType featureType(XSDElementDeclaration element, BindingWalkerFactory bwFactory) throws Exception Turns a xml type definition into a geotools feature type.- Returns:
- The corresponding geotools feature type.
- Throws:
Exception
-