org.jproggy.snippetory.engine
Class FormatRegistry

java.lang.Object
  extended by org.jproggy.snippetory.engine.FormatRegistry

public final class FormatRegistry
extends Object


Field Summary
static FormatRegistry INSTANCE
           
 
Method Summary
 Format get(String name, String definition, TemplateContext ctx)
           
 void register(String name, FormatFactory value)
           
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

INSTANCE

public static final FormatRegistry INSTANCE
Method Detail

register

public void register(String name,
                     FormatFactory value)

get

public Format get(String name,
                  String definition,
                  TemplateContext ctx)