org.deegree.ogcwebservices.wfs.operation
Class AbstractWFSRequestDocument
java.lang.Object
org.deegree.framework.xml.XMLFragment
org.deegree.ogcbase.OGCDocument
org.deegree.ogcwebservices.wfs.operation.AbstractWFSRequestDocument
- All Implemented Interfaces:
- Serializable
- Direct Known Subclasses:
- DescribeFeatureTypeDocument, GetFeatureDocument, LockFeatureDocument, LockFeatureResponseDocument, TransactionDocument, TransactionResponseDocument, WFSGetCapabilitiesDocument
public class AbstractWFSRequestDocument
- extends OGCDocument
Abstract base class for WFS request documents / parsers.
- Version:
- $Revision: 9345 $, $Date: 2007-12-27 17:22:25 +0100 (Do, 27 Dez 2007) $
- Author:
- Markus Schneider, last edited by: $Author: apoth $
- See Also:
- Serialized Form
Methods inherited from class org.deegree.ogcbase.OGCDocument |
parseCodeList, parseCodeListArray, 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 |
AbstractWFSRequestDocument
public AbstractWFSRequestDocument()
checkServiceAttribute
protected void checkServiceAttribute()
throws XMLParsingException
- Checks that the "service" attribute in the root node matches the expected value (WFS).
- Throws:
XMLParsingException
checkVersionAttribute
protected String checkVersionAttribute()
throws XMLParsingException
- Parses and checks the "version" attribute in the root node (can be "1.0.0" or "1.1.0"). If it is not
present, "1.1.0" is returned.
- Returns:
- version
- Throws:
XMLParsingException
transformToQualifiedNames
protected QualifiedName[] transformToQualifiedNames(String[] values,
Element element)
throws XMLParsingException
- Transform an array of strings to an array of qualified names.
TODO adapt style (parseXYZ)
- Parameters:
values
- element
-
- Returns:
- QualifiedNames
- Throws:
XMLParsingException
parseDRMParams
protected Map<String,String> parseDRMParams(Element root)
throws XMLParsingException
- Throws:
XMLParsingException
an open source project founded by lat/lon, Bonn, Germany.
For more information visit: http://deegree.sourceforge.net