| java.lang.Object org.geotools.gml3.bindings.GML3ParsingUtils
GML3ParsingUtils | public class GML3ParsingUtils (Code) | | Utility class for gml3 parsing.
author: Justin Deoliveira, The Open Planning Project, jdeolive@openplans.org |
Method Summary | |
static CoordinateReferenceSystem | crs(Node node) | static Feature | feature(FeatureType fType, String fid, Node node) Turns a parse node + feature type + fid info a feature. | public static FeatureType | featureType(XSDElementDeclaration element, BindingWalkerFactory bwFactory) Turns a xml type definition into a geotools feature type.
Parameters: type - The xml schema tupe. | static LineString | line(Node node, GeometryFactory gf, CoordinateSequenceFactory csf, boolean ring) | static LineString | lineString(Node node, GeometryFactory gf, CoordinateSequenceFactory csf) | static LinearRing | linearRing(Node node, GeometryFactory gf, CoordinateSequenceFactory csf) | public static Feature | 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.
Parameters: instance - The instance being parsed. Parameters: node - The parse tree. Parameters: value - The value from the last binding in the chain. Parameters: ftCache - The feature type cache. Parameters: bwFactory - Binding walker factory. |
crs | static CoordinateReferenceSystem crs(Node node)(Code) | | |
featureType | public static FeatureType featureType(XSDElementDeclaration element, BindingWalkerFactory bwFactory) throws Exception(Code) | | Turns a xml type definition into a geotools feature type.
Parameters: type - The xml schema tupe. The corresponding geotools feature type. |
line | static LineString line(Node node, GeometryFactory gf, CoordinateSequenceFactory csf, boolean ring)(Code) | | |
lineString | static LineString lineString(Node node, GeometryFactory gf, CoordinateSequenceFactory csf)(Code) | | |
linearRing | static LinearRing linearRing(Node node, GeometryFactory gf, CoordinateSequenceFactory csf)(Code) | | |
parseFeature | public static Feature parseFeature(ElementInstance instance, Node node, Object value, FeatureTypeCache ftCache, BindingWalkerFactory bwFactory) throws Exception(Code) | | Utility method to implement Binding.parse for a binding which parses
into A feature.
Parameters: instance - The instance being parsed. Parameters: node - The parse tree. Parameters: value - The value from the last binding in the chain. Parameters: ftCache - The feature type cache. Parameters: bwFactory - Binding walker factory. A feature. |
|
|