org.deegree.services.csw.getrecords
Class GetRecords
java.lang.Object
org.deegree.services.csw.AbstractCSWRequest
org.deegree.services.csw.getrecords.GetRecords
public class GetRecords
- extends AbstractCSWRequest
Represents a GetRecords
request to a CSW.
- Version:
- $Revision: $, $Date: $
- Author:
- Steffen Thomas, last edited by: $Author: thomas $
Constructor Summary |
GetRecords(Version version,
NamespaceBindings namespaces,
String outputFormat,
CSWConstants.ResultType resultType,
String requestId,
URI outputSchema,
int startPosition,
int maxRecords,
boolean distributedSearch,
int hopCount,
String responseHandler,
AdhocQuery adhocQuery,
org.apache.axiom.om.OMElement holeRequest)
|
GetRecords(Version version,
NamespaceBindings namespaces,
String outputFormat,
CSWConstants.ResultType resultType,
String requestId,
URI outputSchema,
int startPosition,
int maxRecords,
boolean distributedSearch,
int hopCount,
String responseHandler,
Query query,
org.apache.axiom.om.OMElement holeRequest)
Creates a new GetRecords request. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
GetRecords
public GetRecords(Version version,
NamespaceBindings namespaces,
String outputFormat,
CSWConstants.ResultType resultType,
String requestId,
URI outputSchema,
int startPosition,
int maxRecords,
boolean distributedSearch,
int hopCount,
String responseHandler,
Query query,
org.apache.axiom.om.OMElement holeRequest)
- Creates a new
GetRecords
request.
- Parameters:
version
- protocol versionnamespaces
- outputFormat
- controls the format of the output regarding to a MIME-type (default: application/xml)resultType
- mode of the response that is requestedrequestId
- UUIDoutputSchema
- indicates the schema of the output (default: http://www.opengis.net/cat/csw/2.0.2)startPosition
- used to specify at which position should be startedmaxRecords
- defines the maximum number of records that should be returneddistributedSearch
- hopCount
- responseHandler
- query
- the query of the GetRecords request, never null
holeRequest
-
GetRecords
public GetRecords(Version version,
NamespaceBindings namespaces,
String outputFormat,
CSWConstants.ResultType resultType,
String requestId,
URI outputSchema,
int startPosition,
int maxRecords,
boolean distributedSearch,
int hopCount,
String responseHandler,
AdhocQuery adhocQuery,
org.apache.axiom.om.OMElement holeRequest)
getRequestId
public String getRequestId()
- Returns:
- the requestId
getOutputSchema
public URI getOutputSchema()
- Returns:
- the outputSchema
getStartPosition
public int getStartPosition()
- Returns:
- the startPosition
getMaxRecords
public int getMaxRecords()
- Returns:
- the maxRecords
isDistributedSearch
public boolean isDistributedSearch()
- Returns:
- the distributedSearch
getHopCount
public int getHopCount()
- Returns:
- the hopCount
getResponseHandler
public String getResponseHandler()
- Returns:
- the responseHandler
getResultType
public CSWConstants.ResultType getResultType()
- Returns:
- the resultType
getQuery
public Query getQuery()
- Returns the query.
- Returns:
- query, can be
null
(if an AdhocQuery is used)
getAdhocQuery
public AdhocQuery getAdhocQuery()
- Returns:
- the query
getXMLRequest
public org.apache.axiom.om.OMElement getXMLRequest()
- Returns:
- the holeRequest
Copyright © 2011. All Rights Reserved.