Package org.dom4j.bean
Class BeanAttributeList
- All Implemented Interfaces:
Iterable<Attribute>,Collection<Attribute>,List<Attribute>,SequencedCollection<Attribute>
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 TypeMethodDescriptionvoidadd(int index, BeanAttribute object) booleanadd(BeanAttribute object) attribute(int index) voidclear()protected BeanAttributecreateAttribute(BeanElement element, int index) get(int index) getData(int index) getQName(int index) remove(int index) booleanset(int index, BeanAttribute object) voidintsize()Methods inherited from class java.util.AbstractList
add, add, addAll, equals, hashCode, indexOf, iterator, lastIndexOf, listIterator, listIterator, removeRange, set, 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, addFirst, addLast, contains, containsAll, getFirst, getLast, isEmpty, removeAll, removeFirst, removeLast, replaceAll, retainAll, reversed, 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<Attribute>- Specified by:
sizein interfaceList<Attribute>- Specified by:
sizein classAbstractCollection<Attribute>
-
get
-
add
-
add
-
set
-
remove
- Specified by:
removein interfaceCollection<Attribute>- Specified by:
removein interfaceList<Attribute>- Overrides:
removein classAbstractCollection<Attribute>
-
remove
-
clear
public void clear()- Specified by:
clearin interfaceCollection<Attribute>- Specified by:
clearin interfaceList<Attribute>- Overrides:
clearin classAbstractList<Attribute>
-
createAttribute
-