org.deegree.ogcwebservices.csw.discovery
Class GetRepositoryItem
java.lang.Object
org.deegree.ogcwebservices.AbstractOGCWebServiceRequest
org.deegree.ogcwebservices.csw.AbstractCSWRequest
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 java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
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 requestversion
- of the csw
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.
an open source project founded by lat/lon, Bonn, Germany.
For more information visit: http://www.deegree.org