public class HtmlGeneratorContext extends HtmlGeneratorNode
| Modifier and Type | Field and Description |
|---|---|
protected StringTo.Many<Css> |
allCss |
protected StringTo<com.google.gwt.core.ext.typeinfo.JMethod> |
allMethods |
protected StringTo<HtmlGeneratorNode> |
allNodes |
protected com.google.gwt.core.ext.typeinfo.JClassType |
cls |
protected StringTo<HtmlGeneratorNode> |
myNodes |
| Constructor and Description |
|---|
HtmlGeneratorContext(com.google.gwt.core.ext.typeinfo.JClassType cls) |
| Modifier and Type | Method and Description |
|---|---|
void |
addCss(String name,
Css css) |
void |
addEl(String name,
El el) |
void |
addHtml(String name,
Html html) |
void |
addImport(String name,
Import imports) |
void |
addImports(String name,
Import... imports) |
void |
addMethod(String name,
com.google.gwt.core.ext.typeinfo.JMethod method) |
void |
addTemplate(String name,
HtmlTemplate template) |
void |
clear() |
Iterable<El> |
getElements(String key) |
Map<String,String> |
getProperties(El el) |
Iterable<HtmlTemplate> |
getTemplates(String key) |
addChild, addCss, addEl, addImports, addStyle, addTemplate, escape, getCss, getElements, getHtml, getImports, getName, getNameElement, getNode, getSource, getStyles, getTemplates, hasChildren, hasCss, hasElements, hasImports, hasStyles, hasTemplates, isClassType, isDynamic, isEmpty, isMethodType, isValidMethod, rootElementTag, setNameElementprotected final StringTo<com.google.gwt.core.ext.typeinfo.JMethod> allMethods
protected final StringTo.Many<Css> allCss
protected final com.google.gwt.core.ext.typeinfo.JClassType cls
protected final StringTo<HtmlGeneratorNode> allNodes
protected final StringTo<HtmlGeneratorNode> myNodes
public HtmlGeneratorContext(com.google.gwt.core.ext.typeinfo.JClassType cls)
public void clear()
public void addTemplate(String name, HtmlTemplate template)
template - public void addMethod(String name, com.google.gwt.core.ext.typeinfo.JMethod method)
name - method - public Iterable<HtmlTemplate> getTemplates(String key)
Copyright © December 07, 2012–2015 The Internet Party. All rights reserved.