deegree 2.3 (2010/04/09 10:10 build-4-official)

org.deegree.owscommon_1_1_0.operations
Class GetResourceByIDDocument

java.lang.Object
  extended by org.deegree.framework.xml.XMLFragment
      extended by org.deegree.owscommon_1_1_0.operations.GetResourceByIDDocument
All Implemented Interfaces:
Serializable
Direct Known Subclasses:
GetResourceByIDDocument

public class GetResourceByIDDocument
extends XMLFragment

GetResourceByID supplies the methods for parsing the ows 1.1.0 GetResourceById xml-dom structure.

Version:
$Revision: 18195 $, $Date: 2009-06-18 17:55:39 +0200 (Do, 18. Jun 2009) $
Author:
Rutger Bezema, last edited by: $Author: mschneider $
See Also:
Serialized Form

Field Summary
 
Fields inherited from class org.deegree.framework.xml.XMLFragment
DEFAULT_URL, nsContext, XLNNS
 
Constructor Summary
GetResourceByIDDocument()
           
 
Method Summary
 String parseOutputFormats()
           
 List<String> parseResourceIDs()
           
 String parseService()
           
 String parseVersion()
           
 
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

GetResourceByIDDocument

public GetResourceByIDDocument()
Method Detail

parseResourceIDs

public List<String> parseResourceIDs()
                              throws XMLParsingException
Returns:
a list of resourceID uri's or an empty list if no resourceID's were given.
Throws:
XMLParsingException - if the node could not be parsed.

parseOutputFormats

public String parseOutputFormats()
                          throws XMLParsingException
Returns:
a String containing an output format (mime-type) or an empty String if no output format was given.
Throws:
XMLParsingException - if the node could not be parsed.

parseVersion

public String parseVersion()
                    throws XMLParsingException
Returns:
the mandatory version string.
Throws:
XMLParsingException - if the attribute was not given.

parseService

public String parseService()
                    throws XMLParsingException
Returns:
the mandatory service string.
Throws:
XMLParsingException - if the attribute was not given.

deegree 2.3 (2010/04/09 10:10 build-4-official)

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