public class StrictWFS_1_x_Strategy extends AbstractWFSStrategy
Modifier and Type | Field and Description |
---|---|
protected WFSCapabilitiesType |
capabilities
The WFS GetCapabilities document.
|
Constructor and Description |
---|
StrictWFS_1_x_Strategy() |
StrictWFS_1_x_Strategy(Version defaultVersion) |
Modifier and Type | Method and Description |
---|---|
protected DeleteElementType |
createDelete(WfsFactory factory,
TransactionRequest.Delete elem) |
protected DescribeFeatureTypeType |
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 GetFeatureType |
createGetFeatureRequestPost(GetFeatureRequest query)
Creates the EMF object to be encoded with the
WFS
configuration when a GetFeature POST request is to be made. |
protected InsertElementType |
createInsert(WfsFactory 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 UpdateElementType |
createUpdate(WfsFactory 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) |
protected FeatureTypeType |
translateTypeInfo(FeatureTypeType typeInfo)
Any server specific translation of type information such as setting correct namespace
|
buildDescribeFeatureTypeParametersForGET, buildDescribeFeatureTypeParametersForGET, buildDescribeStoredQueriesParametersForGET, buildGetFeatureParametersForGET, buildListStoredQueriesParametersForGET, buildUrlGET, createGetCapabilitiesRequest, dispose, encodeGetFeatureGetFilter, encodePropertyName, getConfig, getDefaultOutputFormat, getFieldTypeMappings, getOperationURL, getPostContents, getPostContentType, getPrefixedTypeName, getVersion, prepareEncoder, setConfig, simplify, splitFilters, supportsOperation
canLimit, newRequestHandle
protected WFSCapabilitiesType capabilities
public StrictWFS_1_x_Strategy()
public StrictWFS_1_x_Strategy(Version defaultVersion)
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
protected GetFeatureType createGetFeatureRequestPost(GetFeatureRequest query) throws IOException
AbstractWFSStrategy
WFS
configuration
when a GetFeature POST request is to be made.createGetFeatureRequestPost
in class AbstractWFSStrategy
IOException
AbstractWFSStrategy.createGetFeatureRequestPost(org.geotools.data.wfs.internal.GetFeatureRequest)
protected DescribeFeatureTypeType createDescribeFeatureTypeRequestPost(DescribeFeatureTypeRequest request)
AbstractWFSStrategy
WFS
configuration
when a DescribeFeatureType POST request is to be made.createDescribeFeatureTypeRequestPost
in class AbstractWFSStrategy
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 InsertElementType createInsert(WfsFactory factory, TransactionRequest.Insert elem) throws Exception
Exception
protected UpdateElementType createUpdate(WfsFactory factory, TransactionRequest.Update elem) throws Exception
Exception
protected DeleteElementType createDelete(WfsFactory factory, TransactionRequest.Delete elem) throws Exception
Exception
public boolean supportsTransaction(QName typeName)
supportsTransaction
in class WFSStrategy
public Configuration getFilterConfiguration()
AbstractWFSStrategy
AbstractWFSStrategy.encodeGetFeatureGetFilter(Filter)
getFilterConfiguration
in class AbstractWFSStrategy
public Configuration getWfsConfiguration()
AbstractWFSStrategy
getWfsConfiguration
in class AbstractWFSStrategy
AbstractWFSStrategy.getPostContents(WFSRequest)
public void setCapabilities(WFSGetCapabilities capabilities)
setCapabilities
in class WFSStrategy
protected FeatureTypeType translateTypeInfo(FeatureTypeType typeInfo)
typeInfo
- type infopublic WFSServiceInfo getServiceInfo()
getServiceInfo
in class WFSStrategy
public boolean supports(GetFeatureRequest.ResultType resultType)
supports
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 documentWFSStrategy.getFilterCapabilities()
protected String getOperationURI(WFSOperationType operation, HttpMethod method)
getOperationURI
in class AbstractWFSStrategy
public Set<String> getServerSupportedOutputFormats(QName typeName, WFSOperationType operation)
getServerSupportedOutputFormats
in class WFSStrategy
typeName
- the feature type name for which to return the supported output formatsWFSStrategy.getServerSupportedOutputFormats(QName, WFSOperationType)
public Set<String> getServerSupportedOutputFormats(WFSOperationType operation)
getServerSupportedOutputFormats
in class WFSStrategy
AbstractWFSStrategy.getDefaultOutputFormat(org.geotools.data.wfs.internal.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
capabilitiesWFSStrategy.getSupportedCRSIdentifiers(javax.xml.namespace.QName)
protected Set<String> findParameters(OperationType operationMetadata, String parameterName)
public List<String> getClientSupportedOutputFormats(WFSOperationType operation)
getClientSupportedOutputFormats
in class WFSStrategy
protected OperationType getOperationMetadata(WFSOperationType operation)
getServerSupportedOutputFormats(WFSOperationType)
Copyright © 1996–2023 Geotools. All rights reserved.