de.odysseus.el.tree.impl.ast
Class AstBracket

java.lang.Object
  extended by de.odysseus.el.tree.impl.ast.AstNode
      extended by de.odysseus.el.tree.impl.ast.AstProperty
          extended by de.odysseus.el.tree.impl.ast.AstBracket
All Implemented Interfaces:
ExpressionNode, Node

public final class AstBracket
extends AstProperty


Constructor Summary
AstBracket(AstNode base, AstNode property, boolean lvalue, boolean strict)
           
 
Method Summary
 void appendStructure(java.lang.StringBuilder b, Bindings bindings)
           
 int getCardinality()
          Get the node's number of children.
 AstNode getChild(int i)
          Get i'th child
protected  java.lang.Object getProperty(Bindings bindings, ELContext context)
           
 java.lang.String toString()
           
 
Methods inherited from class de.odysseus.el.tree.impl.ast.AstProperty
eval, getMethodInfo, getType, invoke, isLeftValue, isLiteralText, isReadOnly, setValue
 
Methods inherited from class de.odysseus.el.tree.impl.ast.AstNode
getStructuralId, getValue
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

AstBracket

public AstBracket(AstNode base,
                  AstNode property,
                  boolean lvalue,
                  boolean strict)
Method Detail

getProperty

protected java.lang.Object getProperty(Bindings bindings,
                                       ELContext context)
                                throws ELException
Specified by:
getProperty in class AstProperty
Throws:
ELException

toString

public java.lang.String toString()
Overrides:
toString in class java.lang.Object

appendStructure

public void appendStructure(java.lang.StringBuilder b,
                            Bindings bindings)
Specified by:
appendStructure in class AstNode

getCardinality

public int getCardinality()
Description copied from interface: Node
Get the node's number of children.


getChild

public AstNode getChild(int i)
Description copied from interface: Node
Get i'th child

Specified by:
getChild in interface Node
Overrides:
getChild in class AstProperty

Copyright © 2006, 2007 Odysseus Software GmbH.