01: /*
02: * Created on Aug 5, 2005
03: */
04: package uk.org.ponder.rsf.view;
05:
06: /**
07: * An interface which may be used during component production, to avoid
08: * generating (expensive) components which will not be rendered by the
09: * current template.
10: * @author Antranig Basman (antranig@caret.cam.ac.uk)
11: *
12: */
13: public interface ComponentChecker {
14: /**
15: * Returns <code>true</code> if the template set for the current view contains
16: * any demand for a component with the supplied ID.
17: */
18: public boolean hasComponent(String ID);
19: }
|