Modifier | Constructor and Description |
---|---|
protected |
AbstractGxp(Class gxpClass) |
protected |
AbstractGxp(Class gxpClass,
Method writeMethod,
Method getGxpClosureMethod) |
Modifier and Type | Method and Description |
---|---|
protected Object[] |
getArgs(Appendable out,
com.google.gxp.base.GxpContext gxpContext,
Map overrides) |
Class |
getGxpClass() |
static Class |
getGxpClassForPath(String gxpPath) |
T |
getGxpClosure() |
protected T |
getGxpClosure(T body,
Map params) |
protected Object |
getGxpInstance() |
protected Map |
getOverrides(T body,
Map params) |
List<Param> |
getParams() |
protected static Method |
lookupMethodByName(Class clazz,
String name) |
void |
setValueStackFactory(ValueStackFactory valueStackFactory) |
void |
write(Appendable out,
com.google.gxp.base.GxpContext gxpContext)
Writes GXP.
|
protected void |
write(Appendable out,
com.google.gxp.base.GxpContext gxpContext,
Map overrides)
Writes GXP.
|
protected AbstractGxp(Class gxpClass)
public void write(Appendable out, com.google.gxp.base.GxpContext gxpContext)
out
- AppendablegxpContext
- GXP contentprotected void write(Appendable out, com.google.gxp.base.GxpContext gxpContext, Map overrides)
out
- AppendablegxpContext
- GXP contentoverrides
- parameter map pushed onto the value stackprotected Object[] getArgs(Appendable out, com.google.gxp.base.GxpContext gxpContext, Map overrides)
protected Object getGxpInstance()
null
public T getGxpClosure()
protected T getGxpClosure(T body, Map params)
body
- is pushed onto the stack if this GXP has a
MarkupClosure
(or subclass) parameter named "body".params
- comes first on the value stack.protected static Method lookupMethodByName(Class clazz, String name)
clazz
- classname
- method name for lookuppublic Class getGxpClass()
public static Class getGxpClassForPath(String gxpPath)
gxpPath
- Gxp pathpublic void setValueStackFactory(ValueStackFactory valueStackFactory)
Copyright © 2000–2020 Apache Software Foundation. All rights reserved.