public enum XmlNodeType extends Enum<XmlNodeType>
Enum Constant and Description |
---|
ATTRIBUTE |
COMMENT |
DOCUMENT |
DOCUMENT_TYPE |
ELEMENT |
PROCESSING_INSTRUCTION |
TEXT |
Modifier and Type | Method and Description |
---|---|
static XmlNodeType |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static XmlNodeType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final XmlNodeType ELEMENT
public static final XmlNodeType ATTRIBUTE
public static final XmlNodeType DOCUMENT
public static final XmlNodeType TEXT
public static final XmlNodeType COMMENT
public static final XmlNodeType PROCESSING_INSTRUCTION
public static final XmlNodeType DOCUMENT_TYPE
public static XmlNodeType[] values()
for (XmlNodeType c : XmlNodeType.values()) System.out.println(c);
public static XmlNodeType 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 nullCopyright © 2010–2015 JBoss by Red Hat. All rights reserved.