1 52 53 package freemarker.core; 54 55 import java.io.IOException ; 56 57 import freemarker.template.TemplateException; 58 59 final class FallbackInstruction extends TemplateElement { 60 61 void accept(Environment env) throws IOException , TemplateException { 62 env.fallback(); 63 } 64 65 public String getCanonicalForm() { 66 return "<#fallback/>"; 67 } 68 69 public String getDescription() { 70 return "fallback instruction"; 71 } 72 } 73 | Popular Tags |