public enum XPathExpressionResult extends Enum<XPathExpressionResult>
| Enum Constant and Description |
|---|
BOOLEAN |
NODE |
NODESET |
NUMBER |
STRING |
| Modifier and Type | Method and Description |
|---|---|
static String |
cutOffPrefix(String expression)
Cut off the leading result type prefix in a XPath expression string.
|
static XPathExpressionResult |
fromString(String value,
XPathExpressionResult defaultResult)
Get the enumeration value from an expression string.
|
QName |
getAsQName()
Get a constant QName instance from this enumerations value.
|
static XPathExpressionResult |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static XPathExpressionResult[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final XPathExpressionResult NODE
public static final XPathExpressionResult NODESET
public static final XPathExpressionResult STRING
public static final XPathExpressionResult BOOLEAN
public static final XPathExpressionResult NUMBER
public static XPathExpressionResult[] values()
for (XPathExpressionResult c : XPathExpressionResult.values()) System.out.println(c);
public static XPathExpressionResult 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 XPathExpressionResult fromString(String value, XPathExpressionResult defaultResult)
value - public QName getAsQName()
Copyright © 2008–2015 ConSol* Consulting&Solutions GmbH. All rights reserved.