biz.source_code.miniTemplator
Class MiniTemplator.TemplateSpecification

java.lang.Object
  extended by biz.source_code.miniTemplator.MiniTemplator.TemplateSpecification
Enclosing class:
MiniTemplator

public static class MiniTemplator.TemplateSpecification
extends Object

Specifies the parameters for constructing a MiniTemplator object.


Field Summary
 Charset charset
          The character set to be used for reading and writing files.
 Set<String> conditionFlags
          Flags for the conditional commands ($if, $elseIf).
 boolean shortFormEnabled
          Enables the short form syntax for conditional blocks.
 URL url
          The template URL.
 
Constructor Summary
MiniTemplator.TemplateSpecification()
           
 
Method Summary
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

url

public URL url
The template URL.


charset

public Charset charset
The character set to be used for reading and writing files. This charset is used for reading the template and subtemplate files and for writing output with MiniTemplator.generateOutput(String outputFileName). If this field is null, the default charset of the Java VM is used.


conditionFlags

public Set<String> conditionFlags
Flags for the conditional commands ($if, $elseIf). A set of flag names, that can be used with the $if and $elseIf commands. The flag names are case-insensitive.


shortFormEnabled

public boolean shortFormEnabled
Enables the short form syntax for conditional blocks.

Constructor Detail

MiniTemplator.TemplateSpecification

public MiniTemplator.TemplateSpecification()


Copyright © 2012. All Rights Reserved.