com.icl.saxon.output
Class CDATAFilter
public
class
CDATAFilter
extends ProxyEmitter
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.
Author: Michael H. Kay
Method Summary |
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 |
public void characters(char[] chars, int start, int len)
Output character data
public void comment(char[] chars, int start, int len)
Output a comment
public void endElement(int nameCode)
Output element end tag
public void flush(StringBuffer buffer)
Flush the buffer containing accumulated character data,
generating it as CDATA where appropriate
public void ignorableWhitespace(char[] chars, int start, int len)
Output ignorable white space
public boolean isCDATA(int fingerprint)
See if a particular element is a CDATA element
public void processingInstruction(String target, String data)
Output a processing instruction
public void setEscaping(boolean escaping)
Set escaping on or off
public void setOutputProperties(Properties details)
Set output properties
public void startElement(int nameCode, Attributes atts, int[] namespaces, int nscount)
Output element start tag