* instead of setting an XMLNaming implementation.
* @param xmlNamingProperty to set the XMLNaming property as read from configuration
*/
public void setXMLNaming(final String xmlNamingProperty) {
if ((xmlNamingProperty == null) || (xmlNamingProperty.equalsIgnoreCase("lower"))) {
setXMLNaming(new DefaultNaming());
} else if (xmlNamingProperty.equalsIgnoreCase("mixed")) {
DefaultNaming dn = new DefaultNaming();
dn.setStyle(DefaultNaming.MIXED_CASE_STYLE);
setXMLNaming(dn);
} else {
try {
Class<XMLNaming> cls = (Class<XMLNaming>) Class.forName(xmlNamingProperty);
setXMLNaming(cls.newInstance());