Package org.n52.iceland.binding
Class AbstractXmlBinding<T>
java.lang.Object
org.n52.iceland.binding.SimpleBinding
org.n52.iceland.binding.AbstractXmlBinding<T>
- Type Parameters:
T- the decoded request type
- All Implemented Interfaces:
Binding,EncodingExceptionHandler,Component<BindingKey>,Keyed<BindingKey>
- Direct Known Subclasses:
PoxBinding,SoapBinding
Abstract binding class for XML encoded requests
- Since:
- 1.0.0
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected Tdecode(jakarta.servlet.http.HttpServletRequest request) protected DecoderKeygetDecoderKey(String xmlContent, String characterEncoding) protected OwsOperationKeygetOperationKey(Element element) voidsetDocumentFactory(DocumentBuilderProvider documentFactory) protected StringxmlToString(jakarta.servlet.http.HttpServletRequest request, String characterEncoding) Methods inherited from class org.n52.iceland.binding.SimpleBinding
checkServiceOperatorKeyTypes, chooseResponseContentType, chooseResponseContentTypeForExceptionReport, encodeOwsExceptionReport, encodeResponse, getDecoder, getDecoderRepository, getDefaultContentType, getEncoder, getEncoderRepository, getEventBus, getHttpUtils, getRequestContext, getServiceOperator, getServiceOperator, getServiceOperatorRepository, handleEncodingException, hasDecoder, hasDecoder, hasEncoder, hasEncoder, hasEncoder, isServiceSupported, isUseHttpResponseCodes, isVersionSupported, setDecoderRepository, setEncoderRepository, setEventBus, setHttpUtils, setServiceOperatorRepository, writeOwsExceptionReport, writeResponseMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface org.n52.iceland.binding.Binding
checkOperationHttpDeleteSupported, checkOperationHttpGetSupported, checkOperationHttpOptionsSupported, checkOperationHttpPostSupported, checkOperationHttpPutSupported, doDeleteOperation, doGetOperation, doOptionsOperation, doPostOperation, doPutOperation
-
Constructor Details
-
AbstractXmlBinding
public AbstractXmlBinding()
-
-
Method Details
-
setDocumentFactory
-
decode
- Throws:
OwsExceptionReport
-
getDecoderKey
protected DecoderKey getDecoderKey(String xmlContent, String characterEncoding) throws CodedException - Throws:
CodedException
-
getOperationKey
-
xmlToString
protected String xmlToString(jakarta.servlet.http.HttpServletRequest request, String characterEncoding) throws OwsExceptionReport - Throws:
OwsExceptionReport
-