Ontimize Document Management 0.035EN

com.ontimize.dms.jcr
Interface JcrNodeIterator

All Superinterfaces:
java.util.Iterator
All Known Implementing Classes:
JcrNodeIteratorImpl

public interface JcrNodeIterator
extends java.util.Iterator

Wrappers a NodeIterator with some custom methods.

Since:
12/06/2009

Method Summary
 java.lang.String getBase()
          Calculates the base path from the given node.
 JcrNode getNode()
           
 long getSize()
           
 boolean hasNext()
           
 boolean isAbsolute()
          Merges the base and the path of each node.
 JcrNode nextNode()
           
 void setAbsolute(boolean absolute)
           
 
Methods inherited from interface java.util.Iterator
next, remove
 

Method Detail

getBase

java.lang.String getBase()
                         throws RepositoryException

Calculates the base path from the given node.

Returns:
Throws:
RepositoryException

getNode

JcrNode getNode()

nextNode

JcrNode nextNode()
                 throws RepositoryException
Throws:
RepositoryException

hasNext

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

getSize

long getSize()

isAbsolute

boolean isAbsolute()

Merges the base and the path of each node.

Returns:
If the path of each node includes the base and the path.

setAbsolute

void setAbsolute(boolean absolute)

Ontimize Document Management