Class AbstractReportNode
- java.lang.Object
-
- net.sourceforge.pmd.lang.dfa.report.AbstractReportNode
-
- Direct Known Subclasses:
ClassNode
,PackageNode
,ViolationNode
@Deprecated public abstract class AbstractReportNode extends Object
Deprecated.
-
-
Constructor Summary
Constructors Constructor Description AbstractReportNode()
Deprecated.
-
Method Summary
All Methods Instance Methods Abstract Methods Concrete Methods Deprecated Methods Modifier and Type Method Description void
accept(ReportVisitor visitor)
Deprecated.void
add(AbstractReportNode child)
Deprecated.Adds the child at the end.void
addFirst(AbstractReportNode child)
Deprecated.Adds the child in front of any other childs.void
addNumberOfViolation(int number)
Deprecated.void
childrenAccept(ReportVisitor visitor)
Deprecated.abstract boolean
equalsNode(AbstractReportNode arg0)
Deprecated.Should compare to nodes of the tree.AbstractReportNode
getChildAt(int arg0)
Deprecated.int
getChildCount()
Deprecated.AbstractReportNode
getFirstChild()
Deprecated.AbstractReportNode
getNextSibling()
Deprecated.int
getNumberOfViolations()
Deprecated.AbstractReportNode
getParent()
Deprecated.boolean
isLeaf()
Deprecated.
-
-
-
Method Detail
-
equalsNode
public abstract boolean equalsNode(AbstractReportNode arg0)
Deprecated.Should compare to nodes of the tree.
-
getFirstChild
public AbstractReportNode getFirstChild()
Deprecated.- Returns:
- null If there isn't any child.
-
getNextSibling
public AbstractReportNode getNextSibling()
Deprecated.- Returns:
- null If there isn't any sibling.
-
addFirst
public void addFirst(AbstractReportNode child)
Deprecated.Adds the child in front of any other childs.
-
add
public void add(AbstractReportNode child)
Deprecated.Adds the child at the end.
-
addNumberOfViolation
public void addNumberOfViolation(int number)
Deprecated.
-
getNumberOfViolations
public int getNumberOfViolations()
Deprecated.- Returns:
- The number of all violations downside the node.
-
childrenAccept
public void childrenAccept(ReportVisitor visitor)
Deprecated.
-
accept
public void accept(ReportVisitor visitor)
Deprecated.
-
getChildAt
public AbstractReportNode getChildAt(int arg0)
Deprecated.
-
getChildCount
public int getChildCount()
Deprecated.
-
getParent
public AbstractReportNode getParent()
Deprecated.
-
isLeaf
public boolean isLeaf()
Deprecated.
-
-