|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.apache.struts2.sitegraph.StrutsConfigRetriever
public class StrutsConfigRetriever
Initializes and retrieves XWork config elements
Constructor Summary | |
---|---|
StrutsConfigRetriever()
|
Method Summary | |
---|---|
static com.opensymphony.xwork2.config.entities.ActionConfig |
getActionConfig(String namespace,
String actionName)
Returns the ActionConfig for this action name at this namespace. |
static Map<String,Map<String,com.opensymphony.xwork2.config.entities.ActionConfig>> |
getActionConfigs()
Returns a Map of all action names/configs |
static Set<String> |
getActionNames(String namespace)
Return a Set of the action names for this namespace. |
static Set<String> |
getNamespaces()
|
static com.opensymphony.xwork2.config.entities.ResultConfig |
getResultConfig(String namespace,
String actionName,
String resultName)
|
static View |
getView(String namespace,
String actionName,
String resultName,
int type)
|
static File |
getViewFile(String namespace,
String actionName,
String resultName)
|
static void |
setConfiguration(String configDir,
String[] views)
|
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public StrutsConfigRetriever()
Method Detail |
---|
public static Map<String,Map<String,com.opensymphony.xwork2.config.entities.ActionConfig>> getActionConfigs()
public static Set<String> getNamespaces()
public static Set<String> getActionNames(String namespace)
namespace
-
public static com.opensymphony.xwork2.config.entities.ActionConfig getActionConfig(String namespace, String actionName)
namespace
- actionName
-
public static com.opensymphony.xwork2.config.entities.ResultConfig getResultConfig(String namespace, String actionName, String resultName)
public static File getViewFile(String namespace, String actionName, String resultName)
public static View getView(String namespace, String actionName, String resultName, int type)
public static void setConfiguration(String configDir, String[] views)
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |