public class StrictWFS_2_0_Strategy extends AbstractWFSStrategy
| Constructor and Description |
|---|
StrictWFS_2_0_Strategy() |
| Modifier and Type | Method and Description |
|---|---|
protected Map<String,String> |
buildDescribeFeatureTypeParametersForGET(Map<String,String> kvp,
QName typeName) |
protected Map<String,String> |
buildGetFeatureParametersForGET(GetFeatureRequest query) |
boolean |
canLimit() |
protected AbstractTransactionActionType |
createDelete(Wfs20Factory factory,
TransactionRequest.Delete elem) |
protected EObject |
createDescribeFeatureTypeRequestPost(DescribeFeatureTypeRequest request)
Creates the EMF object to be encoded with the
WFS
configuration when a DescribeFeatureType POST request is to be made. |
protected EObject |
createDescribeStoredQueriesRequestPost(DescribeStoredQueriesRequest request) |
protected EObject |
createGetFeatureRequestPost(GetFeatureRequest query)
Creates the EMF object to be encoded with the
WFS
configuration when a GetFeature POST request is to be made. |
protected AbstractTransactionActionType |
createInsert(Wfs20Factory factory,
TransactionRequest.Insert elem) |
protected EObject |
createListStoredQueriesRequestPost(ListStoredQueriesRequest request) |
protected EObject |
createTransactionRequest(TransactionRequest request)
Creates the EMF object to be encoded with the
WFS
configuration when a Transaction request is to be made. |
protected AbstractTransactionActionType |
createUpdate(Wfs20Factory factory,
TransactionRequest.Update elem) |
protected Set<String> |
findParameters(OperationType operationMetadata,
String parameterName) |
List<String> |
getClientSupportedOutputFormats(WFSOperationType operation) |
FeatureTypeInfo |
getFeatureTypeInfo(QName typeName)
Returns the feature type metadata object parsed from the capabilities document for the given
typeName |
Set<QName> |
getFeatureTypeNames()
Returns the set of type names as extracted from the capabilities document, including the
namespace and prefix.
|
FilterCapabilities |
getFilterCapabilities()
Returns the parsed version of the FilterCapabilities section in the capabilities document
|
Configuration |
getFilterConfiguration()
Returns the xml configuration used to encode a filter at
AbstractWFSStrategy.encodeGetFeatureGetFilter(Filter) |
protected OperationType |
getOperationMetadata(WFSOperationType operation) |
protected QName |
getOperationName(WFSOperationType operation)
Used by
AbstractWFSStrategy.getPostContents(WFSRequest) to get the qualified operation name to encode;
different WFS versions may use different operation names (specially namespaces). |
protected String |
getOperationURI(WFSOperationType operation,
HttpMethod method) |
Set<String> |
getServerSupportedOutputFormats(QName typeName,
WFSOperationType operation) |
Set<String> |
getServerSupportedOutputFormats(WFSOperationType operation) |
WFSServiceInfo |
getServiceInfo() |
Version |
getServiceVersion()
Returns the WFS protocol version this facade talks to the WFS instance.
|
Set<String> |
getSupportedCRSIdentifiers(QName typeName)
Returns the union of the default CRS and the other supported CRS's of the given feature type
as declared in the corresponding FeatureType element in the capabilities document, as well as
any globally supported CRS identifier declared as a parameter of the GetFeature oepration in
the capabilities document.
|
Configuration |
getWfsConfiguration()
Returns the xml configuration used to encode all POST requests.
|
void |
setCapabilities(WFSGetCapabilities capabilities) |
boolean |
supports(GetFeatureRequest.ResultType resultType) |
boolean |
supportsTransaction(QName typeName) |
buildDescribeFeatureTypeParametersForGET, buildDescribeStoredQueriesParametersForGET, buildListStoredQueriesParametersForGET, buildUrlGET, createGetCapabilitiesRequest, dispose, encodeGetFeatureGetFilter, encodePropertyName, getConfig, getDefaultOutputFormat, getFieldTypeMappings, getOperationURL, getPostContents, getPostContentType, getPrefixedTypeName, getVersion, prepareEncoder, setConfig, simplify, splitFilters, supportsOperationnewRequestHandlepublic Configuration getFilterConfiguration()
AbstractWFSStrategyAbstractWFSStrategy.encodeGetFeatureGetFilter(Filter)getFilterConfiguration in class AbstractWFSStrategypublic Configuration getWfsConfiguration()
AbstractWFSStrategygetWfsConfiguration in class AbstractWFSStrategyAbstractWFSStrategy.getPostContents(WFSRequest)protected QName getOperationName(WFSOperationType operation)
AbstractWFSStrategyAbstractWFSStrategy.getPostContents(WFSRequest) to get the qualified operation name to encode;
different WFS versions may use different operation names (specially namespaces).getOperationName in class AbstractWFSStrategypublic void setCapabilities(WFSGetCapabilities capabilities)
setCapabilities in class WFSStrategypublic WFSServiceInfo getServiceInfo()
getServiceInfo in class WFSStrategypublic boolean supports(GetFeatureRequest.ResultType resultType)
supports in class WFSStrategypublic boolean canLimit()
canLimit in class WFSStrategypublic Version getServiceVersion()
WFSStrategygetServiceVersion in class AbstractWFSStrategyWFSStrategy.getServiceVersion()public Set<QName> getFeatureTypeNames()
WFSStrategygetFeatureTypeNames in class WFSStrategyWFSStrategy.getFeatureTypeNames()public FeatureTypeInfo getFeatureTypeInfo(QName typeName)
WFSStrategytypeNamegetFeatureTypeInfo in class WFSStrategytypeName - the typeName as stated in the capabilities FeatureTypeList to get the
info fortypeNameWFSStrategy.getFeatureTypeInfo(javax.xml.namespace.QName)public FilterCapabilities getFilterCapabilities()
WFSStrategygetFilterCapabilities in class WFSStrategyFilterCapabilities out of the FilterCapabilities section in the
getcapabilities documentprotected Map<String,String> buildGetFeatureParametersForGET(GetFeatureRequest query)
buildGetFeatureParametersForGET in class AbstractWFSStrategyprotected Map<String,String> buildDescribeFeatureTypeParametersForGET(Map<String,String> kvp, QName typeName)
buildDescribeFeatureTypeParametersForGET in class AbstractWFSStrategyprotected EObject createDescribeFeatureTypeRequestPost(DescribeFeatureTypeRequest request)
AbstractWFSStrategyWFS
configuration when a DescribeFeatureType POST request is to be made.createDescribeFeatureTypeRequestPost in class AbstractWFSStrategyprotected EObject createGetFeatureRequestPost(GetFeatureRequest query) throws IOException
AbstractWFSStrategyWFS
configuration when a GetFeature POST request is to be made.createGetFeatureRequestPost in class AbstractWFSStrategyIOExceptionprotected EObject createListStoredQueriesRequestPost(ListStoredQueriesRequest request) throws IOException
createListStoredQueriesRequestPost in class AbstractWFSStrategyIOExceptionprotected EObject createDescribeStoredQueriesRequestPost(DescribeStoredQueriesRequest request) throws IOException
createDescribeStoredQueriesRequestPost in class AbstractWFSStrategyIOExceptionprotected EObject createTransactionRequest(TransactionRequest request) throws IOException
AbstractWFSStrategyWFS
configuration when a Transaction request is to be made.createTransactionRequest in class AbstractWFSStrategyIOExceptionprotected String getOperationURI(WFSOperationType operation, HttpMethod method)
getOperationURI in class AbstractWFSStrategypublic Set<String> getServerSupportedOutputFormats(WFSOperationType operation)
getServerSupportedOutputFormats in class WFSStrategypublic Set<String> getServerSupportedOutputFormats(QName typeName, WFSOperationType operation)
getServerSupportedOutputFormats in class WFSStrategytypeName - the feature type name for which to return the supported output formatspublic List<String> getClientSupportedOutputFormats(WFSOperationType operation)
getClientSupportedOutputFormats in class WFSStrategypublic boolean supportsTransaction(QName typeName)
supportsTransaction in class WFSStrategyprotected OperationType getOperationMetadata(WFSOperationType operation)
getServerSupportedOutputFormats(WFSOperationType)public Set<String> getSupportedCRSIdentifiers(QName typeName)
WFSStrategygetSupportedCRSIdentifiers in class WFSStrategytypeName - the featuretype name as declared in the FeatureType/Name element of the WFS
capabilitiesprotected Set<String> findParameters(OperationType operationMetadata, String parameterName)
protected AbstractTransactionActionType createInsert(Wfs20Factory factory,
TransactionRequest.Insert elem)
throws Exception
Exceptionprotected AbstractTransactionActionType createUpdate(Wfs20Factory factory,
TransactionRequest.Update elem)
throws Exception
Exceptionprotected AbstractTransactionActionType createDelete(Wfs20Factory factory,
TransactionRequest.Delete elem)
throws Exception
ExceptionCopyright © 1996–2021 Geotools. All rights reserved.