de.neuland.jade4j
Class Jade4J

java.lang.Object
  extended by de.neuland.jade4j.Jade4J

public class Jade4J
extends Object


Nested Class Summary
static class Jade4J.Mode
           
 
Constructor Summary
Jade4J()
           
 
Method Summary
static JadeTemplate getTemplate(String filename)
           
static String render(JadeTemplate template, Map<String,Object> model)
           
static String render(JadeTemplate template, Map<String,Object> model, boolean pretty)
           
static void render(JadeTemplate template, Map<String,Object> model, Writer writer)
           
static void render(JadeTemplate template, Map<String,Object> model, Writer writer, boolean pretty)
           
static String render(Reader reader, String filename, Map<String,Object> model)
           
static String render(Reader reader, String filename, Map<String,Object> model, boolean pretty)
           
static String render(String filename, Map<String,Object> model)
           
static String render(String filename, Map<String,Object> model, boolean pretty)
           
static void render(String filename, Map<String,Object> model, Writer writer)
           
static void render(String filename, Map<String,Object> model, Writer writer, boolean pretty)
           
static String render(URL url, Map<String,Object> model)
           
static String render(URL url, Map<String,Object> model, boolean pretty)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Jade4J

public Jade4J()
Method Detail

render

public static String render(String filename,
                            Map<String,Object> model)
                     throws IOException,
                            JadeCompilerException
Throws:
IOException
JadeCompilerException

render

public static String render(String filename,
                            Map<String,Object> model,
                            boolean pretty)
                     throws IOException,
                            JadeCompilerException
Throws:
IOException
JadeCompilerException

render

public static void render(String filename,
                          Map<String,Object> model,
                          Writer writer)
                   throws IOException,
                          JadeCompilerException
Throws:
IOException
JadeCompilerException

render

public static void render(String filename,
                          Map<String,Object> model,
                          Writer writer,
                          boolean pretty)
                   throws IOException,
                          JadeCompilerException
Throws:
IOException
JadeCompilerException

render

public static String render(JadeTemplate template,
                            Map<String,Object> model)
                     throws JadeCompilerException
Throws:
JadeCompilerException

render

public static String render(JadeTemplate template,
                            Map<String,Object> model,
                            boolean pretty)
                     throws JadeCompilerException
Throws:
JadeCompilerException

render

public static void render(JadeTemplate template,
                          Map<String,Object> model,
                          Writer writer)
                   throws JadeCompilerException
Throws:
JadeCompilerException

render

public static void render(JadeTemplate template,
                          Map<String,Object> model,
                          Writer writer,
                          boolean pretty)
                   throws JadeCompilerException
Throws:
JadeCompilerException

render

public static String render(URL url,
                            Map<String,Object> model)
                     throws IOException,
                            JadeCompilerException
Throws:
IOException
JadeCompilerException

render

public static String render(URL url,
                            Map<String,Object> model,
                            boolean pretty)
                     throws IOException,
                            JadeCompilerException
Throws:
IOException
JadeCompilerException

render

public static String render(Reader reader,
                            String filename,
                            Map<String,Object> model)
                     throws IOException,
                            JadeCompilerException
Throws:
IOException
JadeCompilerException

render

public static String render(Reader reader,
                            String filename,
                            Map<String,Object> model,
                            boolean pretty)
                     throws IOException,
                            JadeCompilerException
Throws:
IOException
JadeCompilerException

getTemplate

public static JadeTemplate getTemplate(String filename)
                                throws IOException
Throws:
IOException


Copyright © 2013. All rights reserved.