Class ASTAttribute

java.lang.Object
net.sourceforge.pmd.lang.ast.impl.AbstractNode<B,N>
net.sourceforge.pmd.lang.ast.impl.javacc.AbstractJjtreeNode<net.sourceforge.pmd.lang.jsp.ast.AbstractJspNode,JspNode>
net.sourceforge.pmd.lang.jsp.ast.ASTAttribute
All Implemented Interfaces:
GenericNode<JspNode>, JjtreeNode<JspNode>, Node, TextAvailableNode, JspNode, Reportable

public final class ASTAttribute extends AbstractJjtreeNode<net.sourceforge.pmd.lang.jsp.ast.AbstractJspNode,JspNode>
  • Method Details

    • getName

      public String getName()
    • isHasNamespacePrefix

      public boolean isHasNamespacePrefix()
      Returns:
      boolean - true if the element has a namespace-prefix, false otherwise
    • getNamespacePrefix

      public String getNamespacePrefix()
      Returns:
      String - the part of the name that is before the (first) colon (":")
    • getLocalName

      public String getLocalName()
      Returns:
      String - The part of the name that is after the first colon (":"). If the name does not contain a colon, the full name is returned.
    • acceptVisitor

      protected <P, R> R acceptVisitor(JspVisitor<? super P,? extends R> visitor, P data)
    • acceptVisitor

      public final <P, R> R acceptVisitor(AstVisitor<? super P,? extends R> visitor, P data)
      Specified by:
      acceptVisitor in interface Node
    • getXPathNodeName

      public String getXPathNodeName()
      Specified by:
      getXPathNodeName in interface Node