org.exolab.adaptx.xslt.dom
public class XPNWriter extends Object
Version: $Revision: 3742 $ $Date: 2003-05-13 04:04:42 -0400 (Tue, 13 May 2003) $
Constructor Summary | |
---|---|
XPNWriter(OutputStream os)
Creates a new XPNReader for the given URILocation.
|
Method Summary | |
---|---|
void | setEncoding(String encoding)
Sets the character encoding to use
|
void | setIndentation(boolean indent)
Sets a flag which controls writer specific indentation
|
void | write(XPathNode node)
Writes an XML document representation from the given XPathNode
|
Parameters: location the URILocation to create this reader for.
Parameters: encoding the character encoding to use
Parameters: indent a flag that when true indicates that the writer should "indent" where possible the start and end tags to make the XML easier to read for human consumption.
Parameters: node the XPathNode to write