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: 
 - Serializable
 
public class LockFeatureDocument
- extends AbstractWFSRequestDocument
 
Parser for "wfs:LockFeature" requests.
- Version:
 
  - $Revision: 18195 $, $Date: 2009-06-18 17:55:39 +0200 (Thu, 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(String id)
 
          Parses the underlying "wfs:LockFeature" document into a LockFeature object. | 
(package private) static long | 
parseExpiry(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 | 
 
 
LockFeatureDocument
public LockFeatureDocument()
createEmptyDocument
public void createEmptyDocument()
                         throws IOException,
                                SAXException
- Creates a skeleton document that contains the root element and the namespace bindings only.
- Throws:
 IOException
SAXException
 
 
parse
public LockFeature parse(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(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