View Javadoc
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 integer will be represented. 22 * <p> 23 * Every java.lang.Integer object will be represented as follows: 24 * <p> 25 * <ul> 26 * <li>as text element content, representing the String returned by the 27 * method toString()</li> 28 * <li>as attribute value, representing the String returned by the 29 * method toString()</li> 30 * <li>which contributes no attributes</li> 31 * <li>if the string is an item in a collection, the surrounding element name 32 * is the default item name</li> 33 * </ul> 34 * 35 * @author <a href="mailto:carsten.krebs@team-konzept.de">Carsten Krebs</a> 36 * @version $Revision: 1.2 $ 37 * 38 * @see com.teamkonzept.dom4jb.beans.XMLBeanInfo#DEFAULT_ITEM_NAME 39 */ 40 public class IntegerXMLBeanInfo extends StringXMLBeanInfo { 41 42 /*** Creates new IntegerXMLBeanInfo */ 43 public IntegerXMLBeanInfo() { 44 super(); 45 } 46 }

This page was automatically generated by Maven