Java Doc for PackageConfig.java in  » J2EE » webwork-2.2.6 » com » opensymphony » xwork » config » entities » Java Source Code / Java DocumentationJava Source Code and Java Documentation

Java Source Code / Java Documentation
1. 6.0 JDK Core
2. 6.0 JDK Modules
3. 6.0 JDK Modules com.sun
4. 6.0 JDK Modules com.sun.java
5. 6.0 JDK Modules sun
6. 6.0 JDK Platform
7. Ajax
8. Apache Harmony Java SE
9. Aspect oriented
10. Authentication Authorization
11. Blogger System
12. Build
13. Byte Code
14. Cache
15. Chart
16. Chat
17. Code Analyzer
18. Collaboration
19. Content Management System
20. Database Client
21. Database DBMS
22. Database JDBC Connection Pool
23. Database ORM
24. Development
25. EJB Server geronimo
26. EJB Server GlassFish
27. EJB Server JBoss 4.2.1
28. EJB Server resin 3.1.5
29. ERP CRM Financial
30. ESB
31. Forum
32. GIS
33. Graphic Library
34. Groupware
35. HTML Parser
36. IDE
37. IDE Eclipse
38. IDE Netbeans
39. Installer
40. Internationalization Localization
41. Inversion of Control
42. Issue Tracking
43. J2EE
44. JBoss
45. JMS
46. JMX
47. Library
48. Mail Clients
49. Net
50. Parser
51. PDF
52. Portal
53. Profiler
54. Project Management
55. Report
56. RSS RDF
57. Rule Engine
58. Science
59. Scripting
60. Search Engine
61. Security
62. Sevlet Container
63. Source Control
64. Swing Library
65. Template Engine
66. Test Coverage
67. Testing
68. UML
69. Web Crawler
70. Web Framework
71. Web Mail
72. Web Server
73. Web Services
74. Web Services apache cxf 2.0.1
75. Web Services AXIS2
76. Wiki Engine
77. Workflow Engines
78. XML
79. XML UI
Java
Java Tutorial
Java Open Source
Jar File Download
Java Articles
Java Products
Java by API
Photoshop Tutorials
Maya Tutorials
Flash Tutorials
3ds-Max Tutorials
Illustrator Tutorials
GIMP Tutorials
C# / C Sharp
C# / CSharp Tutorial
C# / CSharp Open Source
ASP.Net
ASP.NET Tutorial
JavaScript DHTML
JavaScript Tutorial
JavaScript Reference
HTML / CSS
HTML CSS Reference
C / ANSI-C
C Tutorial
C++
C++ Tutorial
Ruby
PHP
Python
Python Tutorial
Python Open Source
SQL Server / T-SQL
SQL Server / T-SQL Tutorial
Oracle PL / SQL
Oracle PL/SQL Tutorial
PostgreSQL
SQL / MySQL
MySQL Tutorial
VB.Net
VB.Net Tutorial
Flash / Flex / ActionScript
VBA / Excel / Access / Word
XML
XML Tutorial
Microsoft Office PowerPoint 2007 Tutorial
Microsoft Office Excel 2007 Tutorial
Microsoft Office Word 2007 Tutorial
Java Source Code / Java Documentation » J2EE » webwork 2.2.6 » com.opensymphony.xwork.config.entities 
Source Cross Reference  Class Diagram Java Document (Java Doc) 


java.lang.Object
   com.opensymphony.xwork.util.location.Located
      com.opensymphony.xwork.config.entities.PackageConfig

PackageConfig
public class PackageConfig extends Located implements Comparable,Serializable(Code)
Configuration for Package.

In the xml configuration file this is defined as the package tag.
author:
   Rainer Hermanns
version:
   $Revision: 1515 $




Constructor Summary
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 Summary
public  voidaddActionConfig(String name, ActionConfig action)
    
public  voidaddAllParents(List parents)
    
public  voidaddExceptionMappingConfig(ExceptionMappingConfig exceptionMappingConfig)
    
public  voidaddGlobalExceptionMappingConfigs(List exceptionMappingConfigs)
    
public  voidaddGlobalResultConfig(ResultConfig resultConfig)
    
public  voidaddGlobalResultConfigs(Map resultConfigs)
    
public  voidaddInterceptorConfig(InterceptorConfig config)
    
public  voidaddInterceptorStackConfig(InterceptorStackConfig config)
    
public  voidaddParent(PackageConfig parent)
    
public  voidaddResultTypeConfig(ResultTypeConfig config)
    
public  intcompareTo(Object o)
    
public  booleanequals(Object o)
    
public  MapgetActionConfigs()
    
public  MapgetAllActionConfigs()
     returns the Map of all the ActionConfigs available in the current package.
public  ListgetAllExceptionMappingConfigs()
     returns the List of all the ExceptionMappingConfigs available in the current package.
public  MapgetAllGlobalResults()
     returns the Map of all the global ResultConfigs available in the current package.
public  MapgetAllInterceptorConfigs()
     returns the Map of all InterceptorConfigs and InterceptorStackConfigs available in the current package.
public  MapgetAllResultTypeConfigs()
     returns the Map of all the ResultTypeConfigs available in the current package.
public  StringgetDefaultActionRef()
    
public  StringgetDefaultInterceptorRef()
    
public  StringgetDefaultResultType()
     Returns the default result type for this package.
public  ExternalReferenceResolvergetExternalRefResolver()
     Gets the Reference resolver for this package.
public  StringgetFullDefaultActionRef()
     gets the default action-ref name.
public  StringgetFullDefaultInterceptorRef()
     gets the default interceptor-ref name.
public  StringgetFullDefaultResultType()
     Returns the default result type for this package.
public  ListgetGlobalExceptionMappingConfigs()
    
public  MapgetGlobalResultConfigs()
    
public  MapgetInterceptorConfigs()
    
public  StringgetName()
    
public  StringgetNamespace()
    
public  ListgetParents()
    
public  MapgetResultTypeConfigs()
    
public  inthashCode()
    
public  booleanisAbstract()
    
public  voidremoveParent(PackageConfig parent)
    
public  voidsetAbstract(boolean isAbstract)
    
public  voidsetDefaultActionRef(String name)
    
public  voidsetDefaultInterceptorRef(String name)
    
public  voidsetDefaultResultType(String defaultResultType)
    
public  voidsetExternalRefResolver(ExternalReferenceResolver externalRefResolver)
    
public  voidsetName(String name)
    
public  voidsetNamespace(String namespace)
    
public  StringtoString()
    


Constructor Detail
PackageConfig
public PackageConfig()(Code)



PackageConfig
public PackageConfig(String name)(Code)



PackageConfig
public PackageConfig(String name, String namespace, boolean isAbstract, ExternalReferenceResolver externalRefResolver)(Code)



PackageConfig
public PackageConfig(String name, String namespace, boolean isAbstract, ExternalReferenceResolver externalRefResolver, List parents)(Code)




Method Detail
addActionConfig
public void addActionConfig(String name, ActionConfig action)(Code)



addAllParents
public void addAllParents(List parents)(Code)



addExceptionMappingConfig
public void addExceptionMappingConfig(ExceptionMappingConfig exceptionMappingConfig)(Code)



addGlobalExceptionMappingConfigs
public void addGlobalExceptionMappingConfigs(List exceptionMappingConfigs)(Code)



addGlobalResultConfig
public void addGlobalResultConfig(ResultConfig resultConfig)(Code)



addGlobalResultConfigs
public void addGlobalResultConfigs(Map resultConfigs)(Code)



addInterceptorConfig
public void addInterceptorConfig(InterceptorConfig config)(Code)



addInterceptorStackConfig
public void addInterceptorStackConfig(InterceptorStackConfig config)(Code)



addParent
public void addParent(PackageConfig parent)(Code)



addResultTypeConfig
public void addResultTypeConfig(ResultTypeConfig config)(Code)



compareTo
public int compareTo(Object o)(Code)



equals
public boolean equals(Object o)(Code)



getActionConfigs
public Map getActionConfigs()(Code)



getAllActionConfigs
public Map getAllActionConfigs()(Code)
returns the Map of all the ActionConfigs available in the current package. ActionConfigs defined in ancestor packages will be included in this Map. a Map of ActionConfig Objects with the action name as the key
See Also:   ActionConfig



getAllExceptionMappingConfigs
public List getAllExceptionMappingConfigs()(Code)
returns the List of all the ExceptionMappingConfigs available in the current package. ExceptionMappingConfigs defined in ancestor packages will be included in this list. a List of ExceptionMappingConfigs Objects with the result type name as the key
See Also:   ExceptionMappingConfig



getAllGlobalResults
public Map getAllGlobalResults()(Code)
returns the Map of all the global ResultConfigs available in the current package. Global ResultConfigs defined in ancestor packages will be included in this Map. a Map of Result Objects with the result name as the key
See Also:   ResultConfig



getAllInterceptorConfigs
public Map getAllInterceptorConfigs()(Code)
returns the Map of all InterceptorConfigs and InterceptorStackConfigs available in the current package. InterceptorConfigs defined in ancestor packages will be included in this Map. a Map of InterceptorConfig and InterceptorStackConfig Objects with the ref-name as the key
See Also:   InterceptorConfig
See Also:   InterceptorStackConfig



getAllResultTypeConfigs
public Map getAllResultTypeConfigs()(Code)
returns the Map of all the ResultTypeConfigs available in the current package. ResultTypeConfigs defined in ancestor packages will be included in this Map. a Map of ResultTypeConfig Objects with the result type name as the key
See Also:   ResultTypeConfig



getDefaultActionRef
public String getDefaultActionRef()(Code)



getDefaultInterceptorRef
public String getDefaultInterceptorRef()(Code)



getDefaultResultType
public String getDefaultResultType()(Code)
Returns the default result type for this package.



getExternalRefResolver
public ExternalReferenceResolver getExternalRefResolver()(Code)
Gets the Reference resolver for this package. If the resolver for this package is not specified, the method will try and find one on one of the parent packages Returns the externalRefResolver.



getFullDefaultActionRef
public String getFullDefaultActionRef()(Code)
gets the default action-ref name. If this is not set on this PackageConfig, it searches the parent PackageConfigs in order until it finds one.



getFullDefaultInterceptorRef
public String getFullDefaultInterceptorRef()(Code)
gets the default interceptor-ref name. If this is not set on this PackageConfig, it searches the parent PackageConfigs in order until it finds one.



getFullDefaultResultType
public String getFullDefaultResultType()(Code)
Returns the default result type for this package.

If there is no default result type, but this package has parents - we will try to look up the default result type of a parent.




getGlobalExceptionMappingConfigs
public List getGlobalExceptionMappingConfigs()(Code)
gets the ExceptionMappingConfigs local to this package a Map of ExceptionMappingConfig objects keyed by result name
See Also:   ExceptionMappingConfig



getGlobalResultConfigs
public Map getGlobalResultConfigs()(Code)
gets the global ResultConfigs local to this package a Map of ResultConfig objects keyed by result name
See Also:   ResultConfig



getInterceptorConfigs
public Map getInterceptorConfigs()(Code)
gets the InterceptorConfigs and InterceptorStackConfigs local to this package a Map of InterceptorConfig and InterceptorStackConfig objects keyed by ref-name
See Also:   InterceptorConfig
See Also:   InterceptorStackConfig



getName
public String getName()(Code)



getNamespace
public String getNamespace()(Code)



getParents
public List getParents()(Code)



getResultTypeConfigs
public Map getResultTypeConfigs()(Code)
gets the ResultTypeConfigs local to this package a Map of ResultTypeConfig objects keyed by result name
See Also:   ResultTypeConfig



hashCode
public int hashCode()(Code)



isAbstract
public boolean isAbstract()(Code)



removeParent
public void removeParent(PackageConfig parent)(Code)



setAbstract
public void setAbstract(boolean isAbstract)(Code)



setDefaultActionRef
public void setDefaultActionRef(String name)(Code)



setDefaultInterceptorRef
public void setDefaultInterceptorRef(String name)(Code)



setDefaultResultType
public void setDefaultResultType(String defaultResultType)(Code)
sets the default Result type for this package
Parameters:
  defaultResultType -



setExternalRefResolver
public void setExternalRefResolver(ExternalReferenceResolver externalRefResolver)(Code)

Parameters:
  externalRefResolver - The externalRefResolver to set.



setName
public void setName(String name)(Code)



setNamespace
public void setNamespace(String namespace)(Code)



toString
public String toString()(Code)



Fields inherited from com.opensymphony.xwork.util.location.Located
protected Location location(Code)(Java Doc)

Methods inherited from com.opensymphony.xwork.util.location.Located
public Location getLocation()(Code)(Java Doc)
public void setLocation(Location loc)(Code)(Java Doc)

Methods inherited from java.lang.Object
native protected Object clone() throws CloneNotSupportedException(Code)(Java Doc)
public boolean equals(Object obj)(Code)(Java Doc)
protected void finalize() throws Throwable(Code)(Java Doc)
final native public Class getClass()(Code)(Java Doc)
native public int hashCode()(Code)(Java Doc)
final native public void notify()(Code)(Java Doc)
final native public void notifyAll()(Code)(Java Doc)
public String toString()(Code)(Java Doc)
final native public void wait(long timeout) throws InterruptedException(Code)(Java Doc)
final public void wait(long timeout, int nanos) throws InterruptedException(Code)(Java Doc)
final public void wait() throws InterruptedException(Code)(Java Doc)

www.java2java.com | Contact Us
Copyright 2009 - 12 Demo Source and Support. All rights reserved.
All other trademarks are property of their respective owners.