org.apache.wicket.model.util
Class WildcardListModel<T>
java.lang.Object
org.apache.wicket.model.util.GenericBaseModel<java.util.List<? extends T>>
org.apache.wicket.model.util.WildcardListModel<T>
- Type Parameters:
T
- type of object inside list
- All Implemented Interfaces:
- java.io.Serializable, IClusterable, IDetachable, IModel<java.util.List<? extends T>>
public class WildcardListModel<T>
- extends GenericBaseModel<java.util.List<? extends T>>
Based on Model
but for lists of serializable objects.
- Author:
- Timo Rantalaiho
- See Also:
- Serialized Form
Method Summary |
protected java.util.List<? extends T> |
createSerializableVersionOf(java.util.List<? extends T> object)
Creates a serializable version of the object. |
Methods inherited from class java.lang.Object |
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
WildcardListModel
public WildcardListModel()
- Creates empty model
WildcardListModel
public WildcardListModel(java.util.List<? extends T> list)
- Creates model that will contain
list
- Parameters:
list
-
createSerializableVersionOf
protected java.util.List<? extends T> createSerializableVersionOf(java.util.List<? extends T> object)
- Creates a serializable version of the object. The object is usually a collection.
- Specified by:
createSerializableVersionOf
in class GenericBaseModel<java.util.List<? extends T>>
- Returns:
- serializable version of
object
Copyright © 2004-2009 Apache Software Foundation. All Rights Reserved.