deegree 2.5 (2011/06/29 09:44 build-8-official)

org.deegree.ogcwebservices.wfs.operation
Class LockFeatureDocument

java.lang.Object
  extended by org.deegree.framework.xml.XMLFragment
      extended by org.deegree.ogcbase.OGCDocument
          extended by org.deegree.ogcwebservices.wfs.operation.AbstractWFSRequestDocument
              extended by 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

Field Summary
 
Fields inherited from class org.deegree.ogcbase.OGCDocument
GMLNS
 
Fields inherited from class org.deegree.framework.xml.XMLFragment
DEFAULT_URL, nsContext, XLNNS
 
Constructor Summary
LockFeatureDocument()
           
 
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.ogcwebservices.wfs.operation.AbstractWFSRequestDocument
checkServiceAttribute, checkVersionAttribute, parseDRMParams, transformToQualifiedNames
 
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
 

Constructor Detail

LockFeatureDocument

public LockFeatureDocument()
Method Detail

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:

Parameters:
root -
Returns:
duration (in milliseconds)
Throws:
XMLParsingException

deegree 2.5 (2011/06/29 09:44 build-8-official)

an open source project founded by lat/lon, Bonn, Germany.
For more information visit: http://www.deegree.org