public class BeanAttributeList extends java.util.AbstractList<Attribute>
BeanAttributeList
implements a list of Attributes which are
the properties of a JavaBean.
Constructor | Description |
---|---|
BeanAttributeList(BeanElement parent) |
|
BeanAttributeList(BeanElement parent,
BeanMetaData beanMetaData) |
Modifier and Type | Method | Description |
---|---|---|
void |
add(int index,
BeanAttribute object) |
|
boolean |
add(BeanAttribute object) |
|
BeanAttribute |
attribute(int index) |
|
BeanAttribute |
attribute(java.lang.String name) |
|
BeanAttribute |
attribute(QName qname) |
|
void |
clear() |
|
protected BeanAttribute |
createAttribute(BeanElement element,
int index) |
|
BeanAttribute |
get(int index) |
|
java.lang.Object |
getData(int index) |
|
BeanElement |
getParent() |
|
QName |
getQName(int index) |
|
BeanAttribute |
remove(int index) |
|
boolean |
remove(java.lang.Object object) |
|
BeanAttribute |
set(int index,
BeanAttribute object) |
|
void |
setData(int index,
java.lang.Object data) |
|
int |
size() |
addAll, contains, containsAll, isEmpty, removeAll, retainAll, toArray, toArray, toString
add, add, addAll, equals, hashCode, indexOf, iterator, lastIndexOf, listIterator, listIterator, removeRange, set, subList
public BeanAttributeList(BeanElement parent, BeanMetaData beanMetaData)
public BeanAttributeList(BeanElement parent)
public BeanAttribute attribute(java.lang.String name)
public BeanAttribute attribute(QName qname)
public BeanAttribute attribute(int index)
public BeanElement getParent()
public QName getQName(int index)
public java.lang.Object getData(int index)
public void setData(int index, java.lang.Object data)
public int size()
size
in class java.util.AbstractCollection<Attribute>
public BeanAttribute get(int index)
get
in class java.util.AbstractList<Attribute>
public boolean add(BeanAttribute object)
public void add(int index, BeanAttribute object)
public BeanAttribute set(int index, BeanAttribute object)
public boolean remove(java.lang.Object object)
remove
in class java.util.AbstractCollection<Attribute>
public BeanAttribute remove(int index)
remove
in class java.util.AbstractList<Attribute>
public void clear()
clear
in class java.util.AbstractList<Attribute>
protected BeanAttribute createAttribute(BeanElement element, int index)