public enum ExpressionType extends Enum<ExpressionType>
Enum Constant and Description |
---|
ATTRIBUTE
Expression selects an attribute.
|
ELEMENT
Expression selects an element.
|
NODE
Expression selects a node.
|
VALUE
Expression returns a value.
|
Modifier and Type | Method and Description |
---|---|
boolean |
isMustEvalAsString()
Some expressions can not be evaluated as node or node lists.
|
static ExpressionType |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static ExpressionType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final ExpressionType NODE
public static final ExpressionType ELEMENT
public static final ExpressionType ATTRIBUTE
public static final ExpressionType VALUE
public static ExpressionType[] values()
for (ExpressionType c : ExpressionType.values()) System.out.println(c);
public static ExpressionType 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 boolean isMustEvalAsString()
Copyright © 2012-12-21-2018. All Rights Reserved.