public class DOMPrinter extends Object
| Constructor and Description |
|---|
DOMPrinter() |
| Modifier and Type | Method and Description |
|---|---|
static void |
printDOM(Document d,
OutputStream os)
Print the given document and all its children.
|
static void |
printDOM(Document d,
PrintStream p)
Print the given document and all its children.
|
static void |
printNode(Node n,
OutputStream os)
Print the given node and all its children.
|
static void |
printNode(Node n,
PrintStream p)
Print the given node and all its children.
|
public static void printNode(Node n, OutputStream os)
n - The Node to print.os - The Stream to print to.public static void printNode(Node n, PrintStream p)
n - The Node to print.p - The Stream to print to.public static void printDOM(Document d, PrintStream p)
d - The Document to print.p - The Stream to print to.public static void printDOM(Document d, OutputStream os)
d - The Document to print.os - The Stream to print to.Copyright © 2015. All Rights Reserved.