org.apache.camel.language.xpath
Class XPathLanguage

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

public class XPathLanguage
extends Object
implements Language, IsSingleton

XPath language.


Constructor Summary
XPathLanguage()
           
 
Method Summary
protected  void configureBuilder(XPathBuilder builder)
           
 Expression createExpression(String expression)
          Creates an expression based on the given string input
 Predicate createPredicate(String expression)
          Creates a predicate based on the given string input
 String getObjectModelUri()
           
 QName getResultType()
           
 Boolean getUseSaxon()
           
 XPathFactory getXpathFactory()
           
 boolean isSingleton()
          Whether this class supports being singleton or not.
 Boolean isUseSaxon()
           
 void setObjectModelUri(String objectModelUri)
           
 void setResultType(QName resultType)
           
 void setUseSaxon(Boolean useSaxon)
           
 void setXpathFactory(XPathFactory xpathFactory)
           
 
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 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 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)

getXpathFactory

public XPathFactory getXpathFactory()

setXpathFactory

public void setXpathFactory(XPathFactory xpathFactory)

setUseSaxon

public void setUseSaxon(Boolean useSaxon)

getUseSaxon

public Boolean getUseSaxon()

isUseSaxon

public Boolean isUseSaxon()

getObjectModelUri

public String getObjectModelUri()

setObjectModelUri

public void setObjectModelUri(String objectModelUri)

configureBuilder

protected void configureBuilder(XPathBuilder builder)

isSingleton

public boolean isSingleton()
Description copied from interface: IsSingleton
Whether this class supports being singleton or not.

Specified by:
isSingleton in interface IsSingleton
Returns:
true to be a single shared instance, false to create new instances.


Apache CAMEL