java.lang.Cloneable
, java.lang.Iterable<Resource>
, ResourceCollection
SizeLimitCollection
, Sort
, Tokens
public abstract class BaseResourceCollectionWrapper extends AbstractResourceCollectionWrapper
description, location, project
Constructor | Description |
---|---|
BaseResourceCollectionWrapper() |
Modifier and Type | Method | Description |
---|---|---|
protected java.util.Iterator<Resource> |
createIterator() |
Do create an iterator on the resource collection.
|
protected abstract java.util.Collection<Resource> |
getCollection() |
Template method for subclasses to return a Collection of Resources.
|
protected int |
getSize() |
Do compute the size of the resource collection.
|
add, dieOnCircularReference, getResourceCollection, isCache, isFilesystemOnly, iterator, setCache, size, toString
checkAttributesAllowed, checkChildrenAllowed, circularReference, clone, dieOnCircularReference, dieOnCircularReference, getCheckedRef, getCheckedRef, getCheckedRef, getCheckedRef, getDataTypeName, getRefid, invokeCircularReferenceCheck, isChecked, isReference, noChildrenAllowed, pushAndInvokeCircularReferenceCheck, setChecked, setRefid, tooManyAttributes
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
getDescription, getLocation, getProject, log, log, setDescription, setLocation, setProject
isEmpty, stream
protected java.util.Iterator<Resource> createIterator()
AbstractResourceCollectionWrapper
createIterator
in class AbstractResourceCollectionWrapper
protected int getSize()
AbstractResourceCollectionWrapper
getSize
in class AbstractResourceCollectionWrapper
protected abstract java.util.Collection<Resource> getCollection()