public class DOM
extends java.lang.Object
Title: WHEX
Description:
Copyright: Copyright (c) 2003
Company:
Modifier and Type | Field and Description |
---|---|
static short |
ATTR_TYPE |
static short |
CDATA_TYPE |
static short |
COMMENT_TYPE |
static short |
DOCFRAG_TYPE |
static short |
DOCTYPE_TYPE |
static short |
DOCUMENT_TYPE |
static short |
ELEMENT_TYPE |
static short |
ENTITY_TYPE |
static short |
ENTITYREF_TYPE |
static short |
NOTATION_TYPE |
static short |
PROCINSTR_TYPE |
static short |
TEXT_TYPE |
static java.lang.String[] |
typeName |
Constructor and Description |
---|
DOM() |
Modifier and Type | Method and Description |
---|---|
static int |
getCountOfChildNodesOfType(org.w3c.dom.Node n,
short type) |
static org.w3c.dom.Node |
getFirstChildNodeWithName(org.w3c.dom.Node n,
java.lang.String nodeName) |
static java.lang.String |
getTextFromDOMElement(org.w3c.dom.Node node) |
public static final java.lang.String[] typeName
public static final short ELEMENT_TYPE
public static final short ATTR_TYPE
public static final short TEXT_TYPE
public static final short CDATA_TYPE
public static final short ENTITYREF_TYPE
public static final short ENTITY_TYPE
public static final short PROCINSTR_TYPE
public static final short COMMENT_TYPE
public static final short DOCUMENT_TYPE
public static final short DOCTYPE_TYPE
public static final short DOCFRAG_TYPE
public static final short NOTATION_TYPE
public static java.lang.String getTextFromDOMElement(org.w3c.dom.Node node)
public static org.w3c.dom.Node getFirstChildNodeWithName(org.w3c.dom.Node n, java.lang.String nodeName)
public static int getCountOfChildNodesOfType(org.w3c.dom.Node n, short type)