Java Doc for Config.java in  » J2EE » Dinamica » dinamica » 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 » Dinamica » dinamica 
Source Cross Reference  Class Diagram Java Document (Java Doc) 


java.lang.Object
   dinamica.Config

Config
public class Config (Code)
Encapsulates access to the XML configuration of a framework transaction
Creation date: oct/4/2003
Last Update: jan/3/2005
(c) 2003 Martin Cordova
This code is released under the LGPL license

author:
   Martin Cordova


Field Summary
 Document_doc
    
 Element_output
    
 Recordset_print
    
 Element_root
    
 Recordset_rs
    
 Element_trans
    
public  StringcontentType
    
public  Stringexpiration
    
public  Stringheaders
    
public  StringjdbcLog
    
public  StringmvcLog
    
public  StringonErrorAction
    
public  StringoutClassName
    
public  StringoutTemplate
    
public  Stringpath
    
public  StringrequestEncoding
    
public  Stringsummary
    
public  StringtemplateEncoding
    
public  StringtransClassName
    
public  StringtransDataSource
    
public  StringtransTransactions
    
public  StringtransValidator
    
public  StringvalidatorInSession
    

Constructor Summary
public  Config(String xmlData, String path)
    

Method Summary
public  StringgetConfigValue(String tagName)
     Provides easy access to custom elements in config.xml file
Parameters:
  tagName - An element or tag name under the root element.
Supports XPath expressions.
public  StringgetConfigValue(String tagName, String value)
    
public  DocumentgetDocument()
    
public  RecordsetgetPrintCommands()
    
public  RecordsetgetRecordsets()
    
public  StringgetUriForExitCode(int exitCode)
    

Field Detail
_doc
Document _doc(Code)
xml parser objects



_output
Element _output(Code)



_print
Recordset _print(Code)
output data binding commands



_root
Element _root(Code)



_rs
Recordset _rs(Code)
auto-create recordset definitions



_trans
Element _trans(Code)



contentType
public String contentType(Code)
output content-type



expiration
public String expiration(Code)
output expiration



headers
public String headers(Code)
flag that indicates if http headers shoud be set



jdbcLog
public String jdbcLog(Code)



mvcLog
public String mvcLog(Code)
performance logs



onErrorAction
public String onErrorAction(Code)
customized error handler for this action -if any-



outClassName
public String outClassName(Code)
output classname



outTemplate
public String outTemplate(Code)
output template



path
public String path(Code)
transaction path



requestEncoding
public String requestEncoding(Code)
specific request encoding for the current Action



summary
public String summary(Code)
summary



templateEncoding
public String templateEncoding(Code)
encoding used to read template files



transClassName
public String transClassName(Code)
transaction classname



transDataSource
public String transDataSource(Code)
transaction datasource



transTransactions
public String transTransactions(Code)
automatic transactions



transValidator
public String transValidator(Code)
transaction validator



validatorInSession
public String validatorInSession(Code)
save request parameters as session attributes using their names as IDs




Constructor Detail
Config
public Config(String xmlData, String path) throws Throwable(Code)
Default constructor
Parameters:
  xmlData - Transaction configuration data in XML
Parameters:
  path - Transaction directory relative to the context
throws:
  Throwable -




Method Detail
getConfigValue
public String getConfigValue(String tagName) throws Throwable(Code)
Provides easy access to custom elements in config.xml file
Parameters:
  tagName - An element or tag name under the root element.
Supports XPath expressions. Element value
throws:
  Throwable - if the element cannot be found



getConfigValue
public String getConfigValue(String tagName, String value) throws Throwable(Code)
Provides easy access to custom elements in config.xml file
Parameters:
  tagName - An element or tag name under the root element.
Supports XPath expressions.
Parameters:
  value - Default value - This is returned if the element cannot be found Element's value or default value if Element was now found
throws:
  Throwable - On XML parser exceptions



getDocument
public Document getDocument()(Code)
Provide access to Electric XML document object



getPrintCommands
public Recordset getPrintCommands()(Code)
Return configuration for print (dtaa-binding) commands defined in transaction config.xml file Recordset with fields: mode, recordset, tag, control



getRecordsets
public Recordset getRecordsets()(Code)
Return configuration for auto-create recordsets defined in transaction config.xml file Recordset with fields: id, source and scope.



getUriForExitCode
public String getUriForExitCode(int exitCode) throws Throwable(Code)
Return URI to foward on a given exit code
Parameters:
  exitCode -
throws:
  Throwable -



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.