public static enum ConnectionInstance.Tag extends java.lang.Enum<ConnectionInstance.Tag>
Enum Constant and Description |
---|
CONNECTION_PROPERTIES
connection-properties tag
|
DESCRIPTION
description tag
|
JNDI_NAME
jndi-name tag
|
UNKNOWN
always first
|
Modifier and Type | Method and Description |
---|---|
static ConnectionInstance.Tag |
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 ConnectionInstance.Tag |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static ConnectionInstance.Tag[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final ConnectionInstance.Tag UNKNOWN
public static final ConnectionInstance.Tag DESCRIPTION
public static final ConnectionInstance.Tag JNDI_NAME
public static final ConnectionInstance.Tag CONNECTION_PROPERTIES
public static ConnectionInstance.Tag[] values()
for (ConnectionInstance.Tag c : ConnectionInstance.Tag.values()) System.out.println(c);
public static ConnectionInstance.Tag 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<ConnectionInstance.Tag>
public static ConnectionInstance.Tag 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)