|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--com.icl.saxon.output.ProxyEmitter | +--com.icl.saxon.output.CDATAFilter
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.
Fields inherited from class com.icl.saxon.output.ProxyEmitter |
baseEmitter, characterSet, namePool, outputDetails, writer |
Constructor Summary | |
CDATAFilter()
|
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(java.lang.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 nameCode)
See if a particular element is a CDATA element |
void |
processingInstruction(java.lang.String target,
java.lang.String data)
Output a processing instruction |
void |
setEscaping(boolean escaping)
Set escaping on or off |
void |
setOutputDetails(OutputDetails details)
Set output details |
void |
startElement(int nameCode,
org.xml.sax.Attributes atts,
int[] namespaces,
int nscount)
Output element start tag |
Methods inherited from class com.icl.saxon.output.ProxyEmitter |
endDocument, setCharacterSet, setDocumentLocator, setNamePool, setUnderlyingEmitter, setUnparsedEntity, setWriter, startDocument |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public CDATAFilter()
Method Detail |
public void startElement(int nameCode, org.xml.sax.Attributes atts, int[] namespaces, int nscount) throws org.xml.sax.SAXException
startElement
in class ProxyEmitter
com.icl.saxon.output.Emitter
namespaces
- Array of namespace codes identifying the namespace prefix/uri
pairs associated with this elementnscount
- Number of significant entries within namespaces arraypublic void endElement(int nameCode) throws org.xml.sax.SAXException
endElement
in class ProxyEmitter
public void processingInstruction(java.lang.String target, java.lang.String data) throws org.xml.sax.SAXException
processingInstruction
in class ProxyEmitter
public void characters(char[] chars, int start, int len) throws org.xml.sax.SAXException
characters
in class ProxyEmitter
public void ignorableWhitespace(char[] chars, int start, int len) throws org.xml.sax.SAXException
public void comment(char[] chars, int start, int len) throws org.xml.sax.SAXException
comment
in class ProxyEmitter
public void setEscaping(boolean escaping) throws org.xml.sax.SAXException
setEscaping
in class ProxyEmitter
public void flush(java.lang.StringBuffer buffer) throws org.xml.sax.SAXException
public void setOutputDetails(OutputDetails details) throws org.xml.sax.SAXException
setOutputDetails
in class ProxyEmitter
com.icl.saxon.output.Emitter
details
- The details of the required outputpublic boolean isCDATA(int nameCode)
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |