public class BeanAttributeList extends java.util.AbstractList<Attribute>
BeanAttributeList
implements a list of Attributes which are
the properties of a JavaBean.
Modifier and Type | Field and Description |
---|---|
private BeanAttribute[] |
attributes
The attributes
|
private BeanMetaData |
beanMetaData
The BeanElement that this
|
private BeanElement |
parent
The BeanElement that this
|
Constructor and Description |
---|
BeanAttributeList(BeanElement parent) |
BeanAttributeList(BeanElement parent,
BeanMetaData beanMetaData) |
Modifier and Type | Method and Description |
---|---|
boolean |
add(BeanAttribute object) |
void |
add(int index,
BeanAttribute object) |
BeanAttribute |
attribute(int index) |
BeanAttribute |
attribute(QName qname) |
BeanAttribute |
attribute(java.lang.String name) |
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() |
add, add, addAll, equals, hashCode, indexOf, iterator, lastIndexOf, listIterator, listIterator, removeRange, set, subList
addAll, contains, containsAll, isEmpty, removeAll, retainAll, toArray, toArray, toString
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
private BeanElement parent
private BeanMetaData beanMetaData
private BeanAttribute[] attributes
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()
public BeanAttribute get(int index)
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)
public BeanAttribute remove(int index)
public void clear()
protected BeanAttribute createAttribute(BeanElement element, int index)