Package org.exolab.castor.xml
Class AbstractXMLNaming
java.lang.Object
org.exolab.castor.xml.AbstractXMLNaming
- All Implemented Interfaces:
XMLNaming
- Direct Known Subclasses:
DefaultNaming
An abstract class to handing XML naming
- Version:
- $Revision: 8034 $ $Date: 2003-09-12 03:23:33 -0600 (Fri, 12 Sep 2003) $
- Author:
- Keith Visco
-
Constructor Summary
Constructors -
Method Summary
-
Constructor Details
-
AbstractXMLNaming
public AbstractXMLNaming()
-
-
Method Details
-
createXMLName
Description copied from interface:XMLNaming
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.- Specified by:
createXMLName
in interfaceXMLNaming
- Parameters:
c
- the Class to create the XML Name for- Returns:
- the XML name based on the given class
-
toXMLName
Description copied from interface:XMLNaming
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. -
getInstance
Returns the default instance of XMLNaming.- See Also:
-