org.aselect.system.communication.server.soap12
Class SOAP12ErrorHandler

java.lang.Object
  extended by org.aselect.system.communication.server.soap12.SOAP12ErrorHandler
All Implemented Interfaces:
org.xml.sax.ErrorHandler

public class SOAP12ErrorHandler
extends java.lang.Object
implements org.xml.sax.ErrorHandler

SOAP 1.2 error handler.

Description:
An error handler that handles SOAP 1.2 parse and message validation errors.

Note: The current SOAP schema specification uses the statement:

<xs:import namespace="http://www.w3.org/XML/1998/namespace">

rather than the form:

<xs:import namespace="http://www.w3.org/XML/1998/namespace" schemaLocation="http://www.w3.org/2001/xml.xsd">

This means that parsers which do not have built-in knowledge of the xml namespace schema location, like Xerces, will fail to parse a SOAP 1.2 schema and errors in this schema have to be ignored. (see Feedback on SOAP 1.2 Recommendation )


Concurrency issues:
-

Author:
Alfa & Ariss

Constructor Summary
SOAP12ErrorHandler()
           
 
Method Summary
 void error(org.xml.sax.SAXParseException xSE)
          Handle a parser error.
 void fatalError(org.xml.sax.SAXParseException xSE)
          Handle a parser fatal error.
 void warning(org.xml.sax.SAXParseException xSE)
          Handle a parser warning.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

SOAP12ErrorHandler

public SOAP12ErrorHandler()
Method Detail

warning

public void warning(org.xml.sax.SAXParseException xSE)
             throws org.xml.sax.SAXException
Handle a parser warning.

Specified by:
warning in interface org.xml.sax.ErrorHandler
Throws:
org.xml.sax.SAXException
See Also:
ErrorHandler.warning(org.xml.sax.SAXParseException)

error

public void error(org.xml.sax.SAXParseException xSE)
           throws org.xml.sax.SAXException
Handle a parser error.

Specified by:
error in interface org.xml.sax.ErrorHandler
Throws:
org.xml.sax.SAXException
See Also:
ErrorHandler.error(org.xml.sax.SAXParseException)

fatalError

public void fatalError(org.xml.sax.SAXParseException xSE)
                throws org.xml.sax.SAXException
Handle a parser fatal error.

Specified by:
fatalError in interface org.xml.sax.ErrorHandler
Throws:
org.xml.sax.SAXException
See Also:
ErrorHandler.fatalError(org.xml.sax.SAXParseException)


Copyright © 2008 SURFnet BV. All Rights Reserved.