public @interface HtmlTemplate
| Modifier and Type | Fields and Description |
|---|---|
static String |
KEY_CHILDREN |
static String |
KEY_CONTEXT |
static String |
KEY_PARENT |
static String |
KEY_VALUE |
| Modifier and Type | Optional Element and Description |
|---|---|
Import[] |
imports |
boolean |
inherit |
String |
name |
Class<?>[] |
references |
String |
template |
String[] |
templateKeys |
boolean |
wrapsChildren |
public static final String KEY_PARENT
public static final String KEY_CHILDREN
public static final String KEY_CONTEXT
public static final String KEY_VALUE
public abstract boolean inherit
Html, El or
HtmlTemplate.public abstract String name
public abstract String template
public abstract String[] templateKeys
Unless you are implementing your own generator, the only reason to set this variable will be to declare aliases to snippets of code that will be within scope in generated code.
To use an alias, use a templateKey in the form of "keyName:scopedObject.doSomething".
If you use Import tags, you can _try_ using short classnames,
however a fully qualified reference to type names is recommended.
static imports with unique names is general the safest way to make concise references in template values.
public abstract Import[] imports
Copyright © December 07, 2012–2015 The Internet Party. All rights reserved.