Package org.castor.xml
Interface XMLNaming
- All Known Implementing Classes:
AbstractXMLNaming
,DefaultNaming
public interface XMLNaming
XMLNaming contains all methods required by Castor to build valid XML names.
It was originally an abstract class by Keith Visco
for which I create this interface.
- Version:
- $Id$
- Author:
- Joachim Grueneis, jgrueneis_at_codehaus_dot_org
-
Method Summary
-
Method Details
-
createXMLName
Deprecated.because this method removes the package part which is JavaNaming responsibilityCreates 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
-
toXMLName
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
-