|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.deegree.commons.xml.XMLAdapter org.deegree.services.controller.exception.serializer.XMLExceptionSerializer<SOAPException> org.deegree.services.controller.exception.serializer.SOAPExceptionSerializer
public class SOAPExceptionSerializer
The SoapExceptionSerializer
class TODO add class documentation here.
Field Summary |
---|
Fields inherited from class org.deegree.commons.xml.XMLAdapter |
---|
DEFAULT_URL, nsContext, rootElement, XLN_NS |
Constructor Summary | |
---|---|
SOAPExceptionSerializer(org.apache.axiom.soap.SOAPVersion version,
org.apache.axiom.soap.SOAPHeader header,
org.apache.axiom.soap.SOAPFactory factory,
XMLExceptionSerializer<OWSException> detailSerializer)
|
Method Summary | |
---|---|
void |
serializeExceptionToXML(javax.xml.stream.XMLStreamWriter writer,
SOAPException exception)
Implementations can use the xml writer to serialize the given exception as a specific xml representation. |
Methods inherited from class org.deegree.services.controller.exception.serializer.XMLExceptionSerializer |
---|
serializeException |
Methods inherited from class org.deegree.commons.xml.XMLAdapter |
---|
evaluateXPath, getElement, getElements, getNamespaceContext, getNode, getNodeAsBoolean, getNodeAsDouble, getNodeAsFloat, getNodeAsInt, getNodeAsQName, getNodeAsString, getNodeAsURL, getNodeAsVersion, getNodes, getNodesAsQNames, getNodesAsStrings, getRequiredElement, getRequiredElements, getRequiredNode, getRequiredNodeAsBoolean, getRequiredNodeAsDouble, getRequiredNodeAsFloat, getRequiredNodeAsInteger, getRequiredNodeAsQName, getRequiredNodeAsString, getRequiredNodeAsURL, getRequiredNodeAsVersion, getRequiredNodes, getRootElement, getSchemas, getSystemId, hasSchemas, load, load, load, load, load, load, maybeWriteElement, maybeWriteElementNS, parseBoolean, parseDouble, parseFloat, parseInt, parseQName, parseSimpleLink, parseURL, resolve, setRootElement, setSystemId, toString, writeElement, writeElement, writeElement, writeElement, writeElement, writeOptionalAttribute, writeOptionalElement, writeOptionalNSAttribute |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public SOAPExceptionSerializer(org.apache.axiom.soap.SOAPVersion version, org.apache.axiom.soap.SOAPHeader header, org.apache.axiom.soap.SOAPFactory factory, XMLExceptionSerializer<OWSException> detailSerializer)
version
- header
- factory
- initialized to the correct soap version.detailSerializer
- which is designed to receive an OWSExceptionMethod Detail |
---|
public void serializeExceptionToXML(javax.xml.stream.XMLStreamWriter writer, SOAPException exception) throws javax.xml.stream.XMLStreamException
XMLExceptionSerializer
serializeExceptionToXML
in class XMLExceptionSerializer<SOAPException>
writer
- a formatting xml writer, wrapped around an output stream.exception
- to serialize
javax.xml.stream.XMLStreamException
- if an error occurred while serializing the given exception.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |