public static enum XPathWrapperFactory.CacheType extends Enum<XPathWrapperFactory.CacheType>
Enum Constant and Description |
---|
NONE
No cache.
|
SIMPLE
A simple cache, keyed by XPath expression.
|
THREADSAFE
A thread-local cache, keyed by XPath expression.
|
Modifier and Type | Method and Description |
---|---|
static XPathWrapperFactory.CacheType |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static XPathWrapperFactory.CacheType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final XPathWrapperFactory.CacheType NONE
newXPath()
produces a new
instance.public static final XPathWrapperFactory.CacheType SIMPLE
public static final XPathWrapperFactory.CacheType THREADSAFE
public static XPathWrapperFactory.CacheType[] values()
for (XPathWrapperFactory.CacheType c : XPathWrapperFactory.CacheType.values()) System.out.println(c);
public static XPathWrapperFactory.CacheType 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 null