ExpectedTRS.java :  » Web-Framework » RSF » uk » org » ponder » rsf » templateresolver » Java Open Source

Java Open Source » Web Framework » RSF 
RSF » uk » org » ponder » rsf » templateresolver » ExpectedTRS.java
/*
 * Created on 13 Nov 2006
 */
package uk.org.ponder.rsf.templateresolver;

/** A tag interface determining whether a successfully resolved template is
 * expected from this resolver. Resolvers *not* implementing this interface will
 * be assumed to default to <code>true</code> 
 * 
 * @author Antranig Basman (antranig@caret.cam.ac.uk)
 *
 */

public interface ExpectedTRS {

  /** Indicates whether a resolved template is "expected" from this
  * TRS. An error will be thrown if none from the complete set of 
  * TemplateResolverStrategies implementing this interface returns any templates,
  * listing the paths which were searched. */
  public boolean isExpected();
}
java2s.com  | Contact Us | Privacy Policy
Copyright 2009 - 12 Demo Source and Support. All rights reserved.
All other trademarks are property of their respective owners.