public class PropertyIteratorAdapter extends RangeIteratorDecorator implements javax.jcr.PropertyIterator
Type | Property and Description |
---|---|
javax.jcr.Property |
next
Returns the next property.
|
Modifier and Type | Field and Description |
---|---|
static javax.jcr.PropertyIterator |
EMPTY
Static instance of an empty
PropertyIterator . |
Constructor and Description |
---|
PropertyIteratorAdapter(Collection collection)
Creates an iterator for the given collection.
|
PropertyIteratorAdapter(Iterator iterator)
Creates an adapter for the given
Iterator . |
PropertyIteratorAdapter(Iterator iterator,
long size) |
PropertyIteratorAdapter(javax.jcr.RangeIterator iterator)
Creates an adapter for the given
RangeIterator . |
Modifier and Type | Method and Description |
---|---|
javax.jcr.Property |
nextProperty()
Returns the next property.
|
getPosition, getSize, hasNext, next, remove, skip
nextProperty
in interface javax.jcr.PropertyIterator
NoSuchElementException
- if there is no next propertypublic static final javax.jcr.PropertyIterator EMPTY
PropertyIterator
.public PropertyIteratorAdapter(javax.jcr.RangeIterator iterator)
RangeIterator
.iterator
- iterator of Property
instancespublic PropertyIteratorAdapter(Iterator iterator)
Iterator
.iterator
- iterator of Property
instancespublic PropertyIteratorAdapter(Iterator iterator, long size)
public PropertyIteratorAdapter(Collection collection)
collection
- collection of Property
instancespublic javax.jcr.Property nextProperty()
nextProperty
in interface javax.jcr.PropertyIterator
NoSuchElementException
- if there is no next propertyCopyright © 2004-2020 The Apache Software Foundation. All Rights Reserved.