org.deegree.services.controller.exception.serializer
Class SOAPExceptionSerializer
java.lang.Object
org.deegree.commons.xml.XMLAdapter
org.deegree.services.controller.exception.serializer.XMLExceptionSerializer<SOAPException>
org.deegree.services.controller.exception.serializer.SOAPExceptionSerializer
- All Implemented Interfaces:
- ExceptionSerializer<SOAPException>
public class SOAPExceptionSerializer
- extends XMLExceptionSerializer<SOAPException>
The SoapExceptionSerializer
class TODO add class documentation here.
- Version:
- $Revision: 31688 $, $Date: 2011-08-30 15:05:12 +0200 (Tue, 30 Aug 2011) $
- Author:
- Rutger Bezema, last edited by: $Author: mschneider $
Methods inherited from class org.deegree.commons.xml.XMLAdapter |
evaluateXPath, getElement, getElements, getNamespaceContext, getNode, getNodeAsBigInt, 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, load, maybeWriteElement, maybeWriteElementNS, parseBoolean, parseDouble, parseFloat, parseInt, parseQName, parseSimpleLink, parseURL, resolve, setRootElement, setSystemId, toString, writeElement, writeElement, writeElement, writeElement, writeElement, writeOptionalAttribute, writeOptionalElement, writeOptionalNSAttribute |
SOAPExceptionSerializer
public SOAPExceptionSerializer(org.apache.axiom.soap.SOAPVersion version,
org.apache.axiom.soap.SOAPHeader header,
org.apache.axiom.soap.SOAPFactory factory,
XMLExceptionSerializer<OWSException> detailSerializer)
- Parameters:
version
- header
- factory
- initialized to the correct soap version.detailSerializer
- which is designed to receive an OWSException
serializeExceptionToXML
public void serializeExceptionToXML(XMLStreamWriter writer,
SOAPException exception)
throws XMLStreamException
- Description copied from class:
XMLExceptionSerializer
- Implementations can use the xml writer to serialize the given exception as a specific xml representation.
- Specified by:
serializeExceptionToXML
in class XMLExceptionSerializer<SOAPException>
- Parameters:
writer
- a formatting xml writer, wrapped around an output stream.exception
- to serialize
- Throws:
XMLStreamException
- if an error occurred while serializing the given exception.
Copyright © 2011. All Rights Reserved.