org.deegree.ogcwebservices.csw.discovery
Class DescribeRecordDocument
java.lang.Object
org.deegree.framework.xml.XMLFragment
org.deegree.ogcbase.OGCDocument
org.deegree.ogcwebservices.csw.AbstractCSWRequestDocument
org.deegree.ogcwebservices.csw.discovery.DescribeRecordDocument
- All Implemented Interfaces:
- java.io.Serializable
- Direct Known Subclasses:
- DescribeRecordDocument_2_0_2
public class DescribeRecordDocument
- extends AbstractCSWRequestDocument
Represents an XML DescribeRecord document of an OGC CSW 2.0 compliant service.
- Since:
- 2.0
- Version:
- 2.0, $Revision: 18195 $, $Date: 2009-06-18 17:55:39 +0200 (Do, 18 Jun 2009) $
- Author:
- Torsten Friebe , Markus Schneider , last edited by: $Author: mschneider $
- See Also:
- Serialized Form
Method Summary |
(package private) void |
createEmptyDocument()
|
DescribeRecord |
parse(java.lang.String id)
Extracts a DescribeRecord representation of this object. |
protected java.lang.String |
parseTypeName(org.w3c.dom.Element root)
Parses a TypeName element into a QualifiedName . |
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 |
DescribeRecordDocument
public DescribeRecordDocument()
parse
public DescribeRecord parse(java.lang.String id)
throws MissingParameterValueException,
InvalidParameterValueException,
OGCWebServiceException
- Extracts a
DescribeRecord
representation of this object.
TODO use QualifiedName for type names
- Parameters:
id
- unique ID of the request
- Returns:
- the new instance
- Throws:
MissingParameterValueException
InvalidParameterValueException
OGCWebServiceException
parseTypeName
protected java.lang.String parseTypeName(org.w3c.dom.Element root)
throws XMLParsingException
- Parses a
TypeName
element into a QualifiedName
.
TODO respect "targetNamespace" attribute and really return a QualifiedName
.
- Returns:
- the type name
- Throws:
XMLParsingException
createEmptyDocument
void createEmptyDocument()
throws java.io.IOException,
org.xml.sax.SAXException
- Throws:
java.io.IOException
org.xml.sax.SAXException
an open source project founded by lat/lon, Bonn, Germany.
For more information visit: http://www.deegree.org