public class UiTemplateGenerator extends Object
| Modifier and Type | Class and Description |
|---|---|
protected class |
UiTemplateGenerator.UiContext |
protected static interface |
UiTemplateGenerator.WrapElements |
protected static class |
UiTemplateGenerator.WrapsAllClasses |
protected static class |
UiTemplateGenerator.WrapsAllElements |
protected static class |
UiTemplateGenerator.WrapsAllMethods |
protected static class |
UiTemplateGenerator.WrapsAllPackages |
protected static class |
UiTemplateGenerator.WrapsClasses |
protected static class |
UiTemplateGenerator.WrapsElements |
protected static class |
UiTemplateGenerator.WrapsMethods |
protected static class |
UiTemplateGenerator.WrapsPackages |
| Modifier and Type | Field and Description |
|---|---|
protected UiTemplateGenerator |
parent |
protected xapi.dev.gwtc.impl.GwtcUnitType |
type |
| Constructor and Description |
|---|
UiTemplateGenerator(GwtcContext.GwtcUnit root) |
| Modifier and Type | Method and Description |
|---|---|
protected void |
addChild(UiTemplateGenerator child) |
UiTemplateGenerator |
addTemplate(UiTemplate template) |
void |
doGenerate(HashSet<UiTemplateGenerator> finished,
PrintBuffer headBefore,
PrintBuffer head,
PrintBuffer headAfter,
PrintBuffer bodyBefore,
PrintBuffer body,
PrintBuffer bodyAfter) |
void |
generate(XmlBuffer head,
XmlBuffer body) |
protected String |
getResource(UiTemplate body) |
void |
printResource(PrintBuffer el,
UiTemplate body) |
protected String |
resolveTemplate(String contents,
UiTemplate body)
A hook used to allow subclasses to perform custom manipulations on a given template.
|
protected UiTemplateGenerator parent
protected final xapi.dev.gwtc.impl.GwtcUnitType type
public UiTemplateGenerator(GwtcContext.GwtcUnit root)
public UiTemplateGenerator addTemplate(UiTemplate template)
protected void addChild(UiTemplateGenerator child)
public void doGenerate(HashSet<UiTemplateGenerator> finished, PrintBuffer headBefore, PrintBuffer head, PrintBuffer headAfter, PrintBuffer bodyBefore, PrintBuffer body, PrintBuffer bodyAfter)
protected String getResource(UiTemplate body)
public void printResource(PrintBuffer el, UiTemplate body)
protected String resolveTemplate(String contents, UiTemplate body)
contents - - The resolved plaintext UTF-8 encoded text content of the supplied UiTemplatebody - - The UiTemplate from which the contents were resolvedCopyright © December 07, 2012–2015 The Internet Party. All rights reserved.