net.sourceforge.pmd.jsp.ast
Class ASTAttribute

java.lang.Object
  extended by net.sourceforge.pmd.ast.SimpleNode
      extended by net.sourceforge.pmd.jsp.ast.SimpleNode
          extended by net.sourceforge.pmd.jsp.ast.ASTAttribute
All Implemented Interfaces:
Node

public class ASTAttribute
extends SimpleNode


Field Summary
 
Fields inherited from class net.sourceforge.pmd.jsp.ast.SimpleNode
parser
 
Fields inherited from class net.sourceforge.pmd.ast.SimpleNode
beginColumn, beginLine, children, endColumn, endLine, id, parent
 
Constructor Summary
ASTAttribute(int id)
           
ASTAttribute(JspParser p, int id)
           
 
Method Summary
 java.lang.String getLocalName()
           
 java.lang.String getName()
           
 java.lang.String getNamespacePrefix()
           
 boolean isHasNamespacePrefix()
           
 java.lang.Object jjtAccept(JspParserVisitor visitor, java.lang.Object data)
          Accept the visitor.
 void setName(java.lang.String name)
           
 java.lang.String toString(java.lang.String prefix)
           
 
Methods inherited from class net.sourceforge.pmd.jsp.ast.SimpleNode
childrenAccept, jjtClose, jjtOpen, toString
 
Methods inherited from class net.sourceforge.pmd.ast.SimpleNode
appendElement, asXml, containsChildOfType, dump, dumpChildren, findChildNodesWithXPath, findChildrenOfType, findChildrenOfType, findChildrenOfType, getBeginColumn, getBeginLine, getDataFlowNode, getEndColumn, getEndLine, getFirstChildOfType, getFirstParentOfType, getImage, getLabel, getNthParent, getParentsOfType, getScope, hasImageEqualTo, jjtAddChild, jjtGetChild, jjtGetNumChildren, jjtGetParent, jjtSetParent, setDataFlowNode, setImage, setScope, testingOnly__setBeginColumn, testingOnly__setBeginLine
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 
Methods inherited from interface net.sourceforge.pmd.ast.Node
jjtAddChild, jjtGetChild, jjtGetNumChildren, jjtGetParent, jjtSetParent
 

Constructor Detail

ASTAttribute

public ASTAttribute(int id)

ASTAttribute

public ASTAttribute(JspParser p,
                    int id)
Method Detail

getName

public java.lang.String getName()
Returns:
Returns the name.

setName

public void setName(java.lang.String name)
Parameters:
name - The name to set.

isHasNamespacePrefix

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

getNamespacePrefix

public java.lang.String getNamespacePrefix()
Returns:
String - the part of the name that is before the (first) colon (":")

getLocalName

public java.lang.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.

toString

public java.lang.String toString(java.lang.String prefix)
Overrides:
toString in class SimpleNode

jjtAccept

public java.lang.Object jjtAccept(JspParserVisitor visitor,
                                  java.lang.Object data)
Accept the visitor. *

Overrides:
jjtAccept in class SimpleNode


Copyright © 2002-2011 InfoEther. All Rights Reserved.