Package org.dom4j.bean
Class BeanAttributeList
java.lang.Object
java.util.AbstractCollection<E>
java.util.AbstractList
org.dom4j.bean.BeanAttributeList
- All Implemented Interfaces:
Iterable,Collection,List
BeanAttributeList implements a list of Attributes which are
the properties of a JavaBean.
- Version:
- $Revision: 1.9 $
- Author:
- James Strachan
-
Field Summary
Fields inherited from class java.util.AbstractList
modCount -
Constructor Summary
ConstructorsConstructorDescriptionBeanAttributeList(BeanElement parent) BeanAttributeList(BeanElement parent, BeanMetaData beanMetaData) -
Method Summary
Modifier and TypeMethodDescriptionvoidbooleanattribute(int index) voidclear()protected BeanAttributecreateAttribute(BeanElement element, int index) get(int index) getData(int index) getQName(int index) remove(int index) booleanvoidintsize()Methods inherited from class java.util.AbstractList
addAll, equals, hashCode, indexOf, iterator, lastIndexOf, listIterator, listIterator, removeRange, subListMethods inherited from class java.util.AbstractCollection
addAll, contains, containsAll, isEmpty, removeAll, retainAll, toArray, toArray, toStringMethods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, waitMethods inherited from interface java.util.Collection
parallelStream, removeIf, stream, toArrayMethods inherited from interface java.util.List
addAll, contains, containsAll, isEmpty, removeAll, replaceAll, retainAll, sort, spliterator, toArray, toArray
-
Constructor Details
-
BeanAttributeList
-
BeanAttributeList
-
-
Method Details
-
attribute
-
attribute
-
attribute
-
getParent
-
getQName
-
getData
-
setData
-
size
public int size()- Specified by:
sizein interfaceCollection- Specified by:
sizein interfaceList- Specified by:
sizein classAbstractCollection
-
get
- Specified by:
getin interfaceList- Specified by:
getin classAbstractList
-
add
- Specified by:
addin interfaceCollection- Specified by:
addin interfaceList- Overrides:
addin classAbstractList
-
add
- Specified by:
addin interfaceList- Overrides:
addin classAbstractList
-
set
- Specified by:
setin interfaceList- Overrides:
setin classAbstractList
-
remove
- Specified by:
removein interfaceCollection- Specified by:
removein interfaceList- Overrides:
removein classAbstractCollection
-
remove
- Specified by:
removein interfaceList- Overrides:
removein classAbstractList
-
clear
public void clear()- Specified by:
clearin interfaceCollection- Specified by:
clearin interfaceList- Overrides:
clearin classAbstractList
-
createAttribute
-