com.icl.saxon.output
Class CDATAFilter
- Result
CDATAFilter: This ProxyEmitter converts character data to CDATA sections,
if the character data belongs to one of a set of element types to be handled this way.
void | characters(char[] chars, int start, int len) - Output character data
|
void | comment(char[] chars, int start, int len) - Output a comment
|
void | endElement(int nameCode) - Output element end tag
|
void | flush(StringBuffer buffer) - Flush the buffer containing accumulated character data,
generating it as CDATA where appropriate
|
void | ignorableWhitespace(char[] chars, int start, int len) - Output ignorable white space
|
boolean | isCDATA(int fingerprint) - See if a particular element is a CDATA element
|
void | processingInstruction(String target, String data) - Output a processing instruction
|
void | setEscaping(boolean escaping) - Set escaping on or off
|
void | setOutputProperties(Properties details) - Set output properties
|
void | startElement(int nameCode, Attributes atts, int[] namespaces, int nscount) - Output element start tag
|
characters , comment , endDocument , endElement , processingInstruction , setDocumentLocator , setEscaping , setNamePool , setOutputProperties , setUnderlyingEmitter , setUnparsedEntity , setWriter , startDocument , startElement |
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[] chars,
int start,
int len)
throws TransformerException
Output character data
- characters in interface ProxyEmitter
comment
public void comment(char[] chars,
int start,
int len)
throws TransformerException
Output a comment
- comment in interface Emitter
endElement
public void endElement(int nameCode)
throws TransformerException
Output element end tag
- endElement in interface ProxyEmitter
flush
public void flush(StringBuffer buffer)
throws TransformerException
Flush the buffer containing accumulated character data,
generating it as CDATA where appropriate
ignorableWhitespace
public void ignorableWhitespace(char[] chars,
int start,
int len)
throws TransformerException
Output ignorable white space
isCDATA
public boolean isCDATA(int fingerprint)
See if a particular element is a CDATA element
processingInstruction
public void processingInstruction(String target,
String data)
throws TransformerException
Output a processing instruction
- processingInstruction in interface ProxyEmitter
setEscaping
public void setEscaping(boolean escaping)
throws TransformerException
Set escaping on or off
- setEscaping in interface ProxyEmitter
setOutputProperties
public void setOutputProperties(Properties details)
Set output properties
- setOutputProperties in interface ProxyEmitter
startElement
public void startElement(int nameCode,
Attributes atts,
int[] namespaces,
int nscount)
throws TransformerException
Output element start tag
- startElement in interface ProxyEmitter