org.deegree.model.feature
Class GMLFeatureCollectionDocument
java.lang.Object
org.deegree.framework.xml.XMLFragment
org.deegree.ogcbase.GMLDocument
org.deegree.model.feature.GMLFeatureDocument
org.deegree.model.feature.GMLFeatureCollectionDocument
- All Implemented Interfaces:
- Serializable
public class GMLFeatureCollectionDocument
- extends GMLFeatureDocument
Parser and wrapper class for GML feature collections.
Extends GMLFeatureDocument
, as a feature collection is a feature in the GML type
hierarchy.
TODO Remove hack for xlinked feature members (should be easy after fixing model package).
- Version:
- $Revision: 9343 $, $Date: 2007-12-27 14:30:32 +0100 (Do, 27 Dez 2007) $
- Author:
- Markus Schneider , last edited by: $Author: apoth $
- See Also:
GMLFeatureDocument
,
Serialized Form
Method Summary |
FeatureCollection |
parse()
Returns the object representation of the underlying feature collection document. |
Methods inherited from class org.deegree.model.feature.GMLFeatureDocument |
getFeatureType, getGMLSchemas, getSchemaForNamespace, parseFeature, parseFeature, parseFeature, parseFeature, parseFeatureId, parseProperty, parseProperty, resolveXLinkReferences, setSchemas |
Methods inherited from class org.deegree.framework.xml.XMLFragment |
getAsPrettyString, getAsString, getAttachedSchemas, getQualifiedName, getRootElement, getSystemId, hasSchema, load, load, load, parseQualifiedName, parseSimpleLink, prettyPrint, prettyPrint, resolve, setRootElement, setSystemId, setSystemId, toString, write, write, write, write |
GMLFeatureCollectionDocument
public GMLFeatureCollectionDocument()
- Creates a new instance of
GMLFeatureCollectionDocument
.
Simple types encountered during parsing are "guessed", i.e. the parser tries to convert the
values to double, integer, calendar, etc. However, this may lead to unwanted results, e.g. a
property value of "054604" is converted to "54604".
GMLFeatureCollectionDocument
public GMLFeatureCollectionDocument(boolean guessSimpleTypes)
- Creates a new instance of
GMLFeatureCollectionDocument
.
- Parameters:
guessSimpleTypes
- set to true, if simple types should be "guessed" during parsing
parse
public FeatureCollection parse()
throws XMLParsingException
- Returns the object representation of the underlying feature collection document.
- Returns:
- object representation of the underlying feature collection document.
- Throws:
XMLParsingException
an open source project founded by lat/lon, Bonn, Germany.
For more information visit: http://deegree.sourceforge.net