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 TypeMethodDescriptionvoid
boolean
attribute
(int index) void
clear()
protected BeanAttribute
createAttribute
(BeanElement element, int index) get
(int index) getData
(int index) getQName
(int index) remove
(int index) boolean
void
int
size()
Methods inherited from class java.util.AbstractList
addAll, equals, hashCode, indexOf, iterator, lastIndexOf, listIterator, listIterator, removeRange, subList
Methods inherited from class java.util.AbstractCollection
addAll, contains, containsAll, isEmpty, removeAll, retainAll, toArray, toArray, toString
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
Methods inherited from interface java.util.Collection
parallelStream, removeIf, stream, toArray
Methods 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:
size
in interfaceCollection
- Specified by:
size
in interfaceList
- Specified by:
size
in classAbstractCollection
-
get
- Specified by:
get
in interfaceList
- Specified by:
get
in classAbstractList
-
add
- Specified by:
add
in interfaceCollection
- Specified by:
add
in interfaceList
- Overrides:
add
in classAbstractList
-
add
- Specified by:
add
in interfaceList
- Overrides:
add
in classAbstractList
-
set
- Specified by:
set
in interfaceList
- Overrides:
set
in classAbstractList
-
remove
- Specified by:
remove
in interfaceCollection
- Specified by:
remove
in interfaceList
- Overrides:
remove
in classAbstractCollection
-
remove
- Specified by:
remove
in interfaceList
- Overrides:
remove
in classAbstractList
-
clear
public void clear()- Specified by:
clear
in interfaceCollection
- Specified by:
clear
in interfaceList
- Overrides:
clear
in classAbstractList
-
createAttribute
-