org.apache.wsrp4j.util
Class DOMSupport
java.lang.Object
org.apache.wsrp4j.util.DOMSupport
- public final class DOMSupport
- extends java.lang.Object
- Version:
- $Id: DOMSupport.java,v 1.5 2005/08/12 12:56:53 cziegeler Exp $
|
Method Summary |
static void |
dumpDOMNode(java.io.PrintWriter outputTarget,
org.w3c.dom.Node node,
short textNodeOutputOption,
short commentNodeOutputOption,
boolean terseOutput,
boolean displayHashcodes,
int depth,
java.util.BitSet siblingsAtDepth)
|
static void |
dumpDOMTree(java.io.PrintWriter outputTarget,
org.w3c.dom.Node rootNode,
short textNodeOutputOption,
short commentNodeOutputOption,
boolean terseOutput,
boolean displayHashcodes)
|
static void |
exportDOMNode(java.io.Writer outputTarget,
org.w3c.dom.Node node)
|
static void |
exportDOMNode(java.io.Writer outputTarget,
org.w3c.dom.Node node,
int indentLevel)
|
static void |
exportDOMTree(java.io.Writer outputTarget,
org.w3c.dom.Node rootNode)
|
static org.w3c.dom.Element |
fetchURL(java.net.URL url)
Insert the method's description here. |
static org.w3c.dom.Document |
getOwnerDocument(org.w3c.dom.Node node)
|
private static java.lang.String |
normalize(java.lang.String s)
Normalizes the given string. |
static java.lang.String |
translateDOMException(org.w3c.dom.DOMException e)
|
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
OUTPUT_DOM_TREE_IGNORE_TEXT_NODES
public static final short OUTPUT_DOM_TREE_IGNORE_TEXT_NODES
- See Also:
- Constant Field Values
OUTPUT_DOM_TREE_OUTPUT_TEXT_NODES_HIDE_CONTENT
public static final short OUTPUT_DOM_TREE_OUTPUT_TEXT_NODES_HIDE_CONTENT
- See Also:
- Constant Field Values
OUTPUT_DOM_TREE_OUTPUT_TEXT_NODES_FULLY
public static final short OUTPUT_DOM_TREE_OUTPUT_TEXT_NODES_FULLY
- See Also:
- Constant Field Values
OUTPUT_DOM_TREE_IGNORE_COMMENT_NODES
public static final short OUTPUT_DOM_TREE_IGNORE_COMMENT_NODES
- See Also:
- Constant Field Values
OUTPUT_DOM_TREE_OUTPUT_COMMENT_NODES_HIDE_CONTENT
public static final short OUTPUT_DOM_TREE_OUTPUT_COMMENT_NODES_HIDE_CONTENT
- See Also:
- Constant Field Values
OUTPUT_DOM_TREE_OUTPUT_COMMENT_NODES_FULLY
public static final short OUTPUT_DOM_TREE_OUTPUT_COMMENT_NODES_FULLY
- See Also:
- Constant Field Values
MAX_PRINTABLE_TREE_DEPTH
private static final int MAX_PRINTABLE_TREE_DEPTH
- See Also:
- Constant Field Values
DOMSupport
public DOMSupport()
dumpDOMNode
public static void dumpDOMNode(java.io.PrintWriter outputTarget,
org.w3c.dom.Node node,
short textNodeOutputOption,
short commentNodeOutputOption,
boolean terseOutput,
boolean displayHashcodes,
int depth,
java.util.BitSet siblingsAtDepth)
dumpDOMTree
public static void dumpDOMTree(java.io.PrintWriter outputTarget,
org.w3c.dom.Node rootNode,
short textNodeOutputOption,
short commentNodeOutputOption,
boolean terseOutput,
boolean displayHashcodes)
exportDOMNode
public static void exportDOMNode(java.io.Writer outputTarget,
org.w3c.dom.Node node)
exportDOMNode
public static void exportDOMNode(java.io.Writer outputTarget,
org.w3c.dom.Node node,
int indentLevel)
exportDOMTree
public static void exportDOMTree(java.io.Writer outputTarget,
org.w3c.dom.Node rootNode)
fetchURL
public static org.w3c.dom.Element fetchURL(java.net.URL url)
throws java.io.IOException
- Insert the method's description here.
Creation date: (4/18/00 8:04:58 PM)
- Parameters:
url - java.net.URL
- Returns:
- org.w3c.dom.Element
- Throws:
java.io.IOException
getOwnerDocument
public static org.w3c.dom.Document getOwnerDocument(org.w3c.dom.Node node)
normalize
private static java.lang.String normalize(java.lang.String s)
- Normalizes the given string.
translateDOMException
public static java.lang.String translateDOMException(org.w3c.dom.DOMException e)
--