public enum XmlToken extends Enum<XmlToken>
Enum Constant and Description |
---|
All |
Digest |
DigestAlgorithm |
ExactlyOne |
Ignorable |
Name |
Optional |
Policy |
PolicyReference |
PolicyUris |
UNKNOWN |
Uri |
UsingPolicy |
Modifier and Type | Method and Description |
---|---|
boolean |
isElement() |
static XmlToken |
resolveToken(String name)
Resolves URI represented as a String into an enumeration value.
|
String |
toString() |
static XmlToken |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static XmlToken[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final XmlToken Policy
public static final XmlToken ExactlyOne
public static final XmlToken All
public static final XmlToken PolicyReference
public static final XmlToken UsingPolicy
public static final XmlToken Name
public static final XmlToken Optional
public static final XmlToken Ignorable
public static final XmlToken PolicyUris
public static final XmlToken Uri
public static final XmlToken Digest
public static final XmlToken DigestAlgorithm
public static final XmlToken UNKNOWN
public static XmlToken[] values()
for (XmlToken c : XmlToken.values()) System.out.println(c);
public static XmlToken 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 static XmlToken resolveToken(String name)
null
uri
- null
if
no enumeration value exists for given URI.public boolean isElement()
Copyright © 2006–2014 Oracle Corporation. All rights reserved.