org.jvnet.hyperjaxb3.item
Class DefaultMixedItemList<EffectiveListType,ListType extends EffectiveListType,ItemType extends MixedItem<ListType>>

java.lang.Object
  extended by java.util.AbstractCollection<E>
      extended by java.util.AbstractList<EffectiveListType>
          extended by org.jvnet.hyperjaxb3.item.AbstractMixedItemList<EffectiveListType,ListType,ItemType>
              extended by org.jvnet.hyperjaxb3.item.DefaultMixedItemList<EffectiveListType,ListType,ItemType>
All Implemented Interfaces:
Serializable, Iterable<EffectiveListType>, Collection<EffectiveListType>, List<EffectiveListType>, MixedItemList<EffectiveListType,ListType,ItemType>

public class DefaultMixedItemList<EffectiveListType,ListType extends EffectiveListType,ItemType extends MixedItem<ListType>>
extends AbstractMixedItemList<EffectiveListType,ListType,ItemType>
implements Serializable

See Also:
Serialized Form

Field Summary
 
Fields inherited from class org.jvnet.hyperjaxb3.item.AbstractMixedItemList
core
 
Fields inherited from class java.util.AbstractList
modCount
 
Constructor Summary
DefaultMixedItemList(List<ItemType> core, Class<? extends ItemType> itemClass)
           
 
Method Summary
 ItemType create(ListType item)
           
 ItemType create(String item)
           
 Class<? extends ItemType> getItemClass()
           
 
Methods inherited from class org.jvnet.hyperjaxb3.item.AbstractMixedItemList
add, get, remove, set, size
 
Methods inherited from class java.util.AbstractList
add, addAll, clear, equals, hashCode, indexOf, iterator, lastIndexOf, listIterator, listIterator, removeRange, subList
 
Methods inherited from class java.util.AbstractCollection
addAll, contains, containsAll, isEmpty, remove, removeAll, retainAll, toArray, toArray, toString
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 
Methods inherited from interface java.util.List
add, addAll, addAll, clear, contains, containsAll, equals, hashCode, indexOf, isEmpty, iterator, lastIndexOf, listIterator, listIterator, remove, removeAll, retainAll, subList, toArray, toArray
 

Constructor Detail

DefaultMixedItemList

public DefaultMixedItemList(List<ItemType> core,
                            Class<? extends ItemType> itemClass)
Method Detail

getItemClass

public Class<? extends ItemType> getItemClass()

create

public ItemType create(ListType item)
Specified by:
create in interface MixedItemList<EffectiveListType,ListType extends EffectiveListType,ItemType extends MixedItem<ListType>>

create

public ItemType create(String item)
Specified by:
create in interface MixedItemList<EffectiveListType,ListType extends EffectiveListType,ItemType extends MixedItem<ListType>>


Copyright © 2005-2014. All Rights Reserved.