public enum XmlItemType extends Enum<XmlItemType>
XmlItem.| Enum Constant and Description |
|---|
ELEMENT_END
Denotes that the xml item is the end of a xml element.
|
ELEMENT_START
Denotes that the xml item is the start of a xml element.
|
NONE
Used in cases when there is no xml item and thus no xml item type.
|
TEXT_CONTENT
Denotes that the xml item represents text content (consecutive character nodes and CDATA sections).
|
UNKNOWN
Denotes that the type of xml item is not supported.
|
| Modifier and Type | Method and Description |
|---|---|
static XmlItemType |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static XmlItemType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final XmlItemType NONE
public static final XmlItemType UNKNOWN
public static final XmlItemType ELEMENT_START
public static final XmlItemType ELEMENT_END
public static final XmlItemType TEXT_CONTENT
public static XmlItemType[] values()
for (XmlItemType c : XmlItemType.values()) System.out.println(c);
public static XmlItemType 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 © 2014. All rights reserved.