Class Node.NamedAttribute

  • All Implemented Interfaces:
    TagConstants
    Enclosing class:
    Node

    public static class Node.NamedAttribute
    extends Node
    Represents a Named Attribute (<jsp:attribute>)
    • Field Detail

      • temporaryVariableName

        private java.lang.String temporaryVariableName
      • trim

        private boolean trim
      • name

        private java.lang.String name
      • localName

        private java.lang.String localName
      • prefix

        private java.lang.String prefix
    • Constructor Detail

      • NamedAttribute

        public NamedAttribute​(org.xml.sax.Attributes attrs,
                              Mark start,
                              Node parent)
      • NamedAttribute

        public NamedAttribute​(java.lang.String qName,
                              org.xml.sax.Attributes attrs,
                              org.xml.sax.Attributes nonTaglibXmlnsAttrs,
                              org.xml.sax.Attributes taglibAttrs,
                              Mark start,
                              Node parent)
    • Method Detail

      • accept

        public void accept​(Node.Visitor v)
                    throws JasperException
        Description copied from class: Node
        Selects and invokes a method in the visitor class based on the node type. This is abstract and should be overrode by the extending classes.
        Specified by:
        accept in class Node
        Parameters:
        v - The visitor class
        Throws:
        JasperException
      • getName

        public java.lang.String getName()
      • getLocalName

        public java.lang.String getLocalName()
        Overrides:
        getLocalName in class Node
      • getPrefix

        public java.lang.String getPrefix()
      • isTrim

        public boolean isTrim()
      • getTemporaryVariableName

        public java.lang.String getTemporaryVariableName()
        Returns:
        A unique temporary variable name to store the result in. (this probably could go elsewhere, but it's convenient here)
      • getText

        public java.lang.String getText()
        Overrides:
        getText in class Node