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 import com.teamkonzept.dom4jb.beans.XMLBeanInfo;
21 import com.teamkonzept.dom4jb.schema.DataDescriptor;
22 import com.teamkonzept.dom4jb.schema.GroupDescriptor;
23
24 /***
25 * This is the default XMLBeanInfo defining how a object will be represented.
26 * <p>
27 * Every <i>native</i> java.lang.Object object will be represented as follows:
28 * <p>
29 * <ul>
30 * <li>as empty element content</li>
31 * <li>as empty attribute value</li>
32 * <li>which contributes no attributes</li>
33 * <li>if the object is an item in a collection, the surrounding element name
34 * is the default item name</li>
35 * </ul>
36 *
37 * @author <a href="mailto:carsten.krebs@team-konzept.de">Carsten Krebs</a>
38 * @version $Revision: 1.2 $
39 *
40 * @see com.teamkonzept.dom4jb.beans.XMLBeanInfo#DEFAULT_ITEM_NAME
41 *
42 */
43 public class ObjectXMLBeanInfo implements XMLBeanInfo {
44
45 /*** Creates new ObjectXMLBeanInfo */
46 public ObjectXMLBeanInfo() {
47 }
48
49 /***
50 * @see com.teamkonzept.dom4jb.beans.XMLBeanInfo#getContentDescriptors()
51 */
52 public GroupDescriptor getContentDescriptors() {
53 return null;
54 }
55
56 /***
57 * @see com.teamkonzept.dom4jb.beans.XMLBeanInfo#getAttributeDescriptors()
58 */
59 public GroupDescriptor getAttributeDescriptors() {
60 return null;
61 }
62
63 /***
64 * @see com.teamkonzept.dom4jb.beans.XMLBeanInfo#getDataDescriptor()
65 */
66 public DataDescriptor getDataDescriptor() {
67 return null;
68 }
69
70 /***
71 * @see com.teamkonzept.dom4jb.beans.XMLBeanInfo#getItemName()
72 */
73 public String getItemName() {
74 return null;
75 }
76 }
This page was automatically generated by Maven