Enum XmlMappingType
- java.lang.Object
-
- java.lang.Enum<XmlMappingType>
-
- net.officefloor.plugin.xml.unmarshall.tree.XmlMappingType
-
- All Implemented Interfaces:
java.io.Serializable
,java.lang.Comparable<XmlMappingType>
public enum XmlMappingType extends java.lang.Enum<XmlMappingType>
Type of theXmlMappingMetaData
.- Author:
- Daniel Sagenschneider
-
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static XmlMappingType
valueOf(java.lang.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.
-
-
-
Enum Constant Detail
-
ROOT
public static final XmlMappingType ROOT
Root mapping.
-
VALUE
public static final XmlMappingType VALUE
Value to loaded onto an object.
-
OBJECT
public static final XmlMappingType OBJECT
A new child object.
-
REFERENCE
public static final XmlMappingType REFERENCE
Reference to another mapping.
-
STATIC
public static final XmlMappingType STATIC
Static value loaded onto an object.
-
-
Method Detail
-
values
public static XmlMappingType[] values()
Returns an array containing the constants of this enum type, in the order they are declared. This method may be used to iterate over the constants as follows:for (XmlMappingType c : XmlMappingType.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static XmlMappingType valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)- Parameters:
name
- the name of the enum constant to be returned.- Returns:
- the enum constant with the specified name
- Throws:
java.lang.IllegalArgumentException
- if this enum type has no constant with the specified namejava.lang.NullPointerException
- if the argument is null
-
-