Package httl.util

Examples of httl.util.TypeMap


    try {
      if (templateFilter != null) {
        source = templateFilter.filter(resource.getName(), source);
      }
      Node root = templateParser.parse(source, 0);
      Map<String, Class<?>> parameterTypes = useRenderVariableType && args != null ? new DelegateMap<String, Class<?>>(new TypeMap(convertMap(args))) : null;
      Template template = translator.translate(resource, root, parameterTypes);
      if (logger != null && logger.isDebugEnabled()) {
        logger.debug("Parsed the template " + name + ", eslapsed: " + (System.currentTimeMillis() - start) + "ms.");
      }
      return template;
View Full Code Here

TOP

Related Classes of httl.util.TypeMap

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.