public void register(String elemname,String classname){
  if (elemmap == null)   elemmap=new Hashtable();
  elemmap.put(elemname,classname);
}

public void register ( String elemname , String classname ) { if ( elemmap == null ) elemmap = new Hashtable ( ) ; elemmap . put ( elemname , classname ) ; }
< p > register a call back function .
