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

org.deegree.ogcwebservices.csw.discovery
Class GetRepositoryItem

java.lang.Object
  extended by org.deegree.ogcwebservices.AbstractOGCWebServiceRequest
      extended by org.deegree.ogcwebservices.csw.AbstractCSWRequest
          extended by org.deegree.ogcwebservices.csw.discovery.GetRepositoryItem
All Implemented Interfaces:
java.io.Serializable, OGCWebServiceRequest

public class GetRepositoryItem
extends AbstractCSWRequest

The GetRepositoryItem class encapsulates the data of a request for a repository item.

Version:
$Revision:$, $Date:$
Author:
Rutger Bezema, last edited by: $Author:$
See Also:
Serialized Form

Constructor Summary
GetRepositoryItem(java.lang.String id, java.lang.String version)
           
GetRepositoryItem(java.lang.String id, java.lang.String version, java.util.Map<java.lang.String,java.lang.String> vendorSpecificParameters, java.net.URI reposItem)
          Creates a new GetRepositoryItem instance.
 
Method Summary
static GetRepositoryItem create(java.util.Map<java.lang.String,java.lang.String> kvp)
          Creates a new GetRepositoryItem instance from the values stored in the submitted Map.
 java.net.URI getRepositoryItemID()
           
 java.lang.String getServiceName()
          returns 'CSW' as service name
 
Methods inherited from class org.deegree.ogcwebservices.csw.AbstractCSWRequest
getNSMappings
 
Methods inherited from class org.deegree.ogcwebservices.AbstractOGCWebServiceRequest
getId, getParam, getParamAsInt, getParamValues, getRequestParameter, getRequiredParam, getVendorSpecificParameter, getVendorSpecificParameters, getVersion, toString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

GetRepositoryItem

public GetRepositoryItem(java.lang.String id,
                         java.lang.String version,
                         java.util.Map<java.lang.String,java.lang.String> vendorSpecificParameters,
                         java.net.URI reposItem)
Creates a new GetRepositoryItem instance.

Parameters:
id -
version -
vendorSpecificParameters -
reposItem - some uri identifying some ebrim extrinsic object

GetRepositoryItem

public GetRepositoryItem(java.lang.String id,
                         java.lang.String version)
Parameters:
id - of the request
version - of the csw
Method Detail

create

public static GetRepositoryItem create(java.util.Map<java.lang.String,java.lang.String> kvp)
                                throws OGCWebServiceException
Creates a new GetRepositoryItem instance from the values stored in the submitted Map. Keys (parameter names) in the Map must be uppercase.

Parameters:
kvp - Map containing the parameters
Returns:
a GetRepositoryItem instance with given id and values from the kvp
Throws:
OGCWebServiceException
To do:
evaluate vendorSpecificParameter

getServiceName

public java.lang.String getServiceName()
Description copied from class: AbstractCSWRequest
returns 'CSW' as service name

Specified by:
getServiceName in interface OGCWebServiceRequest
Overrides:
getServiceName in class AbstractCSWRequest
Returns:
the value 'urn:x-ogc:specification:cswebrim:Service:OGC-CSW:ebRIM'

getRepositoryItemID

public java.net.URI getRepositoryItemID()
Returns:
the requested repository Item's id.

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