|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD | |||||||||
java.lang.Objectjava.lang.Enum<XmlMappingType>
net.officefloor.plugin.xml.marshall.tree.XmlMappingType
public enum XmlMappingType
Type of the
XmlMappingMetaData.
| Enum Constant Summary | |
|---|---|
ATTRIBUTE
A particular attribute for an element. |
|
ATTRIBUTES
Indicates the attributes for an element. |
|
COLLECTION
Collection of objects. |
|
ITEM
Specifies the type of object within a TYPE or
COLLECTION. |
|
OBJECT
Specific object that parents other elements. |
|
REFERENCE
Enables referencing other mappings. |
|
ROOT
Root mapping. |
|
TYPE
Generic object that has mappings specific to its sub-type implementation. |
|
VALUE
Value of an object to be contained in an element. |
|
| Method Summary | |
|---|---|
static XmlMappingType |
valueOf(String name)
Returns the enum constant of this type with the specified name. |
static XmlMappingType[] |
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 XmlMappingType ROOT
public static final XmlMappingType ATTRIBUTES
public static final XmlMappingType ATTRIBUTE
public static final XmlMappingType VALUE
public static final XmlMappingType OBJECT
public static final XmlMappingType TYPE
public static final XmlMappingType COLLECTION
public static final XmlMappingType ITEM
TYPE or
COLLECTION.
public static final XmlMappingType REFERENCE
| Method Detail |
|---|
public static XmlMappingType[] values()
for (XmlMappingType c : XmlMappingType.values()) System.out.println(c);
public static XmlMappingType 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 | |||||||||