ELNode.Root (Apache Tomcat 9.0.120 API Documentation)
Description: declaration: package: org.apache.jasper.compiler, class: ELNode, class: Root

# Class ELNode.Root

java.lang.Object
org.apache.jasper.compiler.ELNode
org.apache.jasper.compiler.ELNode.Root

Enclosing class:
  `ELNode`

public static class ELNode.Root extends ELNode
Represents an EL expression: anything in ${ and }.

- ## Nested Class Summary

  ### Nested classes/interfaces inherited from class ELNode

  `ELNode.ELText, ELNode.Function, ELNode.Nodes, ELNode.Root, ELNode.Text, ELNode.Visitor`

- ## Method Summary

  Modifier and Type
  Method
  Description
  `void`
  `accept(ELNode.Visitor v)`
  Accepts a visitor for traversing this node.
  `ELNode.Nodes`
  `getExpression()`
  Returns the expression contained in this root node.
  `char`
  `getType()`
  Returns the type character of this expression.

  ### Methods inherited from class Object

  `clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait`

- ## Method Details

  - ### accept

    public void accept(ELNode.Visitor v) throws JasperException
    Description copied from class: `ELNode`
    Accepts a visitor for traversing this node.
    Specified by:
      `accept` in class `ELNode`
    Parameters:
      `v` - the visitor
    Throws:
      `JasperException` - if an error occurs during visitation

  - ### getExpression

    public ELNode.Nodes getExpression()
    Returns the expression contained in this root node.
    Returns:
      the expression nodes

  - ### getType

    public char getType()
    Returns the type character of this expression.
    Returns:
      the type character