public static enum DOMNode.Type extends Enum<DOMNode.Type>
Enum Constant and Description |
---|
ATTRIBUTE |
CDATA_SECTION |
COMMENT |
DOCUMENT |
DOCUMENT_FRAGMENT |
DOCUMENT_TYPE |
ELEMENT |
ENTITY |
ENTITY_REFERENCE |
NOTATION |
PROCESSING_INSTRUCTION |
TEXT |
Modifier and Type | Method and Description |
---|---|
Integer |
asNumber() |
static DOMNode.Type |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static DOMNode.Type[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final DOMNode.Type ELEMENT
public static final DOMNode.Type ATTRIBUTE
public static final DOMNode.Type TEXT
public static final DOMNode.Type CDATA_SECTION
public static final DOMNode.Type ENTITY_REFERENCE
public static final DOMNode.Type ENTITY
public static final DOMNode.Type PROCESSING_INSTRUCTION
public static final DOMNode.Type COMMENT
public static final DOMNode.Type DOCUMENT
public static final DOMNode.Type DOCUMENT_TYPE
public static final DOMNode.Type DOCUMENT_FRAGMENT
public static final DOMNode.Type NOTATION
public static DOMNode.Type[] values()
for (DOMNode.Type c : DOMNode.Type.values()) System.out.println(c);
public static DOMNode.Type valueOf(String name)
name
- the name of the enum constant to be returned.IllegalArgumentException
- if this enum type has no constant with the specified nameNullPointerException
- if the argument is nullpublic Integer asNumber()
Copyright © 2020 OXPath Team. All rights reserved.