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

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

public class BeanAttributeIterator
extends java.lang.Object
implements NodeIterator

An iterator of attributes of a JavaBean. Currently supports only one attribute - "lang".

Version:
$Revision: 1.2 $ $Date: 2002/04/24 04:06:46 $
Author:
Dmitri Plotnikov

Constructor Summary
BeanAttributeIterator(NodePointer 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 java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

BeanAttributeIterator

public BeanAttributeIterator(NodePointer parent,
                             QName name)
Method Detail

getNodePointer

public NodePointer getNodePointer()
Specified by:
getNodePointer in interface NodeIterator

getPosition

public int getPosition()
Specified by:
getPosition in interface NodeIterator

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.

Specified by:
setPosition in interface NodeIterator


Copyright (c) 2001 - Apache Software Foundation