public class ListValue extends Object implements Value
Modifier | Constructor and Description |
---|---|
protected |
ListValue()
Creates a new instance.
|
|
ListValue(Collection<?> items)
Creates new instance from the given items.
|
Modifier and Type | Method and Description |
---|---|
void |
afterUnmarshal(javax.xml.bind.Unmarshaller unmarshaller,
Object parent) |
void |
beforeUnmarshal(javax.xml.bind.Unmarshaller unmarshaller,
Object parent) |
boolean |
contains(Object o) |
boolean |
containsAll(Collection<?> c) |
boolean |
equals(Object obj) |
Object |
get(int index) |
String |
getId()
Returns the id of this value, if any.
|
Value |
getParent()
Returns the parent of this value.
|
ListType |
getType()
Returns list type.
|
int |
hashCode() |
int |
indexOf(Object o) |
boolean |
isEmpty() |
Iterator<Object> |
iterator() |
int |
lastIndexOf(Object o) |
ListIterator<Object> |
listIterator() |
ListIterator<Object> |
listIterator(int index) |
int |
size() |
List<Object> |
subList(int fromIndex,
int toIndex) |
Object[] |
toArray() |
<T> T[] |
toArray(T[] a) |
ListHolder |
toObject()
Converts this value to an appropriate object.
|
String |
toString() |
protected ListValue()
public ListValue(Collection<?> items)
items
- public ListType getType()
public String getId()
Value
public ListHolder toObject()
Value
public Value getParent()
Value
public boolean contains(Object o)
public boolean containsAll(Collection<?> c)
public Object get(int index)
public int indexOf(Object o)
public boolean isEmpty()
public int lastIndexOf(Object o)
public ListIterator<Object> listIterator()
public ListIterator<Object> listIterator(int index)
public int size()
public Object[] toArray()
public <T> T[] toArray(T[] a)
public void beforeUnmarshal(javax.xml.bind.Unmarshaller unmarshaller, Object parent)
unmarshaller
- parent
- public void afterUnmarshal(javax.xml.bind.Unmarshaller unmarshaller, Object parent)
unmarshaller
- parent
- Copyright © 2007-2020 Whitestein Technologies. All Rights Reserved.