|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.apache.commons.discovery.ResourceIterator
org.apache.commons.discovery.ResourceClassIterator<T>
T
- The SPI typepublic abstract class ResourceClassIterator<T>
Iterator over discovered SPI type.
Constructor Summary | |
---|---|
ResourceClassIterator()
|
Method Summary | ||
---|---|---|
Resource |
nextResource()
Returns the next Resource in the iteration. |
|
abstract
|
nextResourceClass()
Returns the next SPI Class in the iteration. |
|
java.lang.String |
nextResourceName()
Returns the next resource name in the iteration. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Methods inherited from interface org.apache.commons.discovery.ResourceNameIterator |
---|
hasNext |
Constructor Detail |
---|
public ResourceClassIterator()
Method Detail |
---|
public abstract <S extends T> ResourceClass<S> nextResourceClass()
S
- Any type extends T
public Resource nextResource()
Resource
in the iteration.
nextResource
in class ResourceIterator
public java.lang.String nextResourceName()
nextResourceName
in interface ResourceNameIterator
nextResourceName
in class ResourceIterator
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |