Interface XmlNode

All Superinterfaces:
net.sourceforge.pmd.lang.ast.impl.GenericNode<XmlNode>, net.sourceforge.pmd.lang.ast.Node, net.sourceforge.pmd.reporting.Reportable

public interface XmlNode extends net.sourceforge.pmd.lang.ast.impl.GenericNode<XmlNode>
This interface represents all XML AST nodes. They are essentially thin wrappers around the underlying DOM nodes.
  • Field Summary

    Fields inherited from interface net.sourceforge.pmd.lang.ast.Node

    COORDS_COMPARATOR
  • Method Summary

    Modifier and Type
    Method
    Description
    Provide access to the underlying DOM node.

    Methods inherited from interface net.sourceforge.pmd.lang.ast.impl.GenericNode

    ancestors, ancestorsOrSelf, asStream, children, descendants, descendantsOrSelf, getChild, getFirstChild, getLastChild, getNextSibling, getParent, getPreviousSibling

    Methods inherited from interface net.sourceforge.pmd.lang.ast.Node

    acceptVisitor, ancestors, children, compareLocation, descendants, firstChild, getAstInfo, getBeginColumn, getBeginLine, getEndColumn, getEndLine, getImage, getIndexInParent, getLanguageVersion, getNumChildren, getReportLocation, getRoot, getTextDocument, getTextRegion, getUserMap, getXPathAttributesIterator, getXPathNodeName, hasImageEqualTo, isFindBoundary
  • Method Details

    • getNode

      Node getNode()
      Provide access to the underlying DOM node.
      Returns:
      The DOM node.