org.exolab.castor.xml
Class XMLNaming
public abstract
class
XMLNaming
extends Object
An abstract class to handing XML naming
Version: $Revision: 1.1.1.1 $ $Date: 2003/03/03 07:09:17 $
Author: Keith Visco
Method Summary |
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. |
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.
Parameters: c the Class to create the XML Name for
Returns: the XML name based on the given class
Returns the default instance of XMLNaming
See Also:
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.
Returns: an XML name based on the given String
Intalio Inc. (C) 1999-2003. All rights reserved http://www.intalio.com