|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.springframework.util.AutoPopulatingList.ReflectiveElementFactory<E>
private static class AutoPopulatingList.ReflectiveElementFactory<E>
Reflective implementation of the ElementFactory interface,
using Class.newInstance()
on a given element class.
Class.newInstance()
Field Summary | |
---|---|
private java.lang.Class<? extends E> |
elementClass
|
Constructor Summary | |
---|---|
AutoPopulatingList.ReflectiveElementFactory(java.lang.Class<? extends E> elementClass)
|
Method Summary | |
---|---|
E |
createElement(int index)
Create the element for the supplied index. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
private final java.lang.Class<? extends E> elementClass
Constructor Detail |
---|
public AutoPopulatingList.ReflectiveElementFactory(java.lang.Class<? extends E> elementClass)
Method Detail |
---|
public E createElement(int index)
AutoPopulatingList.ElementFactory
createElement
in interface AutoPopulatingList.ElementFactory<E>
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |