net.sourceforge.pmd.jaxen
Class AttributeAxisIterator
java.lang.Object
net.sourceforge.pmd.jaxen.AttributeAxisIterator
- All Implemented Interfaces:
- java.util.Iterator
- public class AttributeAxisIterator
- extends java.lang.Object
- implements java.util.Iterator
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
EMPTY_OBJ_ARRAY
private static final java.lang.Object[] EMPTY_OBJ_ARRAY
currObj
private java.lang.Object currObj
methods
private java.lang.reflect.Method[] methods
position
private int position
node
private Node node
AttributeAxisIterator
public AttributeAxisIterator(Node contextNode)
next
public java.lang.Object next()
- Specified by:
next
in interface java.util.Iterator
hasNext
public boolean hasNext()
- Specified by:
hasNext
in interface java.util.Iterator
remove
public void remove()
- Specified by:
remove
in interface java.util.Iterator
getNextAttribute
private Attribute getNextAttribute()
getAttribute
protected Attribute getAttribute(Node node,
java.lang.reflect.Method method)
throws java.lang.IllegalAccessException,
java.lang.reflect.InvocationTargetException
- Throws:
java.lang.IllegalAccessException
java.lang.reflect.InvocationTargetException
truncateMethodName
protected java.lang.String truncateMethodName(java.lang.String name)
isAttribute
protected boolean isAttribute(java.lang.reflect.Method method)