org.exolab.castor.xml
Class XMLNaming
java.lang.Object
org.exolab.castor.xml.XMLNaming
public abstract class XMLNaming
extends java.lang.Object
An abstract class to handing XML naming
$Revision: 1.1.1.1 $ $Date: 2003/03/03 07:09:17 $abstract String | createXMLName(Class c) - Creates the XML Name for the given class The actual
behavior of this method is determined by the
implementation.
|
static XMLNaming | getInstance() - Returns the default instance of XMLNaming
|
abstract String | toXMLName(String name) - Converts the given String to an XML name.
|
createXMLName
public abstract String createXMLName(Class c)
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.
c
- the Class to create the XML Name for
- the XML name based on the given class
getInstance
public static final XMLNaming getInstance()
Returns the default instance of XMLNaming
toXMLName
public abstract String toXMLName(String name)
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.
- an XML name based on the given String
Intalio Inc. (C) 1999-2003. All rights reserved http://www.intalio.com