|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
ObjectGML3ParsingUtils
public class GML3ParsingUtils
Utility class for gml3 parsing.
Constructor Summary | |
---|---|
GML3ParsingUtils()
|
Method Summary | |
---|---|
static int |
dimensions(Node node)
Returns the number of dimensions for the specified node, eventually recursing up to find the parent node that has the indication of the dimensions (normally the top-most geometry element has it, not the posList). |
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. |
Methods inherited from class Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public GML3ParsingUtils()
Method Detail |
---|
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.
Exception
public static SimpleFeatureType featureType(XSDElementDeclaration element, BindingWalkerFactory bwFactory) throws Exception
type
- The xml schema tupe.
Exception
public static int dimensions(Node node)
node
-
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |