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, supportsOperation
newRequestHandle
public Configuration getFilterConfiguration()
AbstractWFSStrategy
AbstractWFSStrategy.encodeGetFeatureGetFilter(Filter)
getFilterConfiguration
in class AbstractWFSStrategy
public Configuration getWfsConfiguration()
AbstractWFSStrategy
getWfsConfiguration
in class AbstractWFSStrategy
AbstractWFSStrategy.getPostContents(WFSRequest)
protected QName getOperationName(WFSOperationType operation)
AbstractWFSStrategy
AbstractWFSStrategy.getPostContents(WFSRequest)
to get the qualified operation name to encode;
different WFS versions may use different operation names (specially namespaces).getOperationName
in class AbstractWFSStrategy
public void setCapabilities(WFSGetCapabilities capabilities)
setCapabilities
in class WFSStrategy
public WFSServiceInfo getServiceInfo()
getServiceInfo
in class WFSStrategy
public boolean supports(GetFeatureRequest.ResultType resultType)
supports
in class WFSStrategy
public boolean canLimit()
canLimit
in class WFSStrategy
public Version getServiceVersion()
WFSStrategy
getServiceVersion
in class AbstractWFSStrategy
WFSStrategy.getServiceVersion()
public Set<QName> getFeatureTypeNames()
WFSStrategy
getFeatureTypeNames
in class WFSStrategy
WFSStrategy.getFeatureTypeNames()
public FeatureTypeInfo getFeatureTypeInfo(QName typeName)
WFSStrategy
typeName
getFeatureTypeInfo
in class WFSStrategy
typeName
- the typeName as stated in the capabilities FeatureTypeList
to get the
info fortypeName
WFSStrategy.getFeatureTypeInfo(javax.xml.namespace.QName)
public FilterCapabilities getFilterCapabilities()
WFSStrategy
getFilterCapabilities
in class WFSStrategy
FilterCapabilities
out of the FilterCapabilities section in the
getcapabilities documentprotected Map<String,String> buildGetFeatureParametersForGET(GetFeatureRequest query)
buildGetFeatureParametersForGET
in class AbstractWFSStrategy
protected Map<String,String> buildDescribeFeatureTypeParametersForGET(Map<String,String> kvp, QName typeName)
buildDescribeFeatureTypeParametersForGET
in class AbstractWFSStrategy
protected EObject createDescribeFeatureTypeRequestPost(DescribeFeatureTypeRequest request)
AbstractWFSStrategy
WFS
configuration
when a DescribeFeatureType POST request is to be made.createDescribeFeatureTypeRequestPost
in class AbstractWFSStrategy
protected EObject createGetFeatureRequestPost(GetFeatureRequest query) throws IOException
AbstractWFSStrategy
WFS
configuration
when a GetFeature POST request is to be made.createGetFeatureRequestPost
in class AbstractWFSStrategy
IOException
protected EObject createListStoredQueriesRequestPost(ListStoredQueriesRequest request) throws IOException
createListStoredQueriesRequestPost
in class AbstractWFSStrategy
IOException
protected EObject createDescribeStoredQueriesRequestPost(DescribeStoredQueriesRequest request) throws IOException
createDescribeStoredQueriesRequestPost
in class AbstractWFSStrategy
IOException
protected EObject createTransactionRequest(TransactionRequest request) throws IOException
AbstractWFSStrategy
WFS
configuration
when a Transaction request is to be made.createTransactionRequest
in class AbstractWFSStrategy
IOException
protected String getOperationURI(WFSOperationType operation, HttpMethod method)
getOperationURI
in class AbstractWFSStrategy
public Set<String> getServerSupportedOutputFormats(WFSOperationType operation)
getServerSupportedOutputFormats
in class WFSStrategy
public Set<String> getServerSupportedOutputFormats(QName typeName, WFSOperationType operation)
getServerSupportedOutputFormats
in class WFSStrategy
typeName
- the feature type name for which to return the supported output formatspublic List<String> getClientSupportedOutputFormats(WFSOperationType operation)
getClientSupportedOutputFormats
in class WFSStrategy
public boolean supportsTransaction(QName typeName)
supportsTransaction
in class WFSStrategy
protected OperationType getOperationMetadata(WFSOperationType operation)
getServerSupportedOutputFormats(WFSOperationType)
public Set<String> getSupportedCRSIdentifiers(QName typeName)
WFSStrategy
getSupportedCRSIdentifiers
in class WFSStrategy
typeName
- 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
Exception
protected AbstractTransactionActionType createUpdate(Wfs20Factory factory, TransactionRequest.Update elem) throws Exception
Exception
protected AbstractTransactionActionType createDelete(Wfs20Factory factory, TransactionRequest.Delete elem) throws Exception
Exception
Copyright © 1996–2021 Geotools. All rights reserved.