Package net.sourceforge.pmd.lang.jsp.ast
Class AbstractJspNode
- java.lang.Object
-
- net.sourceforge.pmd.lang.ast.AbstractNode
-
- net.sourceforge.pmd.lang.jsp.ast.AbstractJspNode
-
- All Implemented Interfaces:
net.sourceforge.pmd.lang.ast.Node
,JspNode
- Direct Known Subclasses:
ASTAttribute
,ASTAttributeValue
,ASTCData
,ASTCommentTag
,ASTCompilationUnit
,ASTContent
,ASTDeclaration
,ASTDoctypeDeclaration
,ASTDoctypeExternalId
,ASTElement
,ASTElExpression
,ASTHtmlScript
,ASTJspComment
,ASTJspDeclaration
,ASTJspDeclarations
,ASTJspDirective
,ASTJspDirectiveAttribute
,ASTJspDocument
,ASTJspExpression
,ASTJspExpressionInAttribute
,ASTJspScriptlet
,ASTText
,ASTUnparsedText
,ASTValueBinding
public class AbstractJspNode extends net.sourceforge.pmd.lang.ast.AbstractNode implements JspNode
-
-
Constructor Summary
Constructors Constructor Description AbstractJspNode(int id)
AbstractJspNode(JspParser parser, int id)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Object
childrenAccept(JspParserVisitor visitor, Object data)
Accept the visitor.String
getXPathNodeName()
Object
jjtAccept(JspParserVisitor visitor, Object data)
Accept the visitor.void
jjtClose()
void
jjtOpen()
-
Methods inherited from class net.sourceforge.pmd.lang.ast.AbstractNode
appendElement, findChildNodesWithXPath, findChildrenOfType, findDescendantsOfType, findDescendantsOfType, findDescendantsOfType, getAsDocument, getBeginColumn, getBeginLine, getDataFlowNode, getEndColumn, getEndLine, getFirstChildOfType, getFirstDescendantOfType, getFirstParentOfAnyType, getFirstParentOfType, getImage, getNthParent, getParentsOfType, getUserData, getXPathAttributesIterator, hasDecendantOfAnyType, hasDescendantMatchingXPath, hasDescendantOfAnyType, hasDescendantOfType, hasImageEqualTo, isFindBoundary, isSingleLine, jjtAddChild, jjtGetChild, jjtGetChildIndex, jjtGetFirstToken, jjtGetId, jjtGetLastToken, jjtGetNumChildren, jjtGetParent, jjtSetChildIndex, jjtSetFirstToken, jjtSetLastToken, jjtSetParent, remove, removeChildAtIndex, setDataFlowNode, setImage, setUserData, testingOnlySetBeginColumn, testingOnlySetBeginLine, testingOnlySetEndColumn, testingOnlySetEndLine, toString
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
-
Methods inherited from interface net.sourceforge.pmd.lang.ast.Node
findChildNodesWithXPath, findChildrenOfType, findDescendantsOfType, findDescendantsOfType, getAsDocument, getBeginColumn, getBeginLine, getDataFlowNode, getEndColumn, getEndLine, getFirstChildOfType, getFirstDescendantOfType, getFirstParentOfAnyType, getFirstParentOfType, getImage, getNthParent, getParentsOfType, getUserData, getXPathAttributesIterator, hasDescendantMatchingXPath, hasDescendantOfType, hasImageEqualTo, isFindBoundary, jjtAddChild, jjtGetChild, jjtGetChildIndex, jjtGetId, jjtGetNumChildren, jjtGetParent, jjtSetChildIndex, jjtSetParent, remove, removeChildAtIndex, setDataFlowNode, setImage, setUserData
-
-
-
-
Field Detail
-
parser
protected JspParser parser
-
-
Constructor Detail
-
AbstractJspNode
public AbstractJspNode(int id)
-
AbstractJspNode
public AbstractJspNode(JspParser parser, int id)
-
-
Method Detail
-
jjtOpen
public void jjtOpen()
- Specified by:
jjtOpen
in interfacenet.sourceforge.pmd.lang.ast.Node
- Overrides:
jjtOpen
in classnet.sourceforge.pmd.lang.ast.AbstractNode
-
jjtClose
public void jjtClose()
- Specified by:
jjtClose
in interfacenet.sourceforge.pmd.lang.ast.Node
- Overrides:
jjtClose
in classnet.sourceforge.pmd.lang.ast.AbstractNode
-
jjtAccept
public Object jjtAccept(JspParserVisitor visitor, Object data)
Accept the visitor. *
-
childrenAccept
public Object childrenAccept(JspParserVisitor visitor, Object data)
Accept the visitor. *- Specified by:
childrenAccept
in interfaceJspNode
-
getXPathNodeName
public String getXPathNodeName()
- Specified by:
getXPathNodeName
in interfacenet.sourceforge.pmd.lang.ast.Node
- Overrides:
getXPathNodeName
in classnet.sourceforge.pmd.lang.ast.AbstractNode
-
-