SourceCookie sourcecookie = (SourceCookie)dataobject.getCookie(SourceCookie.class);
if(sourcecookie == null)
{
// when can this option raise up
}
ClassElement aclasselement[] = sourcecookie.getSource().getClasses();
try
{
if(aclasselement == null || aclasselement.length == 0)
{
// what should we do, if the template does not contain a class
}else
{ //we have to aquire the innner class
original_outerclass = (ClassElement) aclasselement[0].clone();
customized_outerclass = (ClassElement) aclasselement[0].clone();
ClassElement classelement[] = original_outerclass.getClasses() ;
ClassElement classelement1[] = customized_outerclass.getClasses() ;
original_innerclass = classelement[0];
customized_innerclass = classelement1[0];
//now we have the all the classes
}
} catch(Exception e){}