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

# Class ELNode.Text

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

Enclosing class:
  `ELNode`

public static class ELNode.Text extends ELNode
Represents text outside of EL expression.

- ## 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.
  `String`
  `getText()`
  Returns the text content.

  ### 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

  - ### getText

    public String getText()
    Returns the text content.
    Returns:
      the text