org.deegree.ogcwebservices.wfs.operation
Class LockFeatureDocument
java.lang.Object
org.deegree.framework.xml.XMLFragment
org.deegree.ogcbase.OGCDocument
org.deegree.ogcwebservices.wfs.operation.AbstractWFSRequestDocument
org.deegree.ogcwebservices.wfs.operation.LockFeatureDocument
- All Implemented Interfaces:
- java.io.Serializable
public class LockFeatureDocument
- extends AbstractWFSRequestDocument
Parser for "wfs:LockFeature" 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
Method Summary |
void |
createEmptyDocument()
Creates a skeleton document that contains the root element and the namespace bindings only. |
LockFeature |
parse(java.lang.String id)
Parses the underlying "wfs:LockFeature" document into a LockFeature object. |
(package private) static long |
parseExpiry(org.w3c.dom.Element root)
Parses the value of the expiry-attribute of the given node. |
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 |
LockFeatureDocument
public LockFeatureDocument()
createEmptyDocument
public void createEmptyDocument()
throws java.io.IOException,
org.xml.sax.SAXException
- Creates a skeleton document that contains the root element and the namespace bindings only.
- Throws:
java.io.IOException
org.xml.sax.SAXException
parse
public LockFeature parse(java.lang.String id)
throws XMLParsingException,
InvalidParameterValueException
- Parses the underlying "wfs:LockFeature" document into a
LockFeature
object.
- Parameters:
id
-
- Returns:
- corresponding
LockFeature
object
- Throws:
XMLParsingException
InvalidParameterValueException
parseExpiry
static long parseExpiry(org.w3c.dom.Element root)
throws XMLParsingException
- Parses the value of the expiry-attribute of the given node.
Handles both the WFS 1.1.0 and the WFS 1.2.0 formats:
- WFS 1.1.0: specified as an xsd:positiveInteger (minutes)
- WFS 1.2.0: specified as an xsd:duration (identified by the leading P in the string)
- Parameters:
root
-
- Returns:
- duration (in milliseconds)
- Throws:
XMLParsingException
an open source project founded by lat/lon, Bonn, Germany.
For more information visit: http://www.deegree.org