public void processClass ( String template , Properties attributes ) throws XDocletException { if ( ! _model . hasClass ( getCurrentClass ( ) . getQualifiedName ( ) ) ) { // we only want to output the log message once LogHelper . debug ( true , OjbTagsHandler . class , "processClass" , "Type " + getCurrentClass ( ) . getQualifiedName ( ) ) ; } ClassDescriptorDef classDef = ensureClassDef ( getCurrentClass ( ) ) ; String attrName ; for ( Enumeration attrNames = attributes . propertyNames ( ) ; attrNames . hasMoreElements ( ) ; ) { attrName = ( String ) attrNames . nextElement ( ) ; classDef . setProperty ( attrName , attributes . getProperty ( attrName ) ) ; } _curClassDef = classDef ; generate ( template ) ; _curClassDef = null ; }
Sets the current class definition derived from the current class and optionally some attributes .