org.jproggy.snippetory.engine.spi
Class ToggleFormat.Factory

java.lang.Object
  extended by org.jproggy.snippetory.engine.spi.ToggleFormat.Factory
All Implemented Interfaces:
FormatFactory
Enclosing class:
ToggleFormat

public static class ToggleFormat.Factory
extends Object
implements FormatFactory


Constructor Summary
ToggleFormat.Factory()
           
 
Method Summary
 Format create(String definition, TemplateContext ctx)
           
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ToggleFormat.Factory

public ToggleFormat.Factory()
Method Detail

create

public Format create(String definition,
                     TemplateContext ctx)
Specified by:
create in interface FormatFactory
Parameters:
definition - the attribute value from the template
Returns:
the format that will be assigned to the location