public abstract class XmlNode
extends java.lang.Object
Abstract base class for XML nodes.
Modifier and Type | Field and Description |
---|---|
static int |
TYPE_COMMENT
Node type constant for comment nodes.
|
static int |
TYPE_ELEMENT
Node type constant for element nodes.
|
static int |
TYPE_PROCESSING_INSTRUCTION
Node type constant for processing instruction nodes.
|
static int |
TYPE_TEXT
Node type constant for text nodes.
|
Constructor and Description |
---|
XmlNode() |
Modifier and Type | Method and Description |
---|---|
abstract int |
getType()
Return a numeric code to represent this node type.
|
public static final int TYPE_COMMENT
Node type constant for comment nodes.
public static final int TYPE_ELEMENT
Node type constant for element nodes.
public static final int TYPE_TEXT
Node type constant for text nodes.
public static final int TYPE_PROCESSING_INSTRUCTION
Node type constant for processing instruction nodes.