|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--org.apache.xalan.xsltc.runtime.TextOutput
Field Summary | |
static int |
HTML
|
static int |
QNAME
|
static int |
TEXT
|
static int |
UNKNOWN
|
static int |
XML
|
Constructor Summary | |
TextOutput(ContentHandler handler)
Constructor |
|
TextOutput(ContentHandler handler,
java.lang.String encoding)
Constructor |
Method Summary | |
void |
attribute(java.lang.String name,
java.lang.String value)
Put an attribute and its value in the start tag of an element. |
void |
characters(char[] ch,
int off,
int len)
Send characters to the output document |
void |
close()
Output document stream close |
void |
closeStartTag()
This method is called when all the data needed for a call to the SAX handler's startElement() method has been gathered. |
void |
comment(java.lang.String comment)
Send a HTML-style comment to the output document |
void |
endDocument()
Ends the document output. |
void |
endElement(java.lang.String elementName)
End an element or CDATA section in the output document |
void |
flush()
Output document stream flush |
void |
insertCdataElement(java.lang.String elementName)
The |
void |
namespace(java.lang.String prefix,
java.lang.String uri)
Send a namespace declaration in the output document. |
void |
omitXmlDecl(boolean value)
Directive to turn xml header declaration on/off. |
void |
processingInstruction(java.lang.String target,
java.lang.String data)
Send a processing instruction to the output document |
boolean |
setEscaping(boolean escape)
Turns special character escaping on/off. |
void |
setIndent(boolean indent)
Turns output indentation on/off. |
void |
setType(int type)
Set the output type. |
void |
startDocument()
Starts the output document. |
void |
startElement(java.lang.String elementName)
Start an element in the output document. |
Methods inherited from class java.lang.Object |
equals,
getClass,
hashCode,
notify,
notifyAll,
toString,
wait,
wait,
wait |
Field Detail |
public static final int UNKNOWN
public static final int TEXT
public static final int XML
public static final int HTML
public static final int QNAME
Constructor Detail |
public TextOutput(ContentHandler handler) throws java.io.IOException
public TextOutput(ContentHandler handler, java.lang.String encoding) throws java.io.IOException
Method Detail |
public void setType(int type)
public void setIndent(boolean indent)
public void omitXmlDecl(boolean value)
public void closeStartTag() throws TransletException
public boolean setEscaping(boolean escape) throws TransletException
public void flush() throws java.io.IOException
public void close() throws java.io.IOException
public void insertCdataElement(java.lang.String elementName)
public void startDocument() throws TransletException
public void endDocument() throws TransletException
public void characters(char[] ch, int off, int len) throws TransletException
public void startElement(java.lang.String elementName) throws TransletException
public void attribute(java.lang.String name, java.lang.String value) throws TransletException
public void endElement(java.lang.String elementName) throws TransletException
public void comment(java.lang.String comment) throws TransletException
public void processingInstruction(java.lang.String target, java.lang.String data) throws TransletException
public void namespace(java.lang.String prefix, java.lang.String uri) throws TransletException
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |