Package org.webpieces.templating.api
Class HtmlTagLookup
- java.lang.Object
-
- org.webpieces.templating.api.HtmlTagLookup
-
@Singleton public class HtmlTagLookup extends java.lang.Object
-
-
Field Summary
Fields Modifier and Type Field Description protected ConverterLookupconverter
-
Constructor Summary
Constructors Constructor Description HtmlTagLookup(TemplateConfig config, RouterLookup lookup, ConverterLookup converter)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidinitialize(TemplateService templateService)A nasty circular dependency so we initialize it on the firstTemplate loaded in the applicationvoidinstall(java.util.Set<org.webpieces.ctx.api.extension.HtmlTagCreator> htmlCreators)HtmlTaglookup(java.lang.String tagName)protected voidput(HtmlTag tag)
-
-
-
Field Detail
-
converter
protected ConverterLookup converter
-
-
Constructor Detail
-
HtmlTagLookup
@Inject public HtmlTagLookup(TemplateConfig config, RouterLookup lookup, ConverterLookup converter)
-
-
Method Detail
-
put
protected void put(HtmlTag tag)
-
lookup
public HtmlTag lookup(java.lang.String tagName)
-
initialize
public void initialize(TemplateService templateService)
A nasty circular dependency so we initialize it on the firstTemplate loaded in the application- Parameters:
templateService-
-
install
public void install(java.util.Set<org.webpieces.ctx.api.extension.HtmlTagCreator> htmlCreators)
-
-