public class GTXML extends Object
This is a simple utility class; if you need more control please look at the implementation of the provided methods.
Constructor and Description |
---|
GTXML() |
Modifier and Type | Method and Description |
---|---|
static FeatureType |
parseFeatureType(Configuration configuration,
QName name,
CoordinateReferenceSystem crs)
Parse a feature type; using the provided configuration.
|
public static FeatureType parseFeatureType(Configuration configuration, QName name, CoordinateReferenceSystem crs) throws IOException
Usually the configuration is based on org.geotools.wfs.v1_0.WFSConfiguration or org.geotools.wfs.v1_1.WFSConfiguration; you need to indicate which name you want parsed out as a FetureType.
configuration
- wfs configuration to usename
- name to parse out as a feature typeschema
- xsd schema to parsecrs
- Optional coordinate reference system for generated feature typeIOException
Copyright © 1996–2019 Geotools. All rights reserved.