A ProxyEmitter is an Emitter that filters data before passing it to another
underlying Emitter.
characters
public void characters(char[] chars,
int start,
int len)
throws TransformerException
Character data
- characters in interface Emitter
comment
public void comment(ch[] ,
int start,
int length)
throws TransformerException
Output a comment
endDocument
public void endDocument()
throws TransformerException
End of document
- endDocument in interface Emitter
endElement
public void endElement(int nameCode)
throws TransformerException
End of element
- endElement in interface Emitter
processingInstruction
public void processingInstruction(String target,
String data)
throws TransformerException
Processing Instruction
- processingInstruction in interface Emitter
setDocumentLocator
public void setDocumentLocator(Locator locator)
Set the Document Locator
- setDocumentLocator in interface Emitter
setEscaping
public void setEscaping(boolean escaping)
throws TransformerException
Switch escaping on or off. This is called when the XSLT disable-output-escaping attribute
is used to switch escaping on or off. It is not called for other sections of output (e.g.
element names) where escaping is inappropriate.
- setEscaping in interface Emitter
setNamePool
public void setNamePool(NamePool pool)
Set the name pool to be used for all name codes
- setNamePool in interface Emitter
setOutputProperties
public void setOutputProperties(Properties details)
Set the output details.
- setOutputProperties in interface Emitter
setUnderlyingEmitter
public void setUnderlyingEmitter(Emitter emitter)
Set the underlying emitter. This call is mandatory before using the Emitter.
setUnparsedEntity
public void setUnparsedEntity(String name,
String uri)
throws TransformerException
Set the URI for an unparsed entity in the document.
- setUnparsedEntity in interface Emitter
setWriter
public void setWriter(Writer writer)
Set the result destination
- setWriter in interface Emitter
startDocument
public void startDocument()
throws TransformerException
Start of document
- startDocument in interface Emitter
startElement
public void startElement(int nameCode,
Attributes attributes,
int[] namespaces,
int nscount)
throws TransformerException
Start of element
- startElement in interface Emitter