View Javadoc

1   package net.sourceforge.pmd.lang.ast.xpath;
2   
3   import java.util.Iterator;
4   
5   /**
6    * This interface can be used by an AST node to indicate it can directly provide
7    * access to it's attributes, versus having them be determined via introspection.
8    */
9   public interface AttributeNode {
10      Iterator<Attribute> getAttributeIterator();
11  }