org.deegree.ogcwebservices.wfs.operation
Class GetFeatureDocument
java.lang.Object
org.deegree.framework.xml.XMLFragment
org.deegree.ogcbase.OGCDocument
org.deegree.ogcwebservices.wfs.operation.AbstractWFSRequestDocument
org.deegree.ogcwebservices.wfs.operation.GetFeatureDocument
- All Implemented Interfaces:
- java.io.Serializable
- Direct Known Subclasses:
- GetFeatureWithLockDocument
public class GetFeatureDocument
- extends AbstractWFSRequestDocument
Parser for "wfs:GetFeature" requests.
- Version:
- $Revision: 18195 $, $Date: 2009-06-18 17:55:39 +0200 (Do, 18 Jun 2009) $
- Author:
- Markus Schneider, last edited by: $Author: mschneider $
- See Also:
- Serialized Form
Nested Class Summary |
static class |
GetFeatureDocument.BBoxTest
BBoxTest is a helper class that encapsulates the check for bounding boxes. |
Method Summary |
(package private) static void |
isBoundingBoxValid(java.lang.String srsName,
Filter filter)
|
GetFeature |
parse(java.lang.String id)
Parses the underlying document into a GetFeature request object. |
(package private) Query |
parseQuery(org.w3c.dom.Element element)
Parses the given query element into a Query object with filter encoding 1.1.0. |
(package private) Query |
parseQuery(org.w3c.dom.Element element,
boolean useVersion_1_0_0)
Parses the given query element into a Query object. |
Methods inherited from class org.deegree.ogcbase.OGCDocument |
parseCodeList, parseCodeListArray, parseExtendedPropertyPath, parseInterval, parseKeywords, parseKeywords, parseLonLatEnvelope, parseOnLineResource, parsePropertyPath, parseTimePeriod, parseTimePeriods, parseTimePositions, parseTimeSequence, parseTypedLiteral, parseValues |
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 |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
GetFeatureDocument
public GetFeatureDocument()
parse
public GetFeature parse(java.lang.String id)
throws InvalidParameterValueException,
XMLParsingException
- Parses the underlying document into a
GetFeature
request object.
- Parameters:
id
-
- Returns:
- corresponding
GetFeature
object
- Throws:
XMLParsingException
InvalidParameterValueException
parseQuery
Query parseQuery(org.w3c.dom.Element element)
throws XMLParsingException
- Parses the given query element into a
Query
object with filter encoding 1.1.0.
Note that the following attributes from the surrounding element are also considered (if it is present):
- resultType
- maxFeatures
- startPosition
- Parameters:
element
- query element
- Returns:
- corresponding
Query
object
- Throws:
XMLParsingException
parseQuery
Query parseQuery(org.w3c.dom.Element element,
boolean useVersion_1_0_0)
throws XMLParsingException
- Parses the given query element into a
Query
object.
Note that the following attributes from the surrounding element are also considered (if it is present):
- resultType
- maxFeatures
- startPosition
- Parameters:
element
- query elementuseVersion_1_0_0
- true, if the query is part of a 1.0.0 GetFeature request, otherwise false
- Returns:
- corresponding
Query
object
- Throws:
XMLParsingException
isBoundingBoxValid
static void isBoundingBoxValid(java.lang.String srsName,
Filter filter)
throws InvalidParameterValueException
- Throws:
InvalidParameterValueException
an open source project founded by lat/lon, Bonn, Germany.
For more information visit: http://www.deegree.org