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

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

public static class ShortenFormat.Factory
extends Object
implements FormatFactory


Constructor Summary
ShortenFormat.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

ShortenFormat.Factory

public ShortenFormat.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