1 /*
2 * Copyright (C) 2002 Carsten Krebs (Team-Konzept GmbH & Co.KG)
3 *
4 * This library is free software; you can redistribute it and/or
5 * modify it under the terms of the GNU Lesser General Public
6 * License as published by the Free Software Foundation; either
7 * version 2.1 of the License, or (at your option) any later version.
8 *
9 * This library is distributed in the hope that it will be useful,
10 * but WITHOUT ANY WARRANTY; without even the implied warranty of
11 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
12 * Lesser General Public License for more details.
13 *
14 * You should have received a copy of the GNU Lesser General Public
15 * License along with this library; if not, write to the Free Software
16 * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
17 */
18 package com.teamkonzept.dom4jb.beans.infos;
19
20 /***
21 * This is the default XMLBeanInfo defining how a linked list will be
22 * represented.
23 * <p>
24 * Every java.util.LinkedList object will be represented as follows:
25 * <p>
26 * <ul>
27 * <li>the element content is a collection of elements. Each element is named
28 * by the name returned by the getItemName() method of the corresponding
29 * XMLBeanInfo object. Also the item itself is represened by means of the
30 * corresponding XMLBeanInfo object.
31 * <p>
32 * Example: A collection of integer-objects will be represented like this:
33 * <p>
34 * <items> <item>1</item> <item>2</item>
35 * <item>3</item> </items>
36 * <p>
37 * whereby the sourrounding element <items> may differ.
38 * </li>
39 * <li>as empty attribute value</li>
40 * <li>which contributes no attributes</li>
41 * <li>if the object is an item in a collection, the surrounding element name
42 * is the item name specified by
43 * CollectionXMLBeanInfo#COLLECTION_ITEM_NAME</li>
44 * </ul>
45 *
46 * @author <a href="mailto:carsten.krebs@team-konzept.de">Carsten Krebs</a>
47 * @version $Revision: 1.2 $
48 *
49 * @see CollectionXMLBeanInfo#COLLECTION_ITEM_NAME
50 *
51 */
52 public class LinkedListXMLBeanInfo extends ListXMLBeanInfo {
53 }
This page was automatically generated by Maven