tomp.ext.validator.xslt
Class XSLTErrorDetector
java.lang.Object
|
+--net.sf.saxon.output.Emitter
|
+--tomp.ext.validator.xslt.XSLTErrorDetector
- All Implemented Interfaces:
- ErrorDetector, javax.xml.transform.Result
- public abstract class XSLTErrorDetector
- extends net.sf.saxon.output.Emitter
- implements ErrorDetector
The XSLTErrorDetector is an implementation of ErrorDetector.
Catches the net.sf.saxon.Emitter events and if these events signalize an error, a call isOK() returns false.
Field Summary |
protected boolean |
ok
|
Fields inherited from class net.sf.saxon.output.Emitter |
locator, namePool, outputProperties, outputStream, systemId, writer |
Fields inherited from interface javax.xml.transform.Result |
PI_DISABLE_OUTPUT_ESCAPING, PI_ENABLE_OUTPUT_ESCAPING |
Methods inherited from class net.sf.saxon.output.Emitter |
getNamePool, getOutputProperties, getOutputStream, getSystemId, getWriter, makeEmitter, setDocumentLocator, setEscaping, setNamePool, setOutputProperties, setOutputStream, setSystemId, setUnparsedEntity, setWriter, usesWriter |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
ok
protected boolean ok
XSLTErrorDetector
public XSLTErrorDetector()
isOK
public boolean isOK()
- Specified by:
isOK
in interface ErrorDetector
startDocument
public void startDocument()
throws javax.xml.transform.TransformerException
- Specified by:
startDocument
in class net.sf.saxon.output.Emitter
javax.xml.transform.TransformerException
endDocument
public void endDocument()
throws javax.xml.transform.TransformerException
- Specified by:
endDocument
in class net.sf.saxon.output.Emitter
javax.xml.transform.TransformerException
startElement
public void startElement(int nameCode,
org.xml.sax.Attributes attributes,
int[] namespaces,
int nscount)
throws javax.xml.transform.TransformerException
- Specified by:
startElement
in class net.sf.saxon.output.Emitter
javax.xml.transform.TransformerException
endElement
public void endElement(int nameCode)
throws javax.xml.transform.TransformerException
- Specified by:
endElement
in class net.sf.saxon.output.Emitter
javax.xml.transform.TransformerException
characters
public void characters(char[] chars,
int start,
int len)
throws javax.xml.transform.TransformerException
- Specified by:
characters
in class net.sf.saxon.output.Emitter
javax.xml.transform.TransformerException
processingInstruction
public void processingInstruction(java.lang.String target,
java.lang.String data)
throws javax.xml.transform.TransformerException
- Specified by:
processingInstruction
in class net.sf.saxon.output.Emitter
javax.xml.transform.TransformerException
comment
public void comment(char[] ch,
int start,
int length)
throws javax.xml.transform.TransformerException
- Specified by:
comment
in class net.sf.saxon.output.Emitter
javax.xml.transform.TransformerException