* if the element is not a ModuleBuilder.
*/
public void addChild (Element child) throws BuilderException {
assert (child != null);
if (!(child instanceof ModuleBuilder))
throw new BuilderException ("Source element must be a module.");
if (source != null)
throw new BuilderException ("Cache element can only have one source.");
source = (ModuleBuilder) child;
}