|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
java.lang.Objectorg.exolab.castor.xml.AbstractXMLNaming
org.exolab.castor.xml.util.DefaultNaming
The default implementation of org.exolab.castor.xml.Naming
| Field Summary | |
static short |
LOWER_CASE_STYLE
The lower case style with hyphens to separate words. |
static short |
MIXED_CASE_STYLE
The mixed case style with uppercase characters to separate words. |
| Constructor Summary | |
DefaultNaming()
Creates a new DefaultNaming |
|
| Method Summary | |
java.lang.String |
createXMLName(java.lang.Class c)
Deprecated. extracting name parts from a Class is responsibility of JavaNaming |
void |
setStyle(short style)
Sets the style for this DefaultNaming. |
java.lang.String |
toXMLName(java.lang.String name)
Converts the given name to an XML name. |
| Methods inherited from class org.exolab.castor.xml.AbstractXMLNaming |
getInstance |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
public static final short LOWER_CASE_STYLE
public static final short MIXED_CASE_STYLE
| Constructor Detail |
public DefaultNaming()
| Method Detail |
public void setStyle(short style)
DefaultNaming.LOWER_CASE_STYLE DefaultNaming.MIXED_CASE_STYLE
style - the style to usepublic java.lang.String createXMLName(java.lang.Class c)
createXMLName in interface XMLNamingcreateXMLName in class AbstractXMLNamingc - the Class to create the XML Name for
AbstractXMLNamingpublic java.lang.String toXMLName(java.lang.String name)
toXMLName in interface XMLNamingtoXMLName in class AbstractXMLNamingname - the String to convert to an XML name
AbstractXMLNaming
|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||