public class StrutsConfigRetriever extends Object
Constructor and Description |
---|
StrutsConfigRetriever() |
Modifier and Type | Method and Description |
---|---|
static ActionConfig |
getActionConfig(String namespace,
String actionName)
Returns the ActionConfig for this action name at this namespace.
|
static Map<String,Map<String,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 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) |
public static Map<String,Map<String,ActionConfig>> getActionConfigs()
public static Set<String> getActionNames(String namespace)
namespace
- public static ActionConfig getActionConfig(String namespace, String actionName)
namespace
- actionName
- public static ResultConfig getResultConfig(String namespace, String actionName, String resultName)
public static View getView(String namespace, String actionName, String resultName, int type)
Copyright © 2000–2023 Apache Software Foundation. All rights reserved.