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 Detail

      • getName

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

        public java.lang.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 java.lang.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 java.lang.String getTemporaryVariableName()
        Returns a unique temporary variable name to store the result in.
        Returns:
        A unique temporary variable name
      • getText

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