public CreationTemplate(String name,AttrSet required,AttrSet optional,Class cls){
  this(name,required,optional);
  ArrayList classes=new ArrayList();
  classes.add(cls);
  setCreationClasses(classes);
}

public CreationTemplate ( String name , AttrSet required , AttrSet optional , Class cls ) { this ( name , required , optional ) ; ArrayList classes = new ArrayList ( ) ; classes . add ( cls ) ; setCreationClasses ( classes ) ; }
creates a template with required and optional attributes .
