String name = getUniqueString( root, EYE.className );
try
{
Class<?> c = Class.forName( name );
Constructor<?> co = c.getConstructor( new Class[] {Resource.class} );
Renderer result = (Renderer) co.newInstance( new Object[] {root} );
return result;
}
catch (Exception e)
{
throw new RuntimeException( "error loading/constructing " + name, e );