com.jaxfront.core.xpath
Class TypeIterator

java.lang.Object
  extended by com.jaxfront.core.xpath.TypeIterator
All Implemented Interfaces:
ResetIterator, java.util.Iterator

public class TypeIterator
extends java.lang.Object
implements ResetIterator


Field Summary
 int elementCount
           
 
Constructor Summary
TypeIterator(Type contextType, boolean listTypeIncluded, boolean editingTypeIncluded, boolean editingTypeTraversalOnly, boolean choosenTypeOnly, boolean buildLazyChoices)
           
TypeIterator(Type contextType, boolean listTypeIncluded, boolean editingTypeIncluded, boolean editingTypeTraversalOnly, boolean onlySerializable, boolean buildLazyChoices, boolean idOnly, boolean choosenOnly)
           
 
Method Summary
 void addChild(Type aType)
           
 void ensureCapacity(int minCapacity)
          Increases the capacity of this ArrayList instance, if necessary, to ensure that it can hold at least the number of elements specified by the minimum capacity argument.
 boolean hasNext()
           
 java.lang.Object next()
           
 void remove()
           
 void reset()
           
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

elementCount

public int elementCount
Constructor Detail

TypeIterator

public TypeIterator(Type contextType,
                    boolean listTypeIncluded,
                    boolean editingTypeIncluded,
                    boolean editingTypeTraversalOnly,
                    boolean choosenTypeOnly,
                    boolean buildLazyChoices)

TypeIterator

public TypeIterator(Type contextType,
                    boolean listTypeIncluded,
                    boolean editingTypeIncluded,
                    boolean editingTypeTraversalOnly,
                    boolean onlySerializable,
                    boolean buildLazyChoices,
                    boolean idOnly,
                    boolean choosenOnly)
Method Detail

hasNext

public boolean hasNext()
Specified by:
hasNext in interface java.util.Iterator
See Also:
Iterator.hasNext()

next

public java.lang.Object next()
Specified by:
next in interface java.util.Iterator
See Also:
Iterator.next()

remove

public void remove()
Specified by:
remove in interface java.util.Iterator
See Also:
Iterator.remove()

reset

public void reset()
Specified by:
reset in interface ResetIterator

addChild

public void addChild(Type aType)

ensureCapacity

public void ensureCapacity(int minCapacity)
Increases the capacity of this ArrayList instance, if necessary, to ensure that it can hold at least the number of elements specified by the minimum capacity argument.

Parameters:
minCapacity - the desired minimum capacity.