|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.opensymphony.xwork.util.location.Located
com.opensymphony.xwork.config.entities.PackageConfig
Configuration for Package.
In the xml configuration file this is defined as thepackage
tag.
Field Summary |
Fields inherited from class com.opensymphony.xwork.util.location.Located |
location |
Constructor Summary | |
PackageConfig()
|
|
PackageConfig(String name)
|
|
PackageConfig(String name,
String namespace,
boolean isAbstract,
ExternalReferenceResolver externalRefResolver)
|
|
PackageConfig(String name,
String namespace,
boolean isAbstract,
ExternalReferenceResolver externalRefResolver,
List parents)
|
Method Summary | |
void |
addActionConfig(String name,
ActionConfig action)
|
void |
addAllParents(List parents)
|
void |
addExceptionMappingConfig(ExceptionMappingConfig exceptionMappingConfig)
|
void |
addGlobalExceptionMappingConfigs(List exceptionMappingConfigs)
|
void |
addGlobalResultConfig(ResultConfig resultConfig)
|
void |
addGlobalResultConfigs(Map resultConfigs)
|
void |
addInterceptorConfig(InterceptorConfig config)
|
void |
addInterceptorStackConfig(InterceptorStackConfig config)
|
void |
addParent(PackageConfig parent)
|
void |
addResultTypeConfig(ResultTypeConfig config)
|
int |
compareTo(Object o)
|
boolean |
equals(Object o)
|
Map |
getActionConfigs()
|
Map |
getAllActionConfigs()
returns the Map of all the ActionConfigs available in the current package. |
List |
getAllExceptionMappingConfigs()
returns the List of all the ExceptionMappingConfigs available in the current package. |
Map |
getAllGlobalResults()
returns the Map of all the global ResultConfigs available in the current package. |
Map |
getAllInterceptorConfigs()
returns the Map of all InterceptorConfigs and InterceptorStackConfigs available in the current package. |
Map |
getAllResultTypeConfigs()
returns the Map of all the ResultTypeConfigs available in the current package. |
String |
getDefaultActionRef()
|
String |
getDefaultInterceptorRef()
|
String |
getDefaultResultType()
Returns the default result type for this package. |
ExternalReferenceResolver |
getExternalRefResolver()
Gets the Reference resolver for this package. |
String |
getFullDefaultActionRef()
gets the default action-ref name. |
String |
getFullDefaultInterceptorRef()
gets the default interceptor-ref name. |
String |
getFullDefaultResultType()
Returns the default result type for this package. |
List |
getGlobalExceptionMappingConfigs()
gets the ExceptionMappingConfigs local to this package |
Map |
getGlobalResultConfigs()
gets the global ResultConfigs local to this package |
Map |
getInterceptorConfigs()
gets the InterceptorConfigs and InterceptorStackConfigs local to this package |
String |
getName()
|
String |
getNamespace()
|
List |
getParents()
|
Map |
getResultTypeConfigs()
gets the ResultTypeConfigs local to this package |
int |
hashCode()
|
boolean |
isAbstract()
|
void |
removeParent(PackageConfig parent)
|
void |
setAbstract(boolean isAbstract)
|
void |
setDefaultActionRef(String name)
|
void |
setDefaultInterceptorRef(String name)
|
void |
setDefaultResultType(String defaultResultType)
sets the default Result type for this package |
void |
setExternalRefResolver(ExternalReferenceResolver externalRefResolver)
|
void |
setName(String name)
|
void |
setNamespace(String namespace)
|
String |
toString()
|
Methods inherited from class com.opensymphony.xwork.util.location.Located |
getLocation, setLocation |
Methods inherited from class java.lang.Object |
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
Constructor Detail |
public PackageConfig()
public PackageConfig(String name)
public PackageConfig(String name, String namespace, boolean isAbstract, ExternalReferenceResolver externalRefResolver)
public PackageConfig(String name, String namespace, boolean isAbstract, ExternalReferenceResolver externalRefResolver, List parents)
Method Detail |
public void setAbstract(boolean isAbstract)
public boolean isAbstract()
public Map getActionConfigs()
public Map getAllActionConfigs()
ActionConfig
public Map getAllGlobalResults()
ResultConfig
public Map getAllInterceptorConfigs()
InterceptorConfig
,
InterceptorStackConfig
public Map getAllResultTypeConfigs()
ResultTypeConfig
public List getAllExceptionMappingConfigs()
ExceptionMappingConfig
public void setDefaultInterceptorRef(String name)
public String getDefaultInterceptorRef()
public void setDefaultActionRef(String name)
public String getDefaultActionRef()
public void setDefaultResultType(String defaultResultType)
defaultResultType
- public String getDefaultResultType()
public void setExternalRefResolver(ExternalReferenceResolver externalRefResolver)
externalRefResolver
- The externalRefResolver to set.public ExternalReferenceResolver getExternalRefResolver()
public String getFullDefaultInterceptorRef()
public String getFullDefaultActionRef()
public String getFullDefaultResultType()
public Map getGlobalResultConfigs()
ResultConfig
public Map getInterceptorConfigs()
InterceptorConfig
,
InterceptorStackConfig
public void setName(String name)
public String getName()
public void setNamespace(String namespace)
public String getNamespace()
public List getParents()
public Map getResultTypeConfigs()
ResultTypeConfig
public List getGlobalExceptionMappingConfigs()
ExceptionMappingConfig
public void addActionConfig(String name, ActionConfig action)
public void addAllParents(List parents)
public void addGlobalResultConfig(ResultConfig resultConfig)
public void addGlobalResultConfigs(Map resultConfigs)
public void addExceptionMappingConfig(ExceptionMappingConfig exceptionMappingConfig)
public void addGlobalExceptionMappingConfigs(List exceptionMappingConfigs)
public void addInterceptorConfig(InterceptorConfig config)
public void addInterceptorStackConfig(InterceptorStackConfig config)
public void addParent(PackageConfig parent)
public void addResultTypeConfig(ResultTypeConfig config)
public boolean equals(Object o)
public int hashCode()
public void removeParent(PackageConfig parent)
public String toString()
public int compareTo(Object o)
compareTo
in interface Comparable
|
XWork Project Page | ||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |