Package org.n52.svalbard.decode
Class AbstractSoapDecoder
- java.lang.Object
-
- org.n52.svalbard.decode.AbstractDelegatingDecoder<S,T>
-
- org.n52.svalbard.decode.AbstractXmlDecoder<org.apache.xmlbeans.XmlObject,AbstractSoap<?>>
-
- org.n52.svalbard.decode.AbstractSoapDecoder
-
- All Implemented Interfaces:
Component<DecoderKey>,Keyed<DecoderKey>,Decoder<AbstractSoap<?>,org.apache.xmlbeans.XmlObject>
- Direct Known Subclasses:
Soap11Decoder,Soap12Decoder
public abstract class AbstractSoapDecoder extends AbstractXmlDecoder<org.apache.xmlbeans.XmlObject,AbstractSoap<?>>
- Since:
- 1.0.0
-
-
Constructor Summary
Constructors Constructor Description AbstractSoapDecoder(String namespace)
-
Method Summary
All Methods Instance Methods Abstract Methods Concrete Methods Modifier and Type Method Description protected StringcheckSoapAction(String soapAction, List<SoapHeader> soapHeaders)protected abstract AbstractSoap<?>createEnvelope(org.apache.xmlbeans.XmlObject xml)protected abstract AbstractSoap<?>createFault(DecodingException xml)AbstractSoap<?>decode(org.apache.xmlbeans.XmlObject xmlObject)protected voidfixNamespaceForXsiType(org.apache.xmlbeans.XmlObject content, Map<?,?> namespaces)protected StringgetFaultReasons(DecodingException de)Set<DecoderKey>getKeys()voidsetSchemaRepository(SchemaRepository schemaRepository)-
Methods inherited from class org.n52.svalbard.decode.AbstractXmlDecoder
decodeXmlElement, decodeXmlObject, decodeXmlObject, getDecoderKey, getXmlOptions, setXmlOptions
-
Methods inherited from class org.n52.svalbard.decode.AbstractDelegatingDecoder
getDecoder, getDecoderRepository, setDecoderRepository
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface org.n52.svalbard.decode.Decoder
getSupportedTypes
-
-
-
-
Constructor Detail
-
AbstractSoapDecoder
public AbstractSoapDecoder(String namespace)
-
-
Method Detail
-
setSchemaRepository
@Inject public void setSchemaRepository(SchemaRepository schemaRepository)
-
getKeys
public Set<DecoderKey> getKeys()
-
decode
public AbstractSoap<?> decode(org.apache.xmlbeans.XmlObject xmlObject) throws DecodingException
- Throws:
DecodingException
-
createEnvelope
protected abstract AbstractSoap<?> createEnvelope(org.apache.xmlbeans.XmlObject xml) throws DecodingException
- Throws:
DecodingException
-
createFault
protected abstract AbstractSoap<?> createFault(DecodingException xml)
-
checkSoapAction
protected String checkSoapAction(String soapAction, List<SoapHeader> soapHeaders)
-
getFaultReasons
protected String getFaultReasons(DecodingException de)
-
fixNamespaceForXsiType
protected void fixNamespaceForXsiType(org.apache.xmlbeans.XmlObject content, Map<?,?> namespaces)
-
-