Package org.apache.jasper.compiler
Class ELNode
- java.lang.Object
-
- org.apache.jasper.compiler.ELNode
-
- Direct Known Subclasses:
ELNode.ELText,ELNode.Function,ELNode.Root,ELNode.Text
public abstract class ELNode extends java.lang.ObjectThis class defines internal representation for an EL Expression. It currently only defines functions. It can be expanded to define all the components of an EL expression, if need to.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classELNode.ELTextRepresents anything in EL expression, other than functions, including function arguments etc.static classELNode.FunctionRepresents a function.static classELNode.NodesAn ordered list of ELNode.static classELNode.RootRepresents an EL expression: anything in ${ and }.static classELNode.TextRepresents text outside of EL expression.static classELNode.VisitorA visitor class for traversing ELNodes.
-
Constructor Summary
Constructors Modifier Constructor Description protectedELNode()Creates a new ELNode instance.
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description abstract voidaccept(ELNode.Visitor v)Accepts a visitor for traversing this node.
-
-
-
Method Detail
-
accept
public abstract void accept(ELNode.Visitor v) throws JasperException
Accepts a visitor for traversing this node.- Parameters:
v- the visitor- Throws:
JasperException- if an error occurs during visitation
-
-