org.apache.camel.language.jxpath
Class JXPathLanguage

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

public class JXPathLanguage
extends Object
implements Language, IsSingleton

JXPath Language provider


Constructor Summary
JXPathLanguage()
           
 
Method Summary
 Expression createExpression(String expression)
          Creates an expression based on the given string input
 Predicate createPredicate(String predicate)
          Creates a predicate based on the given string input
 boolean isSingleton()
          Whether this class supports being singleton or not.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

JXPathLanguage

public JXPathLanguage()
Method Detail

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

createPredicate

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

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

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.


Copyright © 2007-2010 IONA Open Source Community. All Rights Reserved.