public class ImmutableCollectionAdapter<T> extends XmlAdapter<CollectionWrapper<T>,Collection<T>>
Constructor and Description |
---|
ImmutableCollectionAdapter() |
Modifier and Type | Method and Description |
---|---|
protected static boolean |
isEmpty(Collection<?> c) |
CollectionWrapper<T> |
marshal(Collection<T> c) |
Collection<T> |
unmarshal(CollectionWrapper<T> wrapper) |
public ImmutableCollectionAdapter()
public CollectionWrapper<T> marshal(Collection<T> c)
marshal
in class XmlAdapter<CollectionWrapper<T>,Collection<T>>
public Collection<T> unmarshal(CollectionWrapper<T> wrapper)
unmarshal
in class XmlAdapter<CollectionWrapper<T>,Collection<T>>
protected static boolean isEmpty(Collection<?> c)
Copyright © 2010–2014 The Kuali Foundation. All rights reserved.