Package com.floreysoft.jmte.sample

Examples of com.floreysoft.jmte.sample.SampleComplexExpressionCompiledTemplate


  @Test
  public void compiledComplexSample() throws Exception {
    String input = "${<h1>,address(NIX),</h1>;long(full)}";
    String interpretedOutput = ENGINE_WITH_CUSTOM_RENDERERS.transform(
        input, DEFAULT_MODEL);
    String compiledOutput = new SampleComplexExpressionCompiledTemplate(
        ENGINE_WITH_CUSTOM_RENDERERS).transform(DEFAULT_MODEL,
        DEFAULT_LOCALE, MODEL_ADAPTOR, null);
    assertEquals(interpretedOutput, compiledOutput);
  }
View Full Code Here

TOP

Related Classes of com.floreysoft.jmte.sample.SampleComplexExpressionCompiledTemplate

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.