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:
- 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
GetRepositoryItem
public GetRepositoryItem(String id,
String version,
Map<String,String> vendorSpecificParameters,
URI reposItem)
- Creates a new
GetRepositoryItem
instance.
- Parameters:
id
- version
- vendorSpecificParameters
- reposItem
- some uri identifying some ebrim extrinsic object
GetRepositoryItem
public GetRepositoryItem(String id,
String version)
- Parameters:
id
- of the requestversion
- of the csw
create
public static GetRepositoryItem create(Map<String,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 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 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