|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcx.ath.matthew.io.DOMPrinter
public class DOMPrinter
Print a DOM tree to the given OutputStream
Constructor Summary | |
---|---|
DOMPrinter()
|
Method Summary | |
---|---|
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. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public DOMPrinter()
Method Detail |
---|
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.
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |