jd.xml.xpath.expr.misc
Class ParenthesisExpression

java.lang.Object
  extended byjd.xml.xpath.expr.ExpressionImpl
      extended byjd.xml.xpath.expr.misc.ProxyExpression
          extended byjd.xml.xpath.expr.misc.ParenthesisExpression
All Implemented Interfaces:
Expression

public class ParenthesisExpression
extends ProxyExpression

ParenthesisExpression represents the Expression of the production rule '(' Expr ')'. It is not of any use for evaluating expressions, but rather for producing a correct string when serializing a expression.


Field Summary
 
Fields inherited from class jd.xml.xpath.expr.misc.ProxyExpression
expr_
 
Fields inherited from interface jd.xml.xpath.expr.Expression
DEP_CONTEXT_NODE, DEP_CONTEXT_POSITION, DEP_CONTEXT_SIZE, DEP_CONTEXT_STATIC, DEP_NONE, DEP_UNKNOWN
 
Constructor Summary
ParenthesisExpression(Expression expr)
           
 
Method Summary
 void accept(ExpressionVisitor visitor)
          Accept a ExpressionVisitor.
 
Methods inherited from class jd.xml.xpath.expr.misc.ProxyExpression
getContextDependencies, getExpression, getResultType, isUniqueFilter, matchesFilter, toBooleanValue, toNumberValue, toStringValue, toXObject
 
Methods inherited from class jd.xml.xpath.expr.ExpressionImpl
hasContextDependencies, toNode, toNodeSet, toString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

ParenthesisExpression

public ParenthesisExpression(Expression expr)
Method Detail

accept

public void accept(ExpressionVisitor visitor)
Description copied from interface: Expression
Accept a ExpressionVisitor.

Specified by:
accept in interface Expression
Overrides:
accept in class ProxyExpression