org.apache.el.parser

Interface Node

public interface Node

Version: $Change: 181177 $$DateTime: 2001/06/26 08:45:09 $$Author: markt $

Author: Jacob Hookom [jacob@hookom.net]

Method Summary
voidaccept(NodeVisitor visitor)
StringgetImage()
MethodInfogetMethodInfo(EvaluationContext ctx, Class[] paramTypes)
ClassgetType(EvaluationContext ctx)
ObjectgetValue(EvaluationContext ctx)
Objectinvoke(EvaluationContext ctx, Class[] paramTypes, Object[] paramValues)
booleanisReadOnly(EvaluationContext ctx)
voidjjtAddChild(Node n, int i)
This method tells the node to add its argument to the node's list of children.
voidjjtClose()
This method is called after all the child nodes have been added.
NodejjtGetChild(int i)
This method returns a child node.
intjjtGetNumChildren()
Return the number of children the node has.
NodejjtGetParent()
voidjjtOpen()
This method is called after the node has been made the current node.
voidjjtSetParent(Node n)
This pair of methods are used to inform the node of its parent.
voidsetValue(EvaluationContext ctx, Object value)

Method Detail

accept

public void accept(NodeVisitor visitor)

getImage

public String getImage()

getMethodInfo

public MethodInfo getMethodInfo(EvaluationContext ctx, Class[] paramTypes)

getType

public Class getType(EvaluationContext ctx)

getValue

public Object getValue(EvaluationContext ctx)

invoke

public Object invoke(EvaluationContext ctx, Class[] paramTypes, Object[] paramValues)

isReadOnly

public boolean isReadOnly(EvaluationContext ctx)

jjtAddChild

public void jjtAddChild(Node n, int i)
This method tells the node to add its argument to the node's list of children.

jjtClose

public void jjtClose()
This method is called after all the child nodes have been added.

jjtGetChild

public Node jjtGetChild(int i)
This method returns a child node. The children are numbered from zero, left to right.

jjtGetNumChildren

public int jjtGetNumChildren()
Return the number of children the node has.

jjtGetParent

public Node jjtGetParent()

jjtOpen

public void jjtOpen()
This method is called after the node has been made the current node. It indicates that child nodes can now be added to it.

jjtSetParent

public void jjtSetParent(Node n)
This pair of methods are used to inform the node of its parent.

setValue

public void setValue(EvaluationContext ctx, Object value)
Copyright © 2000-2011 Apache Software Foundation. All Rights Reserved.