org.springframework.integration.xml.xpath
Enum XPathEvaluationType
java.lang.Object
java.lang.Enum<XPathEvaluationType>
org.springframework.integration.xml.xpath.XPathEvaluationType
- All Implemented Interfaces:
- Serializable, Comparable<XPathEvaluationType>
public enum XPathEvaluationType
- extends Enum<XPathEvaluationType>
Enumeration of different types o XPath evaluation used to indicate the type of evaluation that should be carried out
using a provided XPath expression
BOOLEAN_RESULT
public static final XPathEvaluationType BOOLEAN_RESULT
STRING_RESULT
public static final XPathEvaluationType STRING_RESULT
NUMBER_RESULT
public static final XPathEvaluationType NUMBER_RESULT
NODE_RESULT
public static final XPathEvaluationType NODE_RESULT
NODE_LIST_RESULT
public static final XPathEvaluationType NODE_LIST_RESULT
values
public static final XPathEvaluationType[] values()
- Returns an array containing the constants of this enum type, in
the order they're declared. This method may be used to iterate
over the constants as follows:
for(XPathEvaluationType c : XPathEvaluationType.values())
System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in
the order they're declared
valueOf
public static XPathEvaluationType valueOf(String name)
- Returns the enum constant of this type with the specified name.
The string must match exactly an identifier used to declare an
enum constant in this type. (Extraneous whitespace characters are
not permitted.)
- Parameters:
name
- the name of the enum constant to be returned.
- Returns:
- the enum constant with the specified name
- Throws:
IllegalArgumentException
- if this enum type has no constant
with the specified name
evaluateXPath
public abstract Object evaluateXPath(org.springframework.xml.xpath.XPathExpression expression,
Node node)
Copyright © 2010. All Rights Reserved.