servlet
Class ApplyXSLTListener

java.lang.Object
org.apache.xml.utils.DefaultErrorHandler
servlet.ApplyXSLTListener
- All Implemented Interfaces:
- org.xml.sax.ErrorHandler, javax.xml.transform.ErrorListener
- public class ApplyXSLTListener
- extends org.apache.xml.utils.DefaultErrorHandler
- implements org.xml.sax.ErrorHandler
ApplyXSLTListener provides a buffered listener essential for capturing, and then subsequently
reporting, XML and XSL processor messages which may be of use in debugging XML+XSL processed at
the server.
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
outStream
private java.io.ByteArrayOutputStream outStream
- Output stream
out
public java.io.PrintWriter out
- Buffered output stream
ApplyXSLTListener
public ApplyXSLTListener()
- Constructor.
warning
public void warning(org.xml.sax.SAXParseException spe)
- Receive notification of a warning.
- Specified by:
warning in interface org.xml.sax.ErrorHandler
error
public void error(org.xml.sax.SAXParseException spe)
- Receive notification of a recoverable error.
- Specified by:
error in interface org.xml.sax.ErrorHandler
fatalError
public void fatalError(org.xml.sax.SAXParseException spe)
throws org.xml.sax.SAXException
- Receive notification of a non-recoverable error.
- Specified by:
fatalError in interface org.xml.sax.ErrorHandler
getMessage
public java.lang.String getMessage()
- Returns the buffered processing message(s).