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

org.deegree.ogcwebservices.csw.discovery
Class GetRecordsResultDocument

java.lang.Object
  extended by org.deegree.framework.xml.XMLFragment
      extended by org.deegree.ogcwebservices.csw.discovery.GetRecordsResultDocument
All Implemented Interfaces:
java.io.Serializable

public class GetRecordsResultDocument
extends XMLFragment

Represents an XML GetRecordsResponse document of an OGC CSW 2.0 compliant service.

The <GetRecordsResponse> element is a container for the response of the GetRecords operation. Three levels of detail may be contained in the response document.

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.framework.xml.XMLFragment
DEFAULT_URL, nsContext, XLNNS
 
Constructor Summary
GetRecordsResultDocument()
           
GetRecordsResultDocument(java.lang.String version)
           
 
Method Summary
 void createEmptyDocument()
          creates an emtpy document as defined by the template
 GetRecordsResult parseGetRecordsResponse(GetRecords request)
          Extracts a GetRecordsResult representation of this object.
 
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

GetRecordsResultDocument

public GetRecordsResultDocument()

GetRecordsResultDocument

public GetRecordsResultDocument(java.lang.String version)
Parameters:
version -
Method Detail

parseGetRecordsResponse

public GetRecordsResult parseGetRecordsResponse(GetRecords request)
                                         throws MissingParameterValueException,
                                                InvalidParameterValueException,
                                                OGCWebServiceException
Extracts a GetRecordsResult representation of this object.

Parameters:
request -
Returns:
the actual GetRecordResult as a bean.
Throws:
MissingParameterValueException
InvalidParameterValueException
OGCWebServiceException

createEmptyDocument

public void createEmptyDocument()
                         throws java.io.IOException,
                                org.xml.sax.SAXException
creates an emtpy document as defined by the template

Throws:
java.io.IOException - if the template could not be found
org.xml.sax.SAXException - if an error occurs while creating the rootnode.

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