org.exolab.castor.xml
Class AbstractXMLNaming
java.lang.Object
org.exolab.castor.xml.AbstractXMLNaming
- XMLNaming
public abstract class AbstractXMLNaming
extends java.lang.Object
An abstract class to handing XML naming
$Revision: 7359 $ $Date: 2003-09-12 03:23:33 -0600 (Fri, 12 Sep 2003) $abstract String | createXMLName(Class c) - because this method removes the package part which is JavaNaming responsibility
|
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)
because this method removes the package part which is JavaNaming responsibility
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.
- createXMLName in interface XMLNaming
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.
org.exolab.castor.util.Configuration
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.
- toXMLName in interface XMLNaming
- an XML name based on the given String
Intalio Inc. (C) 1999-2008. All rights reserved http://www.intalio.com