public abstract class GMLParser
extends java.lang.Object
GML Document Parser.
Used to parse Feature defined by the GML standard from an XML document.
| Constructor and Description | 
|---|
| GMLParser() | 
| Modifier and Type | Method and Description | 
|---|---|
| abstract FeatureCollection | parse(org.w3c.dom.Document document, java.util.Map<java.lang.String,FeatureType> typeMap)The feature information for the specified feature type is parsed from the XML document, and the feature information is defined by the GML standard. | 
public abstract FeatureCollection parse(org.w3c.dom.Document document,
                      java.util.Map<java.lang.String,FeatureType> typeMap)
                                 throws ParseException
The feature information for the specified feature type is parsed from the XML document, and the feature information is defined by the GML standard.
document - The XML document to parse.typeMap, - the specified feature type, represented by a mapping, where the key is the name of the feature type, the value is the corresponding feature type object.ParseException, - an error occurred while parsing the XML document, and the document resolution exception was thrown.ParseException