Spring Integration

org.springframework.integration.xml.xpath
Enum XPathEvaluationType

java.lang.Object
  extended by java.lang.Enum<XPathEvaluationType>
      extended by 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


Enum Constant Summary
BOOLEAN_RESULT
           
NODE_LIST_RESULT
           
NODE_RESULT
           
NUMBER_RESULT
           
STRING_RESULT
           
 
Method Summary
abstract  Object evaluateXPath(org.springframework.xml.xpath.XPathExpression expression, Node node)
           
static XPathEvaluationType valueOf(String name)
          Returns the enum constant of this type with the specified name.
static XPathEvaluationType[] values()
          Returns an array containing the constants of this enum type, in the order they're declared.
 
Methods inherited from class java.lang.Enum
clone, compareTo, equals, getDeclaringClass, hashCode, name, ordinal, toString, valueOf
 
Methods inherited from class java.lang.Object
finalize, getClass, notify, notifyAll, wait, wait, wait
 

Enum Constant Detail

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
Method Detail

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)

Spring Integration

Copyright © 2010. All Rights Reserved.