|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD |
java.lang.Objectjava.lang.Enum<XmlNodeType>
net.sf.jsefa.xml.mapping.XmlNodeType
public enum XmlNodeType
Enum class declaring the different xml node types.
Enum Constant Summary | |
---|---|
ATTRIBUTE
node type for xml attributes. |
|
ELEMENT
node type for xml elements. |
|
TEXT_CONTENT
node type for the content of non-simple xml elements without child elements. |
Method Summary | |
---|---|
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. |
Methods inherited from class java.lang.Enum |
---|
clone, compareTo, equals, finalize, getDeclaringClass, hashCode, name, ordinal, toString, valueOf |
Methods inherited from class java.lang.Object |
---|
getClass, notify, notifyAll, wait, wait, wait |
Enum Constant Detail |
---|
public static final XmlNodeType ELEMENT
public static final XmlNodeType ATTRIBUTE
public static final XmlNodeType TEXT_CONTENT
Method Detail |
---|
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 name
NullPointerException
- if the argument is null
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD |