01: /*
02: * Created on 13 Nov 2006
03: */
04: package uk.org.ponder.rsf.templateresolver;
05:
06: /** A tag interface determining whether a successfully resolved template is
07: * expected from this resolver. Resolvers *not* implementing this interface will
08: * be assumed to default to <code>true</code>
09: *
10: * @author Antranig Basman (antranig@caret.cam.ac.uk)
11: *
12: */
13:
14: public interface ExpectedTRS {
15:
16: /** Indicates whether a resolved template is "expected" from this
17: * TRS. An error will be thrown if none from the complete set of
18: * TemplateResolverStrategies implementing this interface returns any templates,
19: * listing the paths which were searched. */
20: public boolean isExpected();
21: }
|