public class GML3ParsingUtils extends Object
| Constructor and Description |
|---|
GML3ParsingUtils() |
| Modifier and Type | Method and Description |
|---|---|
static 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.
|
public static SimpleFeature parseFeature(ElementInstance instance, Node node, Object value, FeatureTypeCache ftCache, BindingWalkerFactory bwFactory) throws Exception
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.Exceptionpublic static SimpleFeatureType featureType(XSDElementDeclaration element, BindingWalkerFactory bwFactory) throws Exception
type - The xml schema tupe.ExceptionCopyright © 1996–2019 Geotools. All rights reserved.