public class DOMPrinter
extends java.lang.Object
| Constructor | Description |
|---|---|
DOMPrinter() |
| Modifier and Type | Method | Description |
|---|---|---|
static void |
printDOM(org.w3c.dom.Document d,
java.io.OutputStream os) |
Print the given document and all its children.
|
static void |
printDOM(org.w3c.dom.Document d,
java.io.PrintStream p) |
Print the given document and all its children.
|
static void |
printNode(org.w3c.dom.Node n,
java.io.OutputStream os) |
Print the given node and all its children.
|
static void |
printNode(org.w3c.dom.Node n,
java.io.PrintStream p) |
Print the given node and all its children.
|
public static void printNode(org.w3c.dom.Node n,
java.io.OutputStream os)
n - The Node to print.os - The Stream to print to.public static void printNode(org.w3c.dom.Node n,
java.io.PrintStream p)
n - The Node to print.p - The Stream to print to.public static void printDOM(org.w3c.dom.Document d,
java.io.PrintStream p)
d - The Document to print.p - The Stream to print to.public static void printDOM(org.w3c.dom.Document d,
java.io.OutputStream os)
d - The Document to print.os - The Stream to print to.