|
deegree 2.2 (2008/12/22 11:33 build-3038-official) | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.deegree.ogcwebservices.csw.discovery.Discovery
public class Discovery
The Discovery class allows clients to discover resources registered in a catalogue, by providing
four operations named query
,present
,
describeRecordType
, and getDomain
. This class has a required
association from the Catalogue Service class, and is thus always implemented by all Catalogue
Service implementations. The Session class can be included with the Discovery class, in
associations with the Catalogue Service class. The "e;query"e; and "e;present"e;
operations may be executed in a session or stateful context. If a session context exists, the
dynamic model uses internal states of the session and the allowed transitions between states.
When the "e;query"e; and "e;present"e; state does not include a session between a
server and a client, any memory or shared information between the client and the server may be
based on private understandings or features available in the protocol binding. The
describeRecordType and getDomain operations do not require a session context.
Constructor Summary | |
---|---|
Discovery(WFService wfsService,
CatalogueConfiguration cswConfiguration)
|
Method Summary | |
---|---|
DescribeRecordResult |
describeRecordType(DescribeRecord request)
Performs the submitted DescribeRecord -request. |
DomainValues |
getDomain(GetDomain request)
|
GetRecordByIdResult |
query(GetRecordById getRecordById)
Performs a GetRecordById request. |
GetRecordsResult |
query(GetRecords getRecords)
Performs a GetRecords request. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public Discovery(WFService wfsService, CatalogueConfiguration cswConfiguration)
wfsService
- to contactcswConfiguration
- of this serviceMethod Detail |
---|
public DescribeRecordResult describeRecordType(DescribeRecord request) throws OGCWebServiceException
DescribeRecord
-request.
TODO: Check output schema & Co.
request
-
OGCWebServiceException
public DomainValues getDomain(GetDomain request)
request
- which is not handled
public GetRecordsResult query(GetRecords getRecords) throws OGCWebServiceException
GetRecords
request.
This involves the following steps:
GetRecords
->GetRecordsDocument
GetRecordsDocument
->GetFeatureDocument
using XSLTGetFeatureDocument
->GetFeature
GetFeature
request is performed against the underlying WFSFeatureResult
object (which contains a
FeatureCollection
)FeatureCollection
-> GMLFeatureCollectionDocument (as a String)GetRecordsResultDocument
using
XSLTGetRecordsResultDocument
->GetRecordsResult
getRecords
-
OGCWebServiceException
public GetRecordByIdResult query(GetRecordById getRecordById) throws OGCWebServiceException
GetRecordById
request.
This involves the following steps:
GetRecordById
->GetRecordByIdDocument
GetRecordByIdDocument
->GetFeatureDocument
using XSLTGetFeatureDocument
->GetFeature
GetFeature
request is performed against the underlying WFSFeatureResult
object (which contains a
FeatureCollection
)FeatureCollection
-> GMLFeatureCollectionDocument (as a String)GetRecordsResultDocument
using
XSLTGetRecordsResultDocument
->GetRecordsResult
getRecordById
-
OGCWebServiceException
|
deegree 2.2 (2008/12/22 11:33 build-3038-official) | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
an open source project founded by lat/lon, Bonn, Germany.
For more information visit: http://deegree.sourceforge.net