org.alfresco.jcr.dictionary
Class NodeTypeNameIterator

java.lang.Object
  extended by org.alfresco.jcr.util.AbstractRangeIterator
      extended by org.alfresco.jcr.dictionary.NodeTypeNameIterator
All Implemented Interfaces:
java.util.Iterator, javax.jcr.nodetype.NodeTypeIterator, javax.jcr.RangeIterator

public class NodeTypeNameIterator
extends AbstractRangeIterator
implements javax.jcr.nodetype.NodeTypeIterator

Alfresco implementation of a Node Type Iterator


Constructor Summary
NodeTypeNameIterator(NodeTypeManagerImpl typeManager, java.util.List nodeTypeNames)
          Construct
 
Method Summary
 long getSize()
           
 java.lang.Object next()
           
 javax.jcr.nodetype.NodeType nextNodeType()
           
 
Methods inherited from class org.alfresco.jcr.util.AbstractRangeIterator
getPosition, hasNext, remove, skip, skip
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface javax.jcr.RangeIterator
getPosition, skip
 
Methods inherited from interface java.util.Iterator
hasNext, remove
 

Constructor Detail

NodeTypeNameIterator

public NodeTypeNameIterator(NodeTypeManagerImpl typeManager,
                            java.util.List nodeTypeNames)
Construct

Parameters:
context - session context
nodeTypes - node type list
Method Detail

nextNodeType

public javax.jcr.nodetype.NodeType nextNodeType()
Specified by:
nextNodeType in interface javax.jcr.nodetype.NodeTypeIterator

getSize

public long getSize()
Specified by:
getSize in interface javax.jcr.RangeIterator

next

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


Copyright © 2005 - 2010 Alfresco Software, Inc. All Rights Reserved.