public class SimpleGMLReader
extends java.lang.Object
| Constructor and Description |
|---|
SimpleGMLReader() |
| Modifier and Type | Method and Description |
|---|---|
FeatureCollection |
readFMEFile(java.io.File file)
Reads a GML file that is in FME format.
|
java.util.List |
toGeometries(java.io.Reader gml,
java.lang.String collectionElement,
java.lang.String featureElement,
java.lang.String geometryElement) |
java.util.List |
toGeometries(java.lang.String gml,
java.lang.String collectionElement,
java.lang.String featureElement,
java.lang.String geometryElement) |
public java.util.List toGeometries(java.io.Reader gml,
java.lang.String collectionElement,
java.lang.String featureElement,
java.lang.String geometryElement)
throws java.lang.Exception
gml - a Reader on an XML document containing GMLcollectionElement - the name of the feature-collection tagfeatureElement - the name of the feature taggeometryElement - the name of the geometry tagjava.lang.Exceptionpublic java.util.List toGeometries(java.lang.String gml,
java.lang.String collectionElement,
java.lang.String featureElement,
java.lang.String geometryElement)
throws java.lang.Exception
gml - java.lang.ExceptiontoGeometries(Reader, String, String, String)public FeatureCollection readFMEFile(java.io.File file) throws java.lang.Exception
java.lang.Exception