Xindice API

org.apache.xindice.server
Class Kernel.TextWriter

java.lang.Object
  |
  +--org.apache.xindice.server.Kernel.TextWriter
Enclosing class:
Kernel

public final class Kernel.TextWriter
extends java.lang.Object

TextWriter takes a Document, DocumentFragment, or Element and streams it as text to an output source (or a String) -- Stolen from org.apache.xindice.xml


Constructor Summary
Kernel.TextWriter(org.w3c.dom.Node node)
           
 
Method Summary
 void write(java.io.OutputStream output)
          write writes the node to the OutputStream as text.
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Kernel.TextWriter

public Kernel.TextWriter(org.w3c.dom.Node node)
                  throws org.w3c.dom.DOMException
Method Detail

write

public void write(java.io.OutputStream output)
           throws java.io.IOException
write writes the node to the OutputStream as text.
Parameters:
output - The OutputStream to write to

Xindice API

Copyright (c) 1999-2001 The Apache Software Foundation