/** * Set the classpath to use for loading a custom selector by using * a reference. * @param r a reference to the classpath */ public void setClasspathref(Reference r) { if (isReference()) { throw tooManyAttributes(); } createClasspath().setRefid(r); }