|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.apache.portals.graffito.jcr.persistence.collectionconverter.ManageableCollectionUtil
public class ManageableCollectionUtil
Utility class used to instantiate ManageableCollection
Constructor Summary | |
---|---|
ManageableCollectionUtil()
|
Method Summary | |
---|---|
static ManageableCollection |
getManageableCollection(java.lang.Class collectionClass)
Instantiate a new ManageableCollection |
static ManageableCollection |
getManageableCollection(java.lang.Object object)
Convert a java Collection object into a ManageableCollection . |
static ManageableCollection |
getManageableCollection(java.lang.String manageableCollectionClassName)
Instantiate a new ManageableCollection |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public ManageableCollectionUtil()
Method Detail |
---|
public static ManageableCollection getManageableCollection(java.lang.String manageableCollectionClassName)
ManageableCollection
manageableCollectionClassName
- The manageable collection class name
ManageableCollection
public static ManageableCollection getManageableCollection(java.lang.Class collectionClass)
ManageableCollection
collectionClass
- the collection class name
ManageableCollection
public static ManageableCollection getManageableCollection(java.lang.Object object)
ManageableCollection
.
Until now, only the following class are supported :
Collection, List, ArrayList, Vector
If you need a Map, you have to write your own ManageableCollection
.
object
- the java collection or Map
ManageableCollection
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |