com.icl.saxon.output
Class ErrorEmitter
- Result
public class ErrorEmitter
ErrorEmitter is an Emitter that generates an error message if any attempt
is made to produce output. It is used while a saxon:function is active to
prevent functions writing to the result tree.
void | characters(char[] ch, int start, int length) - Character data.
|
void | comment(ch[] , int start, int length) - Handle a comment.
|
void | endDocument() - End of the document.
|
void | endElement(int name) - End of an element.
|
void | processingInstruction(String target, String data) - Handle a processing instruction.
|
void | startDocument() - Start of the document.
|
void | startElement(int name, Attributes attributes, int[] namespaces, int nscount) - Start of an element.
|
characters , comment , endDocument , endElement , getNamePool , getOutputProperties , getOutputStream , getSystemId , getWriter , makeEmitter , processingInstruction , setDocumentLocator , setEscaping , setNamePool , setOutputProperties , setOutputStream , setSystemId , setUnparsedEntity , setWriter , startDocument , startElement , usesWriter |
characters
public void characters(char[] ch,
int start,
int length)
throws TransformerException
Character data.
- characters in interface Emitter
comment
public void comment(ch[] ,
int start,
int length)
throws TransformerException
Handle a comment.
endDocument
public void endDocument()
throws TransformerException
End of the document.
- endDocument in interface Emitter
endElement
public void endElement(int name)
throws TransformerException
End of an element.
- endElement in interface Emitter
processingInstruction
public void processingInstruction(String target,
String data)
throws TransformerException
Handle a processing instruction.
- processingInstruction in interface Emitter
startDocument
public void startDocument()
throws TransformerException
Start of the document.
- startDocument in interface Emitter
startElement
public void startElement(int name,
Attributes attributes,
int[] namespaces,
int nscount)
throws TransformerException
Start of an element. Output the start tag, escaping special characters.
- startElement in interface Emitter