Class Node

    • Field Detail

      • attrs

        protected org.xml.sax.Attributes attrs
      • taglibAttrs

        protected org.xml.sax.Attributes taglibAttrs
      • nonTaglibXmlnsAttrs

        protected org.xml.sax.Attributes nonTaglibXmlnsAttrs
      • text

        protected java.lang.String text
      • startMark

        protected Mark startMark
      • beginJavaLine

        protected int beginJavaLine
      • endJavaLine

        protected int endJavaLine
      • parent

        protected Node parent
      • namedAttributeNodes

        protected Node.Nodes namedAttributeNodes
      • qName

        protected java.lang.String qName
      • localName

        protected java.lang.String localName
      • innerClassName

        protected java.lang.String innerClassName
    • Method Detail

      • getQName

        public java.lang.String getQName()
      • getLocalName

        public java.lang.String getLocalName()
      • getAttributes

        public org.xml.sax.Attributes getAttributes()
      • getTaglibAttributes

        public org.xml.sax.Attributes getTaglibAttributes()
      • getNonTaglibXmlnsAttributes

        public org.xml.sax.Attributes getNonTaglibXmlnsAttributes()
      • setAttributes

        public void setAttributes​(org.xml.sax.Attributes attrs)
      • getAttributeValue

        public java.lang.String getAttributeValue​(java.lang.String name)
      • getTextAttribute

        public java.lang.String getTextAttribute​(java.lang.String name)
        Get the attribute that is non request time expression, either from the attribute of the node, or from a jsp:attribute
        Parameters:
        name - The name of the attribute
        Returns:
        The attribute value
      • getNamedAttributeNode

        public Node.NamedAttribute getNamedAttributeNode​(java.lang.String name)
        Searches all sub-nodes of this node for jsp:attribute standard actions with the given name.

        This should always be called and only be called for nodes that accept dynamic runtime attribute expressions.

        Parameters:
        name - The name of the attribute
        Returns:
        the NamedAttribute node of the matching named attribute, nor null if no such node is found.
      • getNamedAttributeNodes

        public Node.Nodes getNamedAttributeNodes()
        Searches all subnodes of this node for jsp:attribute standard actions, and returns that set of nodes as a Node.Nodes object.
        Returns:
        Possibly empty Node.Nodes object containing any jsp:attribute subnodes of this Node
      • setBody

        public void setBody​(Node.Nodes body)
      • getText

        public java.lang.String getText()
      • getStart

        public Mark getStart()
      • getParent

        public Node getParent()
      • getBeginJavaLine

        public int getBeginJavaLine()
      • setBeginJavaLine

        public void setBeginJavaLine​(int begin)
      • getEndJavaLine

        public int getEndJavaLine()
      • setEndJavaLine

        public void setEndJavaLine​(int end)
      • getInnerClassName

        public java.lang.String getInnerClassName()
      • setInnerClassName

        public void setInnerClassName​(java.lang.String icn)