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