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 | 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 CDATAFilter()
Create a CDATA Filter
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
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
Parameters: details the output properties
public void startElement(int nameCode, int typeCode, int locationId, int properties)
Output element start tag