Package org.dom4j.bean
Class BeanAttributeList
- java.lang.Object
-
- java.util.AbstractCollection<E>
-
- java.util.AbstractList<Attribute>
-
- org.dom4j.bean.BeanAttributeList
-
-
Constructor Summary
Constructors Constructor Description BeanAttributeList(BeanElement parent)
BeanAttributeList(BeanElement parent, BeanMetaData beanMetaData)
-
Method Summary
All Methods Instance Methods Concrete Methods 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()
-
Methods inherited from class java.util.AbstractList
add, add, addAll, equals, hashCode, indexOf, iterator, lastIndexOf, listIterator, listIterator, removeRange, set, subList
-
Methods inherited from class java.util.AbstractCollection
addAll, contains, containsAll, isEmpty, removeAll, retainAll, toArray, toArray, toString
-
-
-
-
Constructor Detail
-
BeanAttributeList
public BeanAttributeList(BeanElement parent, BeanMetaData beanMetaData)
-
BeanAttributeList
public BeanAttributeList(BeanElement parent)
-
-
Method Detail
-
attribute
public BeanAttribute attribute(java.lang.String name)
-
attribute
public BeanAttribute attribute(QName qname)
-
attribute
public BeanAttribute attribute(int index)
-
getParent
public BeanElement getParent()
-
getQName
public QName getQName(int index)
-
getData
public java.lang.Object getData(int index)
-
setData
public void setData(int index, java.lang.Object data)
-
size
public int size()
-
get
public BeanAttribute get(int index)
-
add
public boolean add(BeanAttribute object)
-
add
public void add(int index, BeanAttribute object)
-
set
public BeanAttribute set(int index, BeanAttribute object)
-
remove
public boolean remove(java.lang.Object object)
-
remove
public BeanAttribute remove(int index)
-
clear
public void clear()
-
createAttribute
protected BeanAttribute createAttribute(BeanElement element, int index)
-
-