Class PlainTextLanguage.PlainTextFile

  • All Implemented Interfaces:
    net.sourceforge.pmd.lang.ast.Node, net.sourceforge.pmd.lang.ast.RootNode
    Enclosing class:
    PlainTextLanguage

    public static class PlainTextLanguage.PlainTextFile
    extends net.sourceforge.pmd.lang.ast.AbstractNode
    implements net.sourceforge.pmd.lang.ast.RootNode
    • Field Summary

      • Fields inherited from class net.sourceforge.pmd.lang.ast.AbstractNode

        beginColumn, beginLine, childIndex, children, endColumn, endLine, firstToken, id, lastToken, parent
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      java.lang.String getImage()  
      java.lang.String getXPathNodeName()  
      void remove()  
      void removeChildAtIndex​(int childIndex)  
      void setImage​(java.lang.String image)  
      java.lang.String toString()  
      • 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, getNthParent, getParentsOfType, getUserData, getXPathAttributesIterator, hasDecendantOfAnyType, hasDescendantMatchingXPath, hasDescendantOfAnyType, hasDescendantOfType, hasImageEqualTo, isFindBoundary, isSingleLine, jjtAddChild, jjtClose, jjtGetChild, jjtGetChildIndex, jjtGetFirstToken, jjtGetId, jjtGetLastToken, jjtGetNumChildren, jjtGetParent, jjtOpen, jjtSetChildIndex, jjtSetFirstToken, jjtSetLastToken, jjtSetParent, setDataFlowNode, setUserData, testingOnlySetBeginColumn, testingOnlySetBeginLine, testingOnlySetEndColumn, testingOnlySetEndLine
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
    • Method Detail

      • getXPathNodeName

        public java.lang.String getXPathNodeName()
        Specified by:
        getXPathNodeName in interface net.sourceforge.pmd.lang.ast.Node
        Overrides:
        getXPathNodeName in class net.sourceforge.pmd.lang.ast.AbstractNode
      • getImage

        public java.lang.String getImage()
        Specified by:
        getImage in interface net.sourceforge.pmd.lang.ast.Node
        Overrides:
        getImage in class net.sourceforge.pmd.lang.ast.AbstractNode
      • setImage

        public void setImage​(java.lang.String image)
        Specified by:
        setImage in interface net.sourceforge.pmd.lang.ast.Node
        Overrides:
        setImage in class net.sourceforge.pmd.lang.ast.AbstractNode
      • remove

        public void remove()
        Specified by:
        remove in interface net.sourceforge.pmd.lang.ast.Node
        Overrides:
        remove in class net.sourceforge.pmd.lang.ast.AbstractNode
      • removeChildAtIndex

        public void removeChildAtIndex​(int childIndex)
        Specified by:
        removeChildAtIndex in interface net.sourceforge.pmd.lang.ast.Node
        Overrides:
        removeChildAtIndex in class net.sourceforge.pmd.lang.ast.AbstractNode
      • toString

        public java.lang.String toString()
        Overrides:
        toString in class net.sourceforge.pmd.lang.ast.AbstractNode