Java Doc for DefinitionsFactoryConfig.java in  » Web-Framework » struts-1.3.8 » org » apache » struts » tiles » 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 » Web Framework » struts 1.3.8 » org.apache.struts.tiles 
Source Cross Reference  Class Diagram Java Document (Java Doc) 


java.lang.Object
   org.apache.struts.tiles.DefinitionsFactoryConfig

DefinitionsFactoryConfig
public class DefinitionsFactoryConfig implements Serializable(Code)
A TilesFactoryConfig object hold configuration attributes for a tile definition factory.
since:
   Struts 1.1
version:
   $Rev: 471754 $ $Date: 2006-11-06 08:55:09 -0600 (Mon, 06 Nov 2006) $


Field Summary
final public static  StringDEFINITIONS_CONFIG_PARAMETER_NAME
     Alternate name for definition files properties in configuration file.
final public static  StringFACTORY_CLASSNAME_PARAMETER_NAME
     Alternate name for factory classname properties in configuration file.
final public static  StringPARSER_DETAILS_PARAMETER_NAME
     Alternate name for parser debug details properties in configuration file.
final public static  StringPARSER_VALIDATE_PARAMETER_NAME
     Alternate name for parser validate properties in configuration file.
final public static  StringTILES_DETAILS_PARAMETER_NAME
     Alternate name for definition debug details properties in configuration file.
protected  StringdefinitionConfigFiles
     Definition configuration file specified by user.
protected  StringfactoryClassname
     Fully qualified classname of the factory to create.
protected  StringfactoryName
     The name associated to this factory.
With Struts 1.1, this name is the module name to which this factory belong.
protected  booleanmoduleAware
     Specifies whether the factory is "module-aware".
protected  booleanparserValidate
     Specifies whether the parser will validate configuration files.

Constructor Summary
public  DefinitionsFactoryConfig()
     Default constructor.
public  DefinitionsFactoryConfig(Map initParameters)
     Constructor.

Method Summary
public  ObjectgetAttribute(String name)
     Get value of an additional attribute.
Parameters:
  name - Name of the attribute.
public  MapgetAttributes()
     Get additional attributes as a Map.
public  StringgetDefinitionConfigFiles()
     Get the definition config files.
public  StringgetFactoryClassname()
     Get the classname of the factory.
public  StringgetFactoryName()
     Get the factory name.
public  booleangetParserValidate()
     Determines if the parser is validating.
public  booleanisModuleAware()
     Get the module aware flag.
public static  voidlinkOldPropertyNames(Map properties)
     Link old property names to new property names.
public  voidpopulate(Map properties)
     Populate this config object from properties map, based on the specified name/value pairs.
public  voidsetAttribute(String name, Object value)
     Set value of an additional attribute.
public  voidsetDefinitionConfigFiles(String aDefinitionConfigFiles)
     Set the definition config files.
public  voidsetFactoryClassname(String aFactoryClassname)
     Set the classname of the factory..
public  voidsetFactoryName(String factoryName)
     Set the factory name.
public  voidsetModuleAware(boolean moduleAware)
     Set the module aware flag.
public  voidsetParserValidate(boolean aParserValidate)
     Set the validating mode for the parser.

Field Detail
DEFINITIONS_CONFIG_PARAMETER_NAME
final public static String DEFINITIONS_CONFIG_PARAMETER_NAME(Code)
Alternate name for definition files properties in configuration file.



FACTORY_CLASSNAME_PARAMETER_NAME
final public static String FACTORY_CLASSNAME_PARAMETER_NAME(Code)
Alternate name for factory classname properties in configuration file.



PARSER_DETAILS_PARAMETER_NAME
final public static String PARSER_DETAILS_PARAMETER_NAME(Code)
Alternate name for parser debug details properties in configuration file.



PARSER_VALIDATE_PARAMETER_NAME
final public static String PARSER_VALIDATE_PARAMETER_NAME(Code)
Alternate name for parser validate properties in configuration file.



TILES_DETAILS_PARAMETER_NAME
final public static String TILES_DETAILS_PARAMETER_NAME(Code)
Alternate name for definition debug details properties in configuration file.



definitionConfigFiles
protected String definitionConfigFiles(Code)
Definition configuration file specified by user.



