public static enum XPath.Version extends Enum<XPath.Version>
Modifier and Type | Method and Description |
---|---|
String |
getVersion() |
static XPath.Version |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static XPath.Version[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final XPath.Version V1
public static final XPath.Version V2
public static XPath.Version[] values()
for (XPath.Version c : XPath.Version.values()) System.out.println(c);
public static XPath.Version 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 String getVersion()
Copyright © 2016 JBoss by Red Hat. All rights reserved.