|
|||||||||
| Home >> All >> org >> apache >> webdav >> lib >> [ util overview ] | PREV CLASS NEXT CLASS | ||||||||
SUMMARY: JAVADOC | SOURCE | DOWNLOAD | NESTED | FIELD | CONSTR | METHOD |
DETAIL: FIELD | CONSTR | METHOD | ||||||||
org.apache.webdav.lib.util
Class XMLDebugOutputer

java.lang.Objectorg.apache.webdav.lib.util.XMLDebugOutputer
- public class XMLDebugOutputer
- extends java.lang.Object
XMLDebugOutputer helper class.
| Field Summary | |
private javax.xml.parsers.DocumentBuilder |
db
|
private javax.xml.parsers.DocumentBuilderFactory |
dbf
|
private boolean |
debug
|
private static java.lang.String |
INDENT
|
private int |
tabWidth
|
| Constructor Summary | |
XMLDebugOutputer()
Constructor |
|
| Method Summary | |
private void |
dispatchNode(org.w3c.dom.Node node,
int level)
|
private void |
indentBlock(java.lang.String block,
int level)
|
void |
print(org.w3c.dom.Document doc)
Print the given document to debug output. |
void |
print(java.lang.String xmlString)
Print the given XML string to debug output. |
private void |
printCDATANode(org.w3c.dom.Node node,
int level)
|
private void |
printCommentNode(org.w3c.dom.Node node,
int level)
|
private void |
printElementNode(org.w3c.dom.Node node,
int level)
|
private void |
printTextNode(org.w3c.dom.Node node,
int level)
|
void |
setDebug(boolean debug)
Set debug information. |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
INDENT
private static final java.lang.String INDENT
- See Also:
- Constant Field Values
tabWidth
private int tabWidth
debug
private boolean debug
dbf
private javax.xml.parsers.DocumentBuilderFactory dbf
db
private javax.xml.parsers.DocumentBuilder db
| Constructor Detail |
XMLDebugOutputer
public XMLDebugOutputer()
- Constructor
| Method Detail |
public void print(org.w3c.dom.Document doc)
- Print the given document to debug output. If debug is set to true;
public void print(java.lang.String xmlString)
- Print the given XML string to debug output. If debug is set to true;
setDebug
public void setDebug(boolean debug)
- Set debug information.
dispatchNode
private void dispatchNode(org.w3c.dom.Node node, int level)
printCDATANode
private void printCDATANode(org.w3c.dom.Node node, int level)
printTextNode
private void printTextNode(org.w3c.dom.Node node, int level)
printCommentNode
private void printCommentNode(org.w3c.dom.Node node, int level)
printElementNode
private void printElementNode(org.w3c.dom.Node node, int level)
indentBlock
private void indentBlock(java.lang.String block, int level)
|
|||||||||
| Home >> All >> org >> apache >> webdav >> lib >> [ util overview ] | PREV CLASS NEXT CLASS | ||||||||
SUMMARY: JAVADOC | SOURCE | DOWNLOAD | NESTED | FIELD | CONSTR | METHOD |
DETAIL: FIELD | CONSTR | METHOD | ||||||||
JAVADOC
org.apache.webdav.lib.util.XMLDebugOutputer