|
|||||||||
| PREV NEXT | FRAMES NO FRAMES | ||||||||
| Uses of DuelContext in org.duelengine.duel |
|---|
| Methods in org.duelengine.duel that return DuelContext | |
|---|---|
DuelContext |
DuelContext.clearExtras()
|
DuelContext |
DuelContext.putExtra(String ident,
Object value)
|
DuelContext |
DuelContext.putExtras(Map<String,?> values)
|
DuelContext |
DuelContext.setClientID(ClientIDStrategy value)
|
DuelContext |
DuelContext.setData(Object data)
|
DuelContext |
DuelContext.setFormat(FormatPrefs value)
|
DuelContext |
DuelContext.setLinkInterceptor(LinkInterceptor value)
|
DuelContext |
DuelContext.setOutput(Appendable output)
|
| Methods in org.duelengine.duel with parameters of type DuelContext | |
|---|---|
protected void |
DuelView.dataEncode(DuelContext context,
Object data,
int depth)
Emits data object as a graph of JavaScript literals |
protected Object |
DuelView.getExtra(DuelContext context,
String ident)
|
protected boolean |
DuelView.hasExtras(DuelContext context,
String... idents)
|
protected void |
DuelView.htmlEncode(DuelContext context,
Object value)
Ensures the value is properly encoded as HTML text |
protected String |
DuelView.nextID(DuelContext context)
|
protected void |
DuelView.putExtra(DuelContext context,
String ident,
Object value)
|
void |
DuelView.render(DuelContext context)
Binds the view to any data and renders the view to the output |
protected abstract void |
DuelView.render(DuelContext context,
Object data,
int index,
int count,
String key)
The entry point into the view tree |
protected void |
DuelView.renderPart(DuelContext context,
String partName,
Object data,
int index,
int count,
String key)
Renders a named partial view |
protected void |
DuelView.renderView(DuelContext context,
DuelView view,
Object data,
int index,
int count,
String key)
Allows one view to render another |
protected String |
DuelView.transformURL(DuelContext context,
String url)
Allows view to intercept and transform URLs within element attributes |
protected void |
DuelView.write(DuelContext context,
char value)
Writes the value to the output |
protected void |
DuelView.write(DuelContext context,
Object value)
Writes the value to the output |
protected void |
DuelView.write(DuelContext context,
String value)
Writes the value to the output |
protected void |
DuelView.writeExtras(DuelContext context,
boolean needsTags)
|
|
|||||||||
| PREV NEXT | FRAMES NO FRAMES | ||||||||