net.sf.saxon.event
Class CDATAFilter
public
class
CDATAFilter
extends ProxyReceiver
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 Kay
Method Summary |
void | characters(CharSequence chars, int locationId, int properties)
Output character data |
void | comment(CharSequence chars, int locationId, int properties)
Output a comment |
void | endElement()
Output element end tag |
void | flush(FastStringBuffer buffer)
Flush the buffer containing accumulated character data,
generating it as CDATA where appropriate |
void | processingInstruction(String target, CharSequence data, int locationId, int properties)
Output a processing instruction |
void | setOutputProperties(Properties details)
Set the properties for this CDATA filter |
void | startElement(int nameCode, int typeCode, int locationId, int properties)
Output element start tag |
public void characters(CharSequence chars, int locationId, int properties)
Output character data
public void comment(CharSequence chars, int locationId, int properties)
Output a comment
public void endElement()
Output element end tag
Flush the buffer containing accumulated character data,
generating it as CDATA where appropriate
public void processingInstruction(String target, CharSequence data, int locationId, int properties)
Output a processing instruction
public void setOutputProperties(Properties details)
Set the properties for this CDATA filter
public void startElement(int nameCode, int typeCode, int locationId, int properties)
Output element start tag