| java.lang.Object net.sf.saxon.event.Emitter net.sf.saxon.event.XMLEmitter net.sf.saxon.event.TEXTEmitter
TEXTEmitter | public class TEXTEmitter extends XMLEmitter (Code) | | This class generates TEXT output
author: Michael H. Kay |
Method Summary | |
public void | attribute(int nameCode, int typeCode, CharSequence value, int locationId, int properties) | public void | characters(CharSequence chars, int locationId, int properties) Produce output using the current Writer. | public void | comment(CharSequence chars, int locationId, int properties) Output a comment. | public void | endElement() Output an element end tag. | public void | namespace(int namespaceCode, int properties) | public void | open() Start of the document. | public void | processingInstruction(String name, CharSequence value, int locationId, int properties) Output a processing instruction. | public void | startElement(int nameCode, int typeCode, int locationId, int properties) Output an element start tag. |
attribute | public void attribute(int nameCode, int typeCode, CharSequence value, int locationId, int properties)(Code) | | |
characters | public void characters(CharSequence chars, int locationId, int properties) throws XPathException(Code) | | Produce output using the current Writer.
Special characters are not escaped.
Parameters: chars - Character sequence to be output Parameters: properties - bit fields holding special properties of the characters exception: XPathException - for any failure |
comment | public void comment(CharSequence chars, int locationId, int properties) throws XPathException(Code) | | Output a comment.
Does nothing with this output method.
|
endElement | public void endElement()(Code) | | Output an element end tag.
Does nothing with this output method.
|
namespace | public void namespace(int namespaceCode, int properties)(Code) | | |
processingInstruction | public void processingInstruction(String name, CharSequence value, int locationId, int properties) throws XPathException(Code) | | Output a processing instruction.
Does nothing with this output method.
|
startElement | public void startElement(int nameCode, int typeCode, int locationId, int properties)(Code) | | Output an element start tag.
Does nothing with this output method.
Parameters: nameCode - The element name (tag) Parameters: typeCode - The type annotation Parameters: properties - Bit fields holding any special properties of the element |
Methods inherited from net.sf.saxon.event.XMLEmitter | public void attribute(int nameCode, int typeCode, CharSequence value, int locationId, int properties) throws XPathException(Code)(Java Doc) public void characters(CharSequence chars, int locationId, int properties) throws XPathException(Code)(Java Doc) public void close() throws XPathException(Code)(Java Doc) public void closeStartTag() throws XPathException(Code)(Java Doc) public void comment(CharSequence chars, int locationId, int properties) throws XPathException(Code)(Java Doc) protected String emptyElementTagCloser(String displayName, int nameCode)(Code)(Java Doc) public void endDocument() throws XPathException(Code)(Java Doc) public void endElement() throws XPathException(Code)(Java Doc) public static void main(String[] params) throws Exception(Code)(Java Doc) public void namespace(int namespaceCode, int properties) throws XPathException(Code)(Java Doc) public void open() throws XPathException(Code)(Java Doc) protected void openDocument() throws XPathException(Code)(Java Doc) protected void outputCharacterReference(int charval) throws java.io.IOException(Code)(Java Doc) public void processingInstruction(String target, CharSequence data, int locationId, int properties) throws XPathException(Code)(Java Doc) public void startContent() throws XPathException(Code)(Java Doc) public void startDocument(int properties) throws XPathException(Code)(Java Doc) public void startElement(int nameCode, int typeCode, int locationId, int properties) throws XPathException(Code)(Java Doc) protected int testCharacters(CharSequence chars) throws XPathException(Code)(Java Doc) protected void writeAttribute(int elCode, String attname, CharSequence value, int properties) throws XPathException(Code)(Java Doc) public void writeCharSequence(CharSequence s) throws java.io.IOException(Code)(Java Doc) public void writeDeclaration() throws XPathException(Code)(Java Doc) protected void writeDocType(String type, String systemId, String publicId) throws XPathException(Code)(Java Doc) protected void writeEscape(CharSequence chars, boolean inAttribute) throws java.io.IOException, XPathException(Code)(Java Doc)
|
|
|