|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.deegree_impl.services.gazetteer.protocol.WFSGProtocolFactory
Field Summary | |
private static java.lang.String |
DESCRIBEFEATURE
|
private static java.lang.String |
GETCAPABILITIES
|
private static java.lang.String |
GETFEATURE
|
private static WFSNative |
NATIVE_
|
private static java.lang.String |
ogcNS
|
private static java.lang.String |
TRANSACTION
|
private static java.util.HashMap |
VENDORSPECIFICPARAMETER
|
private static java.lang.String |
WFS_VERSION
|
private static java.lang.String |
wfsNS
|
Constructor Summary | |
WFSGProtocolFactory()
|
Method Summary | |
static OGCWebServiceRequest |
createRequest(java.lang.String id,
java.io.Reader reader)
creates a WFS request from a reader that contains an XML encoded form of the request |
static WFSGDescribeFeatureTypeRequest |
createWFSGDescribeFeatureTypeRequest(java.lang.String id,
org.w3c.dom.Document doc)
|
static WFSGDescribeFeatureTypeRequest |
createWFSGDescribeFeatureTypeRequest(java.lang.String version,
java.lang.String id,
java.util.HashMap vendorSpecificParameter,
WFSNative native_,
java.lang.String outputFormat,
java.lang.String[] typeNames)
creates a WFSDescribeFeatureTypeRequest object. |
static WFSGGetCapabilitiesRequest |
createWFSGGetCapabilitiesRequest(java.lang.String id)
|
static WFSGGetCapabilitiesResponse |
createWFSGGetCapabilitiesResponse(WFSGGetCapabilitiesRequest request,
org.w3c.dom.Document exception)
|
static WFSGGetCapabilitiesResponse |
createWFSGGetCapabilitiesResponse(WFSGGetCapabilitiesRequest request,
WFSGCapabilities capa)
|
static WFSGGetFeatureRequest |
createWFSGGetFeatureRequest(java.lang.String id,
org.w3c.dom.Document doc)
|
static WFSGGetFeatureResponse |
createWFSGGetFeatureResponse(OGCWebServiceRequest request,
java.lang.String[] affectedFeatureTypes,
OGCWebServiceException exception,
java.lang.Object response)
creates a WFSGetFeatureResponse object |
static Filter |
getFilter(org.w3c.dom.Element element)
returns the filter that limits the query |
static WFSNative |
getNative(org.w3c.dom.Element element)
The |
private static java.lang.String[] |
getPropertyNames(org.w3c.dom.Element element)
The property names is used to enumerate the feature properties or attributes that should be selected. |
private static WFSQuery[] |
getQuery(org.w3c.dom.Element element)
The query defines which feature type to query, what properties to retrieve and what constraints (spatial and non-spatial) to apply to those properties. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
private static final java.lang.String wfsNS
private static final java.lang.String ogcNS
private static final java.lang.String GETCAPABILITIES
private static final java.lang.String DESCRIBEFEATURE
private static final java.lang.String GETFEATURE
private static final java.lang.String TRANSACTION
private static final java.lang.String WFS_VERSION
private static final java.util.HashMap VENDORSPECIFICPARAMETER
private static final WFSNative NATIVE_
Constructor Detail |
public WFSGProtocolFactory()
Method Detail |
public static OGCWebServiceRequest createRequest(java.lang.String id, java.io.Reader reader) throws InconsistentRequestException, GazetteerException, java.io.IOException, org.xml.sax.SAXException
id
- reader
-
InconsistentRequestException
GazetteerException
java.io.IOException
org.xml.sax.SAXException
public static WFSGGetCapabilitiesRequest createWFSGGetCapabilitiesRequest(java.lang.String id)
id
-
public static WFSGGetCapabilitiesResponse createWFSGGetCapabilitiesResponse(WFSGGetCapabilitiesRequest request, WFSGCapabilities capa)
request
- capa
-
public static WFSGGetCapabilitiesResponse createWFSGGetCapabilitiesResponse(WFSGGetCapabilitiesRequest request, org.w3c.dom.Document exception)
request
- exception
-
public static WFSGDescribeFeatureTypeRequest createWFSGDescribeFeatureTypeRequest(java.lang.String id, org.w3c.dom.Document doc)
id
-
public static WFSGDescribeFeatureTypeRequest createWFSGDescribeFeatureTypeRequest(java.lang.String version, java.lang.String id, java.util.HashMap vendorSpecificParameter, WFSNative native_, java.lang.String outputFormat, java.lang.String[] typeNames)
id
- id of the requestvendorSpecificParameter
- none standadized parameters as
name-value pairsnative_
- is intended to allow access to vendor specific capabilitiesoutputFormat
- indicates the format the result shall be formatedtypeNames
- names of the feature types that shalle be describedpublic static WFSGGetFeatureRequest createWFSGGetFeatureRequest(java.lang.String id, org.w3c.dom.Document doc) throws InconsistentRequestException, GazetteerException
id
- doc
-
InconsistentRequestException
GazetteerException
private static WFSQuery[] getQuery(org.w3c.dom.Element element) throws GazetteerException
only used for xml-coded requests
element
-
GazetteerException
public static Filter getFilter(org.w3c.dom.Element element) throws FilterConstructionException
FilterConstructionException
public static WFSNative getNative(org.w3c.dom.Element element)
private static java.lang.String[] getPropertyNames(org.w3c.dom.Element element)
public static WFSGGetFeatureResponse createWFSGGetFeatureResponse(OGCWebServiceRequest request, java.lang.String[] affectedFeatureTypes, OGCWebServiceException exception, java.lang.Object response)
request
- a copy of the request that leads to this responseexception
- a describtion of an excetion (only if raised)affectedFeatureTypes
- names of the feature types affected by the
responseresponse
- the response to the request
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |