org.apache.camel.language.xpath
Class XPathLanguage

java.lang.Object
  extended by org.apache.camel.language.xpath.XPathLanguage
All Implemented Interfaces:
Language

public class XPathLanguage
extends Object
implements Language

XPath language.

Version:
$Revision: 52373 $

Constructor Summary
XPathLanguage()
           
 
Method Summary
protected  void configureBuilder(XPathBuilder builder)
           
 Expression<Exchange> createExpression(String expression)
          Creates an expression based on the given string input
 Predicate<Exchange> createPredicate(String expression)
          Creates a predicate based on the given string input
 QName getResultType()
           
 void setResultType(QName resultType)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

XPathLanguage

public XPathLanguage()
Method Detail

createPredicate

public Predicate<Exchange> createPredicate(String expression)
Description copied from interface: Language
Creates a predicate based on the given string input

Specified by:
createPredicate in interface Language
Parameters:
expression - the expression
Returns:
the created predicate

createExpression

public Expression<Exchange> createExpression(String expression)
Description copied from interface: Language
Creates an expression based on the given string input

Specified by:
createExpression in interface Language
Parameters:
expression - the expression as a string input
Returns:
the created expression

getResultType

public QName getResultType()

setResultType

public void setResultType(QName resultType)

configureBuilder

protected void configureBuilder(XPathBuilder builder)


Copyright © 2009 IONA Open Source Community. All Rights Reserved.