Class StrictWFS_1_x_Strategy
Object
Specification
WFSStrategy
AbstractWFSStrategy
StrictWFS_1_x_Strategy
- Direct Known Subclasses:
ArcGisStrategy_1_X,CubeWerxStrategy,GeoServerPre200Strategy,IonicStrategy,MapServerWFSStrategy
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected DeleteElementTypecreateDelete(WfsFactory factory, TransactionRequest.Delete elem) protected DescribeFeatureTypeTypeCreates the EMF object to be encoded with theWFS configurationwhen a DescribeFeatureType POST request is to be made.protected EObjectprotected GetFeatureTypeCreates the EMF object to be encoded with theWFS configurationwhen a GetFeature POST request is to be made.protected InsertElementTypecreateInsert(WfsFactory factory, TransactionRequest.Insert elem) protected EObjectprotected EObjectCreates the EMF object to be encoded with theWFS configurationwhen a Transaction request is to be made.protected UpdateElementTypecreateUpdate(WfsFactory factory, TransactionRequest.Update elem) findParameters(OperationType operationMetadata, String parameterName) getClientSupportedOutputFormats(WFSOperationType operation) getFeatureTypeInfo(QName typeName) Returns the feature type metadata object parsed from the capabilities document for the giventypeNameReturns the set of type names as extracted from the capabilities document, including the namespace and prefix.Returns the parsed version of the FilterCapabilities section in the capabilities documentReturns the xml configuration used to encode a filter atAbstractWFSStrategy.encodeGetFeatureGetFilter(Filter)protected OperationTypegetOperationMetadata(WFSOperationType operation) protected QNamegetOperationName(WFSOperationType operation) Used byAbstractWFSStrategy.getPostContents(WFSRequest)to get the qualified operation name to encode; different WFS versions may use different operation names (specially namespaces).protected StringgetOperationURI(WFSOperationType operation, HttpMethod method) getServerSupportedOutputFormats(QName typeName, WFSOperationType operation) getServerSupportedOutputFormats(WFSOperationType operation) Returns the WFS protocol version this facade talks to the WFS instance.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.Returns the xml configuration used to encode all POST requests.voidsetCapabilities(WFSGetCapabilities capabilities) booleansupports(GetFeatureRequest.ResultType resultType) booleanbooleansupportsTransaction(QName typeName) protected FeatureTypeTypetranslateTypeInfo(FeatureTypeType typeInfo) Any server specific translation of type information such as setting correct namespaceMethods inherited from class AbstractWFSStrategy
buildDescribeFeatureTypeParametersForGET, buildDescribeFeatureTypeParametersForGET, buildDescribeStoredQueriesParametersForGET, buildGetFeatureParametersForGET, buildListStoredQueriesParametersForGET, buildUrlGET, createGetCapabilitiesRequest, dispose, encodeGetFeatureGetFilter, encodePropertyName, getConfig, getDefaultOutputFormat, getFieldTypeMappings, getOperationURL, getPostContents, getPostContentType, getPrefixedTypeName, getVersion, prepareEncoder, setConfig, simplify, splitFilters, supportsOperation, updatePropertyNamesMethods inherited from class WFSStrategy
canLimit, canOffset, newRequestHandle
-
Field Details
-
capabilities
The WFS GetCapabilities document. Final by now, as we're not handling updatesequence, so will not ask the server for an updated capabilities during the life-time of this datastore.
-
-
Constructor Details
-
StrictWFS_1_x_Strategy
public StrictWFS_1_x_Strategy() -
StrictWFS_1_x_Strategy
-
-
Method Details
-
getOperationName
Description copied from class:AbstractWFSStrategyUsed byAbstractWFSStrategy.getPostContents(WFSRequest)to get the qualified operation name to encode; different WFS versions may use different operation names (specially namespaces).- Specified by:
getOperationNamein classAbstractWFSStrategy
-
createGetFeatureRequestPost
Description copied from class:AbstractWFSStrategyCreates the EMF object to be encoded with theWFS configurationwhen a GetFeature POST request is to be made.- Specified by:
createGetFeatureRequestPostin classAbstractWFSStrategy- Throws:
IOException- See Also:
-
createDescribeFeatureTypeRequestPost
protected DescribeFeatureTypeType createDescribeFeatureTypeRequestPost(DescribeFeatureTypeRequest request) Description copied from class:AbstractWFSStrategyCreates the EMF object to be encoded with theWFS configurationwhen a DescribeFeatureType POST request is to be made.- Specified by:
createDescribeFeatureTypeRequestPostin classAbstractWFSStrategy
-
createListStoredQueriesRequestPost
protected EObject createListStoredQueriesRequestPost(ListStoredQueriesRequest request) throws IOException - Specified by:
createListStoredQueriesRequestPostin classAbstractWFSStrategy- Throws:
IOException
-
createDescribeStoredQueriesRequestPost
protected EObject createDescribeStoredQueriesRequestPost(DescribeStoredQueriesRequest request) throws IOException - Specified by:
createDescribeStoredQueriesRequestPostin classAbstractWFSStrategy- Throws:
IOException
-
createTransactionRequest
Description copied from class:AbstractWFSStrategyCreates the EMF object to be encoded with theWFS configurationwhen a Transaction request is to be made.- Specified by:
createTransactionRequestin classAbstractWFSStrategy- Throws:
IOException
-
createInsert
protected InsertElementType createInsert(WfsFactory factory, TransactionRequest.Insert elem) throws Exception - Throws:
Exception
-
createUpdate
protected UpdateElementType createUpdate(WfsFactory factory, TransactionRequest.Update elem) throws Exception - Throws:
Exception
-
createDelete
protected DeleteElementType createDelete(WfsFactory factory, TransactionRequest.Delete elem) throws Exception - Throws:
Exception
-
supportsTransaction
- Specified by:
supportsTransactionin classWFSStrategy
-
getFilterConfiguration
Description copied from class:AbstractWFSStrategyReturns the xml configuration used to encode a filter atAbstractWFSStrategy.encodeGetFeatureGetFilter(Filter)- Specified by:
getFilterConfigurationin classAbstractWFSStrategy
-
getWfsConfiguration
Description copied from class:AbstractWFSStrategyReturns the xml configuration used to encode all POST requests.- Specified by:
getWfsConfigurationin classAbstractWFSStrategy- See Also:
-
setCapabilities
- Specified by:
setCapabilitiesin classWFSStrategy
-
translateTypeInfo
Any server specific translation of type information such as setting correct namespace- Parameters:
typeInfo- type info- Returns:
- translated type info
-
getServiceInfo
- Specified by:
getServiceInfoin classWFSStrategy
-
supports
- Specified by:
supportsin classWFSStrategy
-
getServiceVersion
Description copied from class:WFSStrategyReturns the WFS protocol version this facade talks to the WFS instance.- Specified by:
getServiceVersionin classAbstractWFSStrategy- Returns:
- the protocol version in use by this facade
- See Also:
-
getFeatureTypeNames
Description copied from class:WFSStrategyReturns the set of type names as extracted from the capabilities document, including the namespace and prefix.- Specified by:
getFeatureTypeNamesin classWFSStrategy- Returns:
- the set of feature type names as extracted from the capabilities document
- See Also:
-
getFeatureTypeInfo
Description copied from class:WFSStrategyReturns the feature type metadata object parsed from the capabilities document for the giventypeName- Specified by:
getFeatureTypeInfoin classWFSStrategy- Parameters:
typeName- the typeName as stated in the capabilitiesFeatureTypeListto get the info for- Returns:
- the WFS capabilities metadata for
typeName - See Also:
-
getFilterCapabilities
Description copied from class:WFSStrategyReturns the parsed version of the FilterCapabilities section in the capabilities document- Specified by:
getFilterCapabilitiesin classWFSStrategy- Returns:
- a
FilterCapabilitiesout of the FilterCapabilities section in the getcapabilities document - See Also:
-
supportsIdGenerator
public boolean supportsIdGenerator()- See Also:
-
getOperationURI
- Specified by:
getOperationURIin classAbstractWFSStrategy
-
getServerSupportedOutputFormats
- Specified by:
getServerSupportedOutputFormatsin classWFSStrategy- Parameters:
typeName- the feature type name for which to return the supported output formats- Returns:
- the output formats the server supports for the given type name and operation
- See Also:
-
getServerSupportedOutputFormats
- Specified by:
getServerSupportedOutputFormatsin classWFSStrategy- Returns:
- the output formats the server advertises for the given operation;
- See Also:
-
getSupportedCRSIdentifiers
Description copied from class:WFSStrategyReturns 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.- Specified by:
getSupportedCRSIdentifiersin classWFSStrategy- Parameters:
typeName- the featuretype name as declared in the FeatureType/Name element of the WFS capabilities- Returns:
- the list of supported CRS identifiers for the given feature type
- See Also:
-
findParameters
-
getClientSupportedOutputFormats
- Specified by:
getClientSupportedOutputFormatsin classWFSStrategy- Returns:
- the list of output formats supported by the client for the given operation, in preferred order.
-
getOperationMetadata
- Returns:
- the operation metadata advertised in the capabilities for the given operation
- See Also:
-