org.dom4j.bean
Class BeanAttributeList
java.lang.Object
java.util.AbstractCollection
java.util.AbstractList
org.dom4j.bean.BeanAttributeList
- All Implemented Interfaces:
- Collection, List
- public class BeanAttributeList
- extends AbstractList
BeanAttributeList
implements a list of Attributes which are
the properties of a JavaBean.
- Version:
- $Revision: 1.9 $
- Author:
- James Strachan
BeanAttributeList
public BeanAttributeList(BeanElement parent,
BeanMetaData beanMetaData)
BeanAttributeList
public BeanAttributeList(BeanElement parent)
attribute
public Attribute attribute(String name)
attribute
public Attribute attribute(QName qname)
attribute
public BeanAttribute attribute(int index)
getParent
public BeanElement getParent()
getQName
public QName getQName(int index)
getData
public Object getData(int index)
setData
public void setData(int index,
Object data)
size
public int size()
get
public Object get(int index)
add
public boolean add(Object object)
add
public void add(int index,
Object object)
set
public Object set(int index,
Object object)
remove
public boolean remove(Object object)
remove
public Object remove(int index)
clear
public void clear()
createAttribute
protected BeanAttribute createAttribute(BeanElement element,
int index)
Copyright © 2001-2005 MetaStuff Ltd.. All Rights Reserved.