com.teamkonzept.dom4jb.beans.infos
Class StringXMLBeanInfo

java.lang.Object
  |
  +--com.teamkonzept.dom4jb.beans.infos.ObjectXMLBeanInfo
        |
        +--com.teamkonzept.dom4jb.beans.infos.StringXMLBeanInfo
All Implemented Interfaces:
XMLBeanInfo
Direct Known Subclasses:
IntegerXMLBeanInfo, LongXMLBeanInfo

public class StringXMLBeanInfo
extends ObjectXMLBeanInfo

This is the default XMLBeanInfo defining how a string will be represented.

Every java.lang.String object will be represented as follows:

Version:
$Revision: 1.2 $
Author:
Carsten Krebs
See Also:
XMLBeanInfo.DEFAULT_ITEM_NAME

Field Summary
 
Fields inherited from interface com.teamkonzept.dom4jb.beans.XMLBeanInfo
DEFAULT_ITEM_NAME
 
Constructor Summary
StringXMLBeanInfo()
          Creates new StringXMLBeanInfo
 
Method Summary
 GroupDescriptor getContentDescriptors()
          Gets the group of content descriptors.
 DataDescriptor getDataDescriptor()
          Gets the data descriptor.
 
Methods inherited from class com.teamkonzept.dom4jb.beans.infos.ObjectXMLBeanInfo
getAttributeDescriptors, getItemName
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

StringXMLBeanInfo

public StringXMLBeanInfo()
Creates new StringXMLBeanInfo

Method Detail

getContentDescriptors

public GroupDescriptor getContentDescriptors()
Description copied from interface: XMLBeanInfo
Gets the group of content descriptors. Every content descriptor defines the mapping of the bean properties to the content of an XML element.

Specified by:
getContentDescriptors in interface XMLBeanInfo
Overrides:
getContentDescriptors in class ObjectXMLBeanInfo
See Also:
XMLBeanInfo.getContentDescriptors()

getDataDescriptor

public DataDescriptor getDataDescriptor()
Description copied from interface: XMLBeanInfo
Gets the data descriptor. That is a descriptor which defines how the bean will be transformed into character data. Every time the bean is used as attribute value this data descriptor is used.

Specified by:
getDataDescriptor in interface XMLBeanInfo
Overrides:
getDataDescriptor in class ObjectXMLBeanInfo
See Also:
XMLBeanInfo.getDataDescriptor()


Copyright © 2001-2003 Team-Konzept GmbH & CO KG. All Rights Reserved.