org.deegree.services.controller.ows
Class OWSException100XMLAdapter

java.lang.Object
  extended by org.deegree.commons.xml.XMLAdapter
      extended by org.deegree.services.controller.exception.serializer.XMLExceptionSerializer<OWSException>
          extended by org.deegree.services.controller.ows.OWSException100XMLAdapter
All Implemented Interfaces:
ExceptionSerializer<OWSException>

public class OWSException100XMLAdapter
extends XMLExceptionSerializer<OWSException>

XMLExceptionSerializer for OWS Commons 1.0.0 ExceptionReports.

Version:
$Revision: 20096 $, $Date: 2009-10-12 19:54:15 +0200 (Mo, 12. Okt 2009) $
Author:
Markus Schneider, last edited by: $Author: mschneider $

Field Summary
 
Fields inherited from class org.deegree.commons.xml.XMLAdapter
DEFAULT_URL, nsContext, rootElement, XLN_NS
 
Constructor Summary
OWSException100XMLAdapter()
           
 
Method Summary
 void serializeExceptionToXML(javax.xml.stream.XMLStreamWriter writer, OWSException ex)
          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

OWSException100XMLAdapter

public OWSException100XMLAdapter()
Method Detail

serializeExceptionToXML

public void serializeExceptionToXML(javax.xml.stream.XMLStreamWriter writer,
                                    OWSException ex)
                             throws javax.xml.stream.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<OWSException>
Parameters:
writer - a formatting xml writer, wrapped around an output stream.
ex - to serialize
Throws:
javax.xml.stream.XMLStreamException - if an error occurred while serializing the given exception.


Copyright © 2011. All Rights Reserved.