com.icl.saxon.output

Class ErrorEmitter

public class ErrorEmitter extends Emitter

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.
Method Summary
voidcharacters(char[] ch, int start, int length)
Character data.
voidcomment(char[] ch, int start, int length)
Handle a comment.
voidendDocument()
End of the document.
voidendElement(int name)
End of an element.
voidprocessingInstruction(String target, String data)
Handle a processing instruction.
voidstartDocument()
Start of the document.
voidstartElement(int name, Attributes attributes, int[] namespaces, int nscount)
Start of an element.

Method Detail

characters

public void characters(char[] ch, int start, int length)
Character data.

comment

public void comment(char[] ch, int start, int length)
Handle a comment.

endDocument

public void endDocument()
End of the document.

endElement

public void endElement(int name)
End of an element.

processingInstruction

public void processingInstruction(String target, String data)
Handle a processing instruction.

startDocument

public void startDocument()
Start of the document.

startElement

public void startElement(int name, Attributes attributes, int[] namespaces, int nscount)
Start of an element. Output the start tag, escaping special characters.