|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD |
java.lang.Objectjava.lang.Enum<Options.Target>
com.sun.tools.ws.wscompile.Options.Target
public static enum Options.Target
Enum Constant Summary | |
---|---|
V2_0
|
|
V2_1
|
Method Summary | |
---|---|
String |
getVersion()
Gives the String representation of the Options.Target |
boolean |
isLaterThan(Options.Target t)
Returns true if this version is equal or later than the given one. |
static Options.Target |
parse(String token)
Parses "2.0" and "2.1" into the Options.Target object. |
static Options.Target |
valueOf(String name)
Returns the enum constant of this type with the specified name. |
static Options.Target[] |
values()
Returns an array containing the constants of this enum type, in the order they are declared. |
Methods inherited from class java.lang.Enum |
---|
clone, compareTo, equals, finalize, getDeclaringClass, hashCode, name, ordinal, toString, valueOf |
Methods inherited from class java.lang.Object |
---|
getClass, notify, notifyAll, wait, wait, wait |
Enum Constant Detail |
---|
public static final Options.Target V2_0
public static final Options.Target V2_1
Method Detail |
---|
public static Options.Target[] values()
for (Options.Target c : Options.Target.values()) System.out.println(c);
public static Options.Target valueOf(String name)
name
- the name of the enum constant to be returned.
IllegalArgumentException
- if this enum type has no constant
with the specified name
NullPointerException
- if the argument is nullpublic boolean isLaterThan(Options.Target t)
public static Options.Target parse(String token)
Options.Target
object.
public String getVersion()
Options.Target
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD |