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)
Returns generated GXP class given an absolute path to a GXP file.
|
T |
getGxpClosure()
Creates GXP closure.
|
protected T |
getGxpClosure(T body,
Map params)
Creates GXP closure.
|
protected Object |
getGxpInstance() |
protected Map |
getOverrides(T body,
Map params) |
List<Param> |
getParams()
Returns list of parameters requested by GXP.
|
protected static Method |
lookupMethodByName(Class clazz,
String name)
Returns first method with the given name.
|
void |
setValueStackFactory(com.opensymphony.xwork2.util.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)
protected void write(Appendable out, com.google.gxp.base.GxpContext gxpContext, Map overrides)
overrides
- 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)
public Class getGxpClass()
public static Class getGxpClassForPath(String gxpPath)
public void setValueStackFactory(com.opensymphony.xwork2.util.ValueStackFactory valueStackFactory)
Copyright © 2000-2014 Apache Software Foundation. All Rights Reserved.