org.apache.camel.language.simple.ast
Class LogicalExpression

java.lang.Object
  extended by org.apache.camel.language.simple.ast.BaseSimpleNode
      extended by org.apache.camel.language.simple.ast.LogicalExpression
All Implemented Interfaces:
SimpleNode

public class LogicalExpression
extends BaseSimpleNode

Represents a logical expression in the AST


Field Summary
 
Fields inherited from class org.apache.camel.language.simple.ast.BaseSimpleNode
token
 
Constructor Summary
LogicalExpression(SimpleToken token)
           
 
Method Summary
 boolean acceptLeftNode(SimpleNode lef)
           
 boolean acceptRightNode(SimpleNode right)
           
 Expression createExpression(String expression)
          Creates a Camel Expression based on this model.
 LogicalOperatorType getOperator()
           
 String toString()
           
 
Methods inherited from class org.apache.camel.language.simple.ast.BaseSimpleNode
getToken
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

LogicalExpression

public LogicalExpression(SimpleToken token)
Method Detail

toString

public String toString()
Overrides:
toString in class BaseSimpleNode

acceptLeftNode

public boolean acceptLeftNode(SimpleNode lef)

acceptRightNode

public boolean acceptRightNode(SimpleNode right)

getOperator

public LogicalOperatorType getOperator()

createExpression

public Expression createExpression(String expression)
Description copied from interface: SimpleNode
Creates a Camel Expression based on this model.

Parameters:
expression - the input string
Returns:
the created Expression


Apache Camel