Public Member Functions | Static Public Member Functions

org.exolab.castor.xml.XMLNaming Class Reference

Inheritance diagram for org.exolab.castor.xml.XMLNaming:
org.exolab.castor.xml.util.DefaultNaming

List of all members.

Public Member Functions

abstract String createXMLName (Class c)
abstract String toXMLName (String name)

Static Public Member Functions

static final XMLNaming getInstance ()

Detailed Description

An abstract class to handing XML naming

Author:
Keith Visco
Version:
Revision:
1.2
Date:
2003/09/12 09:23:33

Member Function Documentation

abstract String org.exolab.castor.xml.XMLNaming.createXMLName ( Class  c  )  [pure virtual]

Creates the XML Name for the given class The actual behavior of this method is determined by the implementation. The only restriction is that the name returned must be a valid xml name.

Parameters:
c the Class to create the XML Name for
Returns:
the XML name based on the given class

Implemented in org.exolab.castor.xml.util.DefaultNaming.

static final XMLNaming org.exolab.castor.xml.XMLNaming.getInstance (  )  [static]
abstract String org.exolab.castor.xml.XMLNaming.toXMLName ( String  name  )  [pure virtual]

Converts the given String to an XML name. The actual behavior of this method is determined by the implementation. The only restriction is that the name returned must be a valid xml name.

Returns:
an XML name based on the given String

Implemented in org.exolab.castor.xml.util.DefaultNaming.

Referenced by org.exolab.castor.xml.XMLMappingLoader.createDescriptor(), org.exolab.castor.xml.XMLMappingLoader.createFieldDesc(), org.exolab.castor.xml.Introspector.generateClassDescriptor(), org.exolab.castor.xml.util.XMLClassDescriptorImpl.toXMLName(), and org.exolab.castor.xml.util.XMLClassDescriptorAdapter.XMLClassDescriptorAdapter().


The documentation for this class was generated from the following file:
 All Classes Namespaces Files Functions Variables Enumerations Properties