com.teamkonzept.dom4jb.beans.infos
Class LinkedListXMLBeanInfo
java.lang.Object
|
+--com.teamkonzept.dom4jb.beans.infos.ObjectXMLBeanInfo
|
+--com.teamkonzept.dom4jb.beans.infos.CollectionXMLBeanInfo
|
+--com.teamkonzept.dom4jb.beans.infos.ListXMLBeanInfo
|
+--com.teamkonzept.dom4jb.beans.infos.LinkedListXMLBeanInfo
- All Implemented Interfaces:
- XMLBeanInfo
- public class LinkedListXMLBeanInfo
- extends ListXMLBeanInfo
This is the default XMLBeanInfo defining how a linked list will be
represented.
Every java.util.LinkedList 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 |
LinkedListXMLBeanInfo
public LinkedListXMLBeanInfo()
Copyright © 2001-2003 Team-Konzept GmbH & CO KG. All Rights Reserved.