org.deegree.protocol.ows
Class OWSExceptionReader

java.lang.Object
  extended by org.deegree.protocol.ows.OWSExceptionReader

public class OWSExceptionReader
extends java.lang.Object

The OWSExceptionReader class parses the OWSException report.

Version:
$Revision: 26255 $, $Date: 2010-08-30 16:41:40 +0200 (Mo, 30. Aug 2010) $
Author:
Andrei Ionita, last edited by: $Author: aionita $

Constructor Summary
OWSExceptionReader()
           
 
Method Summary
static boolean isException(javax.xml.stream.XMLStreamReader reader)
           
static OWSException parseException(javax.xml.stream.XMLStreamReader reader)
           Precondition: cursor must point at the START_ELEMENT event (<ows:ExceptionReport>) Postcondition: cursor points at the corresponding END_ELEMENT event (</ows:ExceptionReport>)
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

OWSExceptionReader

public OWSExceptionReader()
Method Detail

isException

public static boolean isException(javax.xml.stream.XMLStreamReader reader)
Parameters:
reader -
Returns:
true if the current element in the reader is an ows:ExceptionReport, false otherwise

parseException

public static OWSException parseException(javax.xml.stream.XMLStreamReader reader)

Parameters:
reader -
Returns:
the parsed OWSException


Copyright © 2011. All Rights Reserved.