org.silverpeas.util.jcr
Class PropertyIterable

java.lang.Object
  extended by org.silverpeas.util.jcr.PropertyIterable
All Implemented Interfaces:
Iterable<javax.jcr.Property>

public class PropertyIterable
extends Object
implements Iterable<javax.jcr.Property>

Author:
ehugonnet

Constructor Summary
PropertyIterable(javax.jcr.PropertyIterator iterator)
          Creates an iterable adapter for the given property iterator.
 
Method Summary
 Iterator<javax.jcr.Property> iterator()
          Returns the property iterator.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

PropertyIterable

public PropertyIterable(javax.jcr.PropertyIterator iterator)
Creates an iterable adapter for the given property iterator.

Parameters:
iterator - the property iterator to be adapted
Method Detail

iterator

public Iterator<javax.jcr.Property> iterator()
Returns the property iterator.

Specified by:
iterator in interface Iterable<javax.jcr.Property>
Returns:
property iterator


Copyright © 2016 Silverpeas. All Rights Reserved.