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