public static Element declareInstance ( ComponentWorkbench workbench ) { Element instance = new Element ( "instance" , "" ) ; instance . addAttribute ( new Attribute ( COMPONENT , workbench . getType ( ) . getClassName ( ) ) ) ; return instance ; }
Declares an instance .