public enum XmlType extends Enum<XmlType>
Enum Constant and Description |
---|
ATTRIBUTE
An XML attribute
|
DEFAULT
The default XML type defined by
beanio.properties . |
ELEMENT
An XML element
|
NONE
The component is tied to an XML attribute or element
|
TEXT
Text contained within an XML element
|
Modifier and Type | Method and Description |
---|---|
String |
toString() |
String |
toValue()
Returns the BeanIO configuration name for this XML type.
|
static XmlType |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static XmlType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final XmlType ELEMENT
public static final XmlType ATTRIBUTE
public static final XmlType TEXT
public static final XmlType NONE
public static final XmlType DEFAULT
beanio.properties
.public static XmlType[] values()
for (XmlType c : XmlType.values()) System.out.println(c);
public static XmlType 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 nullpublic String toValue()