com.teamkonzept.dom4jb.beans.infos
Class ListXMLBeanInfo
java.lang.Object
|
+--com.teamkonzept.dom4jb.beans.infos.ObjectXMLBeanInfo
|
+--com.teamkonzept.dom4jb.beans.infos.CollectionXMLBeanInfo
|
+--com.teamkonzept.dom4jb.beans.infos.ListXMLBeanInfo
- All Implemented Interfaces:
- XMLBeanInfo
- Direct Known Subclasses:
- ArrayListXMLBeanInfo, Collections.EmptyListXMLBeanInfo, Collections.UnmodifiableListXMLBeanInfo, LinkedListXMLBeanInfo
- public class ListXMLBeanInfo
- extends CollectionXMLBeanInfo
This is the default XMLBeanInfo defining how a list will be
represented.
Every java.util.List object will be represented as follows:
- the element content is a collection of elements. Each element is named
by the name returned by the getItemName() method of the corresponding
XMLBeanInfo object. Also the item itself is represened by means of the
corresponding XMLBeanInfo object.
Example: A collection of integer-objects will be represented like this:
<items> <item>1</item> <item>2</item>
<item>3</item> </items>
whereby the sourrounding element <items> may differ.
- as empty attribute value
- which contributes no attributes
- if the object is an item in a collection, the surrounding element name
is the item name specified by
CollectionXMLBeanInfo#COLLECTION_ITEM_NAME
- Version:
- $Revision: 1.2 $
- Author:
- Carsten Krebs
- See Also:
CollectionXMLBeanInfo.COLLECTION_ITEM_NAME
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
ListXMLBeanInfo
public ListXMLBeanInfo()
Copyright © 2001-2003 Team-Konzept GmbH & CO KG. All Rights Reserved.