|
deegree 2.5 (2011/06/29 09:44 build-8-official) | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.deegree.ogcwebservices.OGCRequestFactory
public class OGCRequestFactory
Factory for generating request objects for OGC Web Services.
Requests may be generated from KVP or DOM representations. Also contains methods that decide whether an incoming request representation is valid for a certain service.
Currently supported services are:
Field Summary | |
---|---|
static java.lang.String |
CSW_SERVICE_NAME_EBRIM
The service name of a getRepositoryItem request, only valid for the csw/ebrim. |
Constructor Summary | |
---|---|
OGCRequestFactory()
|
Method Summary | |
---|---|
static OGCWebServiceRequest |
create(javax.servlet.ServletRequest request)
Creates an OGCWebServiceRequest from the content contained within the passed request. |
static OGCWebServiceRequest |
createFromKVP(java.util.Map<java.lang.String,java.lang.String> map)
Creates an instance of an AbstractOGCWebServiceRequest from the passed KVP encoded request. |
static OGCWebServiceRequest |
createFromXML(org.w3c.dom.Document doc)
Creates an instance of an AbstractOGCWebServiceRequest from the passed DOM object. |
static java.lang.String |
getTargetService(java.lang.String service,
java.lang.String request,
org.w3c.dom.Document doc)
return the type of service the passed request targets |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
public static final java.lang.String CSW_SERVICE_NAME_EBRIM
Constructor Detail |
---|
public OGCRequestFactory()
Method Detail |
---|
public static OGCWebServiceRequest create(javax.servlet.ServletRequest request) throws OGCWebServiceException
OGCWebServiceRequest
from the content contained within the passed request.
request
-
OGCWebServiceException
public static OGCWebServiceRequest createFromXML(org.w3c.dom.Document doc) throws OGCWebServiceException
AbstractOGCWebServiceRequest
from the passed DOM object. Supported OWS are
'WMS', 'WFS', 'WCS' and 'CSW'. If a request for another service is passed or a request that isn't supported by
one of the listed services an exception will be thrown.
doc
-
OGCWebServiceException
public static OGCWebServiceRequest createFromKVP(java.util.Map<java.lang.String,java.lang.String> map) throws OGCWebServiceException
AbstractOGCWebServiceRequest
from the passed KVP encoded request.
Supported OWS are 'WMS', 'WFS', 'WCS' and 'CSW'. If a request for another service is passed or a request that
isn't supported by one of the listed services an exception will be thrown.
map
-
OGCWebServiceException
public static java.lang.String getTargetService(java.lang.String service, java.lang.String request, org.w3c.dom.Document doc)
service
- request
- doc
-
|
deegree 2.5 (2011/06/29 09:44 build-8-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://www.deegree.org