org.geotools.gtxml
Class GTXML

Object
  extended by GTXML

public class GTXML
extends Object

Operates as a front end to GTXML parser/encoder services.

This is a simple utility class; if you need more control please look at the implementation of the provided methods.


Constructor Summary
GTXML()
           
 
Method Summary
static FeatureType parseFeatureType(Configuration configuration, QName name, CoordinateReferenceSystem crs)
          Parse a feature type; using the provided configuration.
 
Methods inherited from class Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

GTXML

public GTXML()
Method Detail

parseFeatureType

public static FeatureType parseFeatureType(Configuration configuration,
                                           QName name,
                                           CoordinateReferenceSystem crs)
                                    throws IOException
Parse a feature type; using the provided configuration.

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.

Parameters:
configuration - wfs configuration to use
name - name to parse out as a feature type
schema - xsd schema to parse
crs - Optional coordinate reference system for generated feature type
Returns:
FeatureType
Throws:
IOException


Copyright © 1996-2014 Geotools. All Rights Reserved.