Class Node.NamedAttribute

All Implemented Interfaces:
TagConstants
Enclosing class:
Node

public static class Node.NamedAttribute extends Node.ChildInfoBase
Represents a Named Attribute (<jsp:attribute>)
  • Method Details

    • accept

      public void accept(Node.Visitor v) throws JasperException
      Throws:
      JasperException
    • getName

      public String getName()
      Returns the name of this named attribute.
      Returns:
      The attribute name
    • getLocalName

      public String getLocalName()
      Description copied from class: Node
      Returns the local name of this node.
      Overrides:
      getLocalName in class Node
      Returns:
      The local name
    • getPrefix

      public String getPrefix()
      Returns the prefix of this named attribute.
      Returns:
      The attribute prefix
    • isTrim

      public boolean isTrim()
      Returns whether this named attribute should be trimmed.
      Returns:
      true if trimming is enabled
    • setOmit

      public void setOmit(Node.JspAttribute omit)
      Sets the omit attribute for this named attribute.
      Parameters:
      omit - The omit attribute to set
    • getOmit

      public Node.JspAttribute getOmit()
      Returns the omit attribute of this named attribute.
      Returns:
      The omit attribute
    • getTemporaryVariableName

      public String getTemporaryVariableName()
      Returns a unique temporary variable name to store the result in.
      Returns:
      A unique temporary variable name
    • getText

      public String getText()
      Description copied from class: Node
      Returns the text content of this node.
      Overrides:
      getText in class Node
      Returns:
      The text content