Package cambridge.model

Examples of cambridge.model.ExtendsDirective


         selector = matcher.group(0);
      }

      try {
         template.addInclude(fileName);
         return new ExtendsDirective(templateLoader, fileName, selector);
      } catch (TemplateLoadingException e) {
         throw new TemplateParsingException("Could not load the extended template", e, currentToken.getLineNo(), currentToken.getColumn());
      } catch (BehaviorInstantiationException e) {
         throw new TemplateParsingException("Could not load the extended template", e, currentToken.getLineNo(), currentToken.getColumn());
      }
View Full Code Here


            throw new TemplateParsingException("Invalid extend directive", currentToken.getLineNo(), currentToken.getColumn());
        }

        try {
            template.addInclude(fileName);
            return new ExtendsDirective(templateLoader, fileName, selector, expressionLanguage);
        } catch (TemplateLoadingException e) {
            throw new TemplateParsingException("Could not load the extended template", e, currentToken.getLineNo(), currentToken.getColumn());
        } catch (BehaviorInstantiationException e) {
            throw new TemplateParsingException("Could not load the extended template", e, currentToken.getLineNo(), currentToken.getColumn());
        }
View Full Code Here

TOP

Related Classes of cambridge.model.ExtendsDirective

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.