public static enum XML.IconTag extends java.lang.Enum<XML.IconTag>
Enum Constant and Description |
---|
LARGE_ICON
large-icon tag
|
SMALL_ICON
small-icon tag
|
UNKNOWN
always first
|
Modifier and Type | Method and Description |
---|---|
static XML.IconTag |
forName(java.lang.String localName)
Static method to get enum instance given localName string
|
java.lang.String |
getLocalName()
Get the local name of this element.
|
java.lang.String |
toString() |
static XML.IconTag |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static XML.IconTag[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final XML.IconTag UNKNOWN
public static final XML.IconTag SMALL_ICON
public static final XML.IconTag LARGE_ICON
public static XML.IconTag[] values()
for (XML.IconTag c : XML.IconTag.values()) System.out.println(c);
public static XML.IconTag valueOf(java.lang.String name)
name
- the name of the enum constant to be returned.java.lang.IllegalArgumentException
- if this enum type has no constant with the specified namejava.lang.NullPointerException
- if the argument is nullpublic java.lang.String getLocalName()
public java.lang.String toString()
toString
in class java.lang.Enum<XML.IconTag>
public static XML.IconTag forName(java.lang.String localName)
localName
- a string used as localname (typically tag name as defined in xsd)Copyright © 2014 IronJacamar (http://www.ironjacamar.org)