org.apache.commons.jxpath.ri.model.beans
Class BeanAttributeIterator

java.lang.Object
  |
  +--org.apache.commons.jxpath.ri.model.beans.PropertyIterator
        |
        +--org.apache.commons.jxpath.ri.model.beans.BeanAttributeIterator
All Implemented Interfaces:
NodeIterator
Direct Known Subclasses:
DynamicAttributeIterator

public class BeanAttributeIterator
extends PropertyIterator

An iterator of attributes of a JavaBean. Returns bean properties as well as the "xml:lang" attribute.

Version:
$Revision: 1.6 $ $Date: 2003/03/11 00:59:23 $
Author:
Dmitri Plotnikov

Constructor Summary
BeanAttributeIterator(PropertyOwnerPointer parent, QName name)
           
 
Method Summary
 NodePointer getNodePointer()
           
 int getPosition()
           
 boolean setPosition(int position)
          Sets the new current position and returns true if there a node at that position.
 
Methods inherited from class org.apache.commons.jxpath.ri.model.beans.PropertyIterator
getPropertyPointer, prepareForIndividualProperty, reset
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

BeanAttributeIterator

public BeanAttributeIterator(PropertyOwnerPointer parent,
                             QName name)
Method Detail

getNodePointer

public NodePointer getNodePointer()
Overrides:
getNodePointer in class PropertyIterator

getPosition

public int getPosition()
Overrides:
getPosition in class PropertyIterator

setPosition

public boolean setPosition(int position)
Description copied from interface: NodeIterator
Sets the new current position and returns true if there a node at that position.
Overrides:
setPosition in class PropertyIterator


Copyright © 2001-2003 Apache Software Foundation. All Rights Reserved.