|
Xindice API version 1.1b4 |
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.apache.xindice.xml.TextWriter
TextWriter takes a Document, DocumentFragment, or Element and streams it as text to an output source (or a String)
| Constructor Summary | |
TextWriter(org.w3c.dom.Node node)
|
|
| Method Summary | |
java.lang.String |
toString()
toString returns the node as a String. |
static java.lang.String |
toString(org.w3c.dom.Node node)
toString returns the node as a String. |
static void |
write(org.w3c.dom.Node node,
java.io.OutputStream output)
write writes the specified node to the OutputStream as text. |
static void |
write(org.w3c.dom.Node node,
java.io.Writer writer)
write writes the specified node to the writer as text. |
void |
write(java.io.OutputStream output)
write writes the node to the OutputStream as text. |
void |
write(java.io.Writer writer)
write writes the node to the writer as text. |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
public TextWriter(org.w3c.dom.Node node)
| Method Detail |
public void write(java.io.Writer writer)
throws java.io.IOException
writer - The Writer to write to
java.io.IOException
public void write(java.io.OutputStream output)
throws java.io.IOException
output - The OutputStream to write to
java.io.IOExceptionpublic java.lang.String toString()
public static void write(org.w3c.dom.Node node,
java.io.Writer writer)
throws java.io.IOException
node - The Node to writewriter - The Writer to write to
java.io.IOException
public static void write(org.w3c.dom.Node node,
java.io.OutputStream output)
throws java.io.IOException
node - The Node to writeoutput - The OutputStream to write to
java.io.IOExceptionpublic static java.lang.String toString(org.w3c.dom.Node node)
node - The Node to convert
|
Xindice API version 1.1b4 |
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||