|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.deegree_impl.clients.wcasclient.control.ISO19115RequestFactory
class for creating a get GetRecord Request against a catalog based on OGC Stateless Web Service Catalog Profil and GDI NRW catalog specifications to access data metadata (ISO 19115).
The only public method of the class receives a 'model' represented by a HashMap that contains the request parameters as name-vailue-pairs. The names corresponds to the formular-field-names. For common this will be the fields of a HTML-form but it can be any other form (e.g. swing-application)
--------------------------------------------------------------------
Field Summary | |
private static CSWClientConfiguration |
conf
|
private static RPCStruct |
struct
|
private static char |
WILDCARD
|
Constructor Summary | |
ISO19115RequestFactory()
|
Method Summary | |
private static java.lang.String |
buildRequest(java.lang.String filter)
second step to create Request: take filter and build request |
private static java.lang.String |
createFilterEncoding()
takes RequestModel and builds a String result out of it. |
private static java.lang.String |
createGMLBox(GM_Envelope bbox)
|
private static Operation |
createOperation(int opId,
java.lang.String prop,
java.lang.Object value)
|
private static java.lang.String |
createQuery(java.lang.String filter)
create Query expression using input params |
static java.lang.String |
createRequest(RPCStruct struct)
creates a GetRecord request that is conform to the OGC Stateless Web Service Catalog Profil and GDI NRW catalog specifications from a RPC struct. |
private static java.lang.String |
handleBbox()
Build OGC Filterencoding fragment: use WCASRequestmodel field geographicBox to create Comparison Operation. |
private static java.lang.String |
handleDate()
Build OGC Filterencoding fragment: use WCASRequestmodel fields dateFrom to create
Comparison Operation. |
private static java.lang.String |
handleFileIdentifier()
Build OGC Filterencoding fragment: use WCASRequestmodel field fileIdentifier to create
Comparison Operation. |
private static java.lang.String |
handleFreeSearch()
Spread WCASRequestmodel field terms to several Comparison
Operations with pre-defined Property names. |
private static java.lang.String |
handleKeywords()
Build OGC Filterencoding fragment: Spread WCASRequestmodel field keywords to one
Comparison Operations. |
private static java.lang.String |
handleParentIdentifier()
Build OGC Filterencoding fragment: use WCASRequestmodel field parentIdentifier to create
Comparison Operation. |
private static java.lang.String |
handleTopiccategory()
Build OGC Filterencoding fragment: for WCASRequestmodel field topiccategory. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
private static final char WILDCARD
private static RPCStruct struct
private static CSWClientConfiguration conf
Constructor Detail |
public ISO19115RequestFactory()
Method Detail |
public static java.lang.String createRequest(RPCStruct struct) throws CatalogClientException
struct
- RPC structure containing the request parameter
CatalogClientException
private static java.lang.String createFilterEncoding() throws CatalogClientException
CatalogClientException
private static java.lang.String handleFileIdentifier() throws CatalogClientException
WCASRequestmodel
field fileIdentifier to create
Comparison Operation.
CatalogClientException
private static java.lang.String handleParentIdentifier() throws CatalogClientException
WCASRequestmodel
field parentIdentifier to create
Comparison Operation.
CatalogClientException
private static java.lang.String handleFreeSearch() throws CatalogClientException
WCASRequestmodel
field terms to several Comparison
Operations with pre-defined Property names.
CatalogClientException
private static java.lang.String handleTopiccategory() throws CatalogClientException
WCASRequestmodel
field topiccategory.
CatalogClientException
private static java.lang.String handleKeywords() throws CatalogClientException
WCASRequestmodel
field keywords to one
Comparison Operations.
CatalogClientException
private static java.lang.String handleDate() throws CatalogClientException
WCASRequestmodel
fields dateFrom to create
Comparison Operation.
CatalogClientException
private static java.lang.String handleBbox() throws CatalogClientException
WCASRequestmodel
field geographicBox to create Comparison Operation.
CatalogClientException
private static java.lang.String createGMLBox(GM_Envelope bbox)
bbox
- bounding box to be used as filter condition
private static Operation createOperation(int opId, java.lang.String prop, java.lang.Object value)
private static java.lang.String buildRequest(java.lang.String filter) throws CatalogClientException
CatalogClientException
private static java.lang.String createQuery(java.lang.String filter)
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |