Java Doc for ConfigRuleSet.java in  » Library » Apache-commons-chain-1.1-src » org » apache » commons » chain » config » 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 » Library » Apache commons chain 1.1 src » org.apache.commons.chain.config 
Source Cross Reference  Class Diagram Java Document (Java Doc) 


org.apache.commons.chain.config.ConfigRuleSet

ConfigRuleSet
public class ConfigRuleSet extends RuleSetBase (Code)

Digester RuleSet for configuring Chain of Responsibility command chains, and adding them to an appropriate org.apache.commons.chain.Catalog . The following properties may be configured prior to executing the addRuleInstance() method in order to influence the rules that get added, with default values in square brackets:

  • catalogClass -- Fully qualified name of the implementation class used to create new org.apache.commons.chain.Catalog instances. If not specified, the default value is org.apache.commons.chain.impl.CatalogBsae.
  • catalogElement -- Name of the XML element representing the addition of a org.apache.commons.chain.Catalog . Any such catalog that is created will be registered with the org.apache.commons.chain.CatalogFactory instance for our application, under the name specified by the nameAttribute attribute (if present), or as the default org.apache.commons.chain.Catalog . If not specified, the default value is catalog.
  • chainClass -- Fully qualified name of the implementation class used to create new org.apache.commons.chain.Chain instances. If not specified, the default value is org.apache.commons.chain.impl.ChainBase.
  • chainElement -- Name of the XML element representing the addition of a org.apache.commons.chain.Chain . A chain element has the same functionality as a command element, except that it defaults the implementation class to org.apache.commons.chain.impl.ChainBase. [chain]
  • classAttribute -- Attribute on a chain (optional) or command (required) element that specifies the fully qualified class name of the implementation class that should be instantiated. [className]
  • commandElement -- Name of the XML element representing the addition of a org.apache.commons.chain.Command . An implementation class name must be provided on the attribute named by the classAttribute property. [command]
  • defineElement -- Name of the XML element that associates the element specified by the nameAttribute attributes with a org.apache.commons.chain.Command or org.apache.commons.chain.Chain implementation class named by the classAttribute attribute. [define]
  • nameAttribute -- Attribute on an outermost chain or command element that will be used to register this command with the associated org.apache.commons.chain.Catalog instance on the stack. [name]
  • namespaceURI -- The XML namespace URI with which these rules will be associated, or null for no namespace. [null]

author:
   Craig R. McClanahan
version:
   $Revision: 411876 $ $Date: 2006-06-05 19:02:19 +0100 (Mon, 05 Jun 2006) $




Method Summary
public  voidaddRuleInstances(Digester digester)
    

Add the set of Rule instances defined in this RuleSet to the specified Digester instance, associating them with our namespace URI (if any).

public  StringgetCatalogClass()
    
public  StringgetCatalogElement()
    
public  StringgetChainClass()
    
public  StringgetChainElement()
    
public  StringgetClassAttribute()
    
public  StringgetCommandElement()
    
public  StringgetDefineElement()
    
public  StringgetNameAttribute()
    
public  voidsetCatalogClass(String catalogClass)
    
public  voidsetCatalogElement(String catalogElement)
    
public  voidsetChainClass(String chainClass)
    
public  voidsetChainElement(String chainElement)
    
public  voidsetClassAttribute(String classAttribute)
    
public  voidsetCommandElement(String commandElement)
    
public  voidsetDefineElement(String defineElement)
    
public  voidsetNameAttribute(String nameAttribute)
    



Method Detail
addRuleInstances
public void addRuleInstances(Digester digester)(Code)

Add the set of Rule instances defined in this RuleSet to the specified Digester instance, associating them with our namespace URI (if any). This method should only be called by a Digester instance.


Parameters:
  digester - Digester instance to which the new Rule instancesshould be added.



getCatalogClass
public String getCatalogClass()(Code)

Return the fully qualified org.apache.commons.chain.Catalog implementation class.

The Catalog's class name.



getCatalogElement
public String getCatalogElement()(Code)

Return the element name of a catalog element.

The element name of a catalog element.



getChainClass
public String getChainClass()(Code)

Return the fully qualified org.apache.commons.chain.Chain implementation class.

The Chain's class name.



getChainElement
public String getChainElement()(Code)

Return the element name of a chain element.

The element name of a catalog element.



getClassAttribute
public String getClassAttribute()(Code)

Return the attribute name of a class attribute.

The attribute name of a class attribute.



getCommandElement
public String getCommandElement()(Code)

Return the element name of a command element.

The element name of a command element.



getDefineElement
public String getDefineElement()(Code)

Return the element name of a define element.

The element name of a define element.



getNameAttribute
public String getNameAttribute()(Code)

Return the attribute name of a name attribute.

The attribute name of an attribute element.



setCatalogClass
public void setCatalogClass(String catalogClass)(Code)

Set the fully qualified org.apache.commons.chain.Catalog implementation class.


Parameters:
  catalogClass - The new org.apache.commons.chain.Catalogimplementation class



setCatalogElement
public void setCatalogElement(String catalogElement)(Code)

Set the element name of a catalog element.


Parameters:
  catalogElement - The new element name



setChainClass
public void setChainClass(String chainClass)(Code)

Set the fully qualified org.apache.commons.chain.Chain implementation class.


Parameters:
  chainClass - The new org.apache.commons.chain.Chainimplementation class



setChainElement
public void setChainElement(String chainElement)(Code)

Set the element name of a chain element.


Parameters:
  chainElement - The new element name



setClassAttribute
public void setClassAttribute(String classAttribute)(Code)

Set the attribute name of a class attribute.


Parameters:
  classAttribute - The new attribute name



setCommandElement
public void setCommandElement(String commandElement)(Code)

Set the element name of a command element.


Parameters:
  commandElement - The new element name



setDefineElement
public void setDefineElement(String defineElement)(Code)

Set the element name of a define element.


Parameters:
  defineElement - The new element name



setNameAttribute
public void setNameAttribute(String nameAttribute)(Code)

Set the attribute name of a name attribute.


Parameters:
  nameAttribute - The new attribute name



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