{
typeBase = element.getQName();
}
SchemaBinding schema = element.getSchema();
PackageMetaData pkgMetaData = schema.getPackageMetaData();
if(pkgMetaData == null)
{
clsName =
Util.xmlNameToClassName(typeBase.getNamespaceURI(),
typeBase.getLocalPart(),
schema.isIgnoreLowLine()
);
}
else
{
String pkg = pkgMetaData.getName();
clsName =
pkg == null || pkg.length() == 0 ?
Util.xmlNameToClassName(typeBase.getLocalPart(), schema.isIgnoreLowLine()) :
pkg + "." + Util.xmlNameToClassName(typeBase.getLocalPart(), schema.isIgnoreLowLine());
}