factoryClassname
protected String factoryClassname(Code)
Fully qualified classname of the factory to create. If no classname is set, a default factory is created (of class "org.apache.struts.tiles.xmlDefinition.I18nFactorySet").



factoryName
protected String factoryName(Code)
The name associated to this factory.
With Struts 1.1, this name is the module name to which this factory belong. It is set by the system.
In prior versions, this property is not used.



moduleAware
protected boolean moduleAware(Code)
Specifies whether the factory is "module-aware".



parserValidate
protected boolean parserValidate(Code)
Specifies whether the parser will validate configuration files. Default value is true.




Constructor Detail
DefinitionsFactoryConfig
public DefinitionsFactoryConfig()(Code)
Default constructor.



DefinitionsFactoryConfig
public DefinitionsFactoryConfig(Map initParameters)(Code)
Constructor. Create configuration object, and initialize it with parameters from Map. Parameters corresponding to an attribute are filtered and stored in appropriate attribute.
Parameters:
  initParameters - Map.




Method Detail
getAttribute
public Object getAttribute(String name)(Code)
Get value of an additional attribute.
Parameters:
  name - Name of the attribute. Value of the attribute, or null if not found.



getAttributes
public Map getAttributes()(Code)
Get additional attributes as a Map. Map A Map containing attribute name - value pairs.



getDefinitionConfigFiles
public String getDefinitionConfigFiles()(Code)
Get the definition config files. Defition config files.



getFactoryClassname
public String getFactoryClassname()(Code)
Get the classname of the factory. Classname.



getFactoryName
public String getFactoryName()(Code)
Get the factory name.



getParserValidate
public boolean getParserValidate()(Code)
Determines if the parser is validating. true when in validating mode.



isModuleAware
public boolean isModuleAware()(Code)
Get the module aware flag. true: user wants a single factory instance,false: user wants multiple factory instances (one per module with Struts)



linkOldPropertyNames
public static void linkOldPropertyNames(Map properties)(Code)
Link old property names to new property names. This modifies the map.
Parameters:
  properties - Map keyed by property name, with thecorresponding (String or String[]) value(s) to be set.



populate
public void populate(Map properties) throws IllegalAccessException, InvocationTargetException(Code)
Populate this config object from properties map, based on the specified name/value pairs. This method uses the populate() method from org.apache.commons.beanutils.BeanUtil.

Properties keys are scanned for old property names, and linked to the new name if necessary. This modifies the properties map.

The particular setter method to be called for each property is determined using the usual JavaBeans introspection mechanisms. Thus, you may identify custom setter methods using a BeanInfo class that is associated with the class of the bean itself. If no such BeanInfo class is available, the standard method name conversion ("set" plus the capitalized name of the property in question) is used.

NOTE: It is contrary to the JavaBeans Specification to have more than one setter method (with different argument signatures) for the same property.
Parameters:
  properties - Map keyed by property name, with thecorresponding (String or String[]) value(s) to be set.
exception:
  IllegalAccessException - if the caller does not haveaccess to the property accessor method.
exception:
  InvocationTargetException - if the property accessor methodthrows an exception.
See Also:   org.apache.commons.beanutils.BeanUtils




setAttribute
public void setAttribute(String name, Object value)(Code)
Set value of an additional attribute.
Parameters:
  name - Name of the attribute.
Parameters:
  value - Value of the attribute.



setDefinitionConfigFiles
public void setDefinitionConfigFiles(String aDefinitionConfigFiles)(Code)
Set the definition config files.
Parameters:
  aDefinitionConfigFiles - Definition config files.



setFactoryClassname
public void setFactoryClassname(String aFactoryClassname)(Code)
Set the classname of the factory..
Parameters:
  aFactoryClassname - Classname of the factory.



setFactoryName
public void setFactoryName(String factoryName)(Code)
Set the factory name.
Parameters:
  factoryName - Name of the factory.



setModuleAware
public void setModuleAware(boolean moduleAware)(Code)
Set the module aware flag.
Parameters:
  moduleAware - true: user wants a single factory instance,false: user wants multiple factory instances (one per module with Struts)



setParserValidate
public void setParserValidate(boolean aParserValidate)(Code)
Set the validating mode for the parser.
Parameters:
  aParserValidate - true for validation, false otherwise



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.