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, supportsOperationcanLimit, newRequestHandleprotected WFSCapabilitiesType capabilities
public StrictWFS_1_x_Strategy()
public StrictWFS_1_x_Strategy(Version defaultVersion)
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 AbstractWFSStrategyprotected GetFeatureType createGetFeatureRequestPost(GetFeatureRequest query) throws IOException
AbstractWFSStrategyWFS
configuration when a GetFeature POST request is to be made.createGetFeatureRequestPost in class AbstractWFSStrategyIOExceptionAbstractWFSStrategy.createGetFeatureRequestPost(org.geotools.data.wfs.internal.GetFeatureRequest)protected DescribeFeatureTypeType createDescribeFeatureTypeRequestPost(DescribeFeatureTypeRequest request)
AbstractWFSStrategyWFS
configuration when a DescribeFeatureType POST request is to be made.createDescribeFeatureTypeRequestPost in class AbstractWFSStrategyprotected 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 InsertElementType createInsert(WfsFactory factory,
TransactionRequest.Insert elem)
throws Exception
Exceptionprotected UpdateElementType createUpdate(WfsFactory factory,
TransactionRequest.Update elem)
throws Exception
Exceptionprotected DeleteElementType createDelete(WfsFactory factory,
TransactionRequest.Delete elem)
throws Exception
Exceptionpublic boolean supportsTransaction(QName typeName)
supportsTransaction in class WFSStrategypublic Configuration getFilterConfiguration()
AbstractWFSStrategyAbstractWFSStrategy.encodeGetFeatureGetFilter(Filter)getFilterConfiguration in class AbstractWFSStrategypublic Configuration getWfsConfiguration()
AbstractWFSStrategygetWfsConfiguration in class AbstractWFSStrategyAbstractWFSStrategy.getPostContents(WFSRequest)public void setCapabilities(WFSGetCapabilities capabilities)
setCapabilities in class WFSStrategyprotected FeatureTypeType translateTypeInfo(FeatureTypeType typeInfo)
typeInfo - type infopublic WFSServiceInfo getServiceInfo()
getServiceInfo in class WFSStrategypublic boolean supports(GetFeatureRequest.ResultType resultType)
supports 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 documentWFSStrategy.getFilterCapabilities()protected String getOperationURI(WFSOperationType operation, HttpMethod method)
getOperationURI in class AbstractWFSStrategypublic Set<String> getServerSupportedOutputFormats(QName typeName, WFSOperationType operation)
getServerSupportedOutputFormats in class WFSStrategytypeName - the feature type name for which to return the supported output formatsWFSStrategy.getServerSupportedOutputFormats(QName, WFSOperationType)public Set<String> getServerSupportedOutputFormats(WFSOperationType operation)
getServerSupportedOutputFormats in class WFSStrategyAbstractWFSStrategy.getDefaultOutputFormat(org.geotools.data.wfs.internal.WFSOperationType)public Set<String> getSupportedCRSIdentifiers(QName typeName)
WFSStrategygetSupportedCRSIdentifiers in class WFSStrategytypeName - 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 WFSStrategyprotected OperationType getOperationMetadata(WFSOperationType operation)
getServerSupportedOutputFormats(WFSOperationType)Copyright © 1996–2021 Geotools. All rights reserved.