Java Doc for WoodyPipelineConfig.java in  » Content-Management-System » apache-lenya-2.0 » org » apache » cocoon » woody » transformation » 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 » Content Management System » apache lenya 2.0 » org.apache.cocoon.woody.transformation 
Source Cross Reference  Class Diagram Java Document (Java Doc) 


java.lang.Object
   org.apache.cocoon.woody.transformation.WoodyPipelineConfig

WoodyPipelineConfig
public class WoodyPipelineConfig (Code)
WoodyPipeLineConfig
version:
   CVS $Id: WoodyPipelineConfig.java 433543 2006-08-22 06:22:54Z crossley $


Field Summary
final public static  StringWOODY_FORM
     Default key under which the woody form is stored in the JXPath context.


Method Summary
public static  WoodyPipelineConfigcreateConfig(Map objectModel, Parameters parameters)
     Creates and initializes a WoodyPipelineConfig object based on the passed arguments of the setup() of the specific Pipeline-component.
public  ObjectevaluateExpression(String expression)
    
public  FormfindForm()
    
public  FormfindForm(String jxpathExpression)
     Finds the form from the current request-context based on the settings of this configuration object.
public  StringgetFormAction()
     The value for the wi:form-generated/@action.
public  AttributesgetFormAttributes()
     The grouped attributes to set on the wi:form-generated element.
public  StringgetFormMethod()
     The value for the wi:form-generated/@method. Note: wi:form-template copies this from its wt:form-template counterpart. the value of the 'form-method' sitemap parameter to the pipeline component.
public  LocalegetLocale()
    
public  LocalegetLocaleParameter()
    
public  voidsetLocale(Locale locale)
    
public  StringtranslateText(String original)
     Replaces JXPath expressions embedded inside #{ and } by their value.

Field Detail
WOODY_FORM
final public static String WOODY_FORM(Code)
Default key under which the woody form is stored in the JXPath context.





Method Detail
createConfig
public static WoodyPipelineConfig createConfig(Map objectModel, Parameters parameters)(Code)
Creates and initializes a WoodyPipelineConfig object based on the passed arguments of the setup() of the specific Pipeline-component.
Parameters:
  objectModel - the objectmodel as passed in the setup()
Parameters:
  parameters - the parameters as passed in the setup() an instance of WoodyPipelineConfig initialized according to the settings in the sitemap.



evaluateExpression
public Object evaluateExpression(String expression)(Code)
Evaluates the passed xpath expression using the internal jxpath context holding the declared variables:
  1. continuation: as made available by flowscript
  2. request: as present in the cocoon processing environment
  3. session: as present in the cocoon processing environment
  4. parameters: as present in the cocoon sitemap node of the pipeline component

Parameters:
  expression - the object-value resulting the expression evaluation.



findForm
public Form findForm() throws SAXException(Code)
Overloads WoodyPipelineConfig.findForm(String) by setting the jxpath-expression to null



findForm
public Form findForm(String jxpathExpression) throws SAXException(Code)
Finds the form from the current request-context based on the settings of this configuration object. The fall-back search-procedure is as follows:
  1. Use the provided jxpathExpression (if not null)
  2. Use the setting of the 'attribute-name' parameter on the request
  3. Obtain the form from it's default location in the flow context

Parameters:
  jxpathExpression - that should be pointing to the form the found form if found
throws:
  SAXException - in any of the following cases:
  • The provided jxpathExpression (if not null) not point to aForm instance.
  • The request is not holding a Form instance under the key specified by 'attribute-name' (if specified)
  • Both jxpathExpression and 'attribute-name' were not specified ANDalso the default location was not holding a valid Form instance.



getFormAction
public String getFormAction()(Code)
The value for the wi:form-generated/@action. Note: wi:form-template copies this from its wt:form-template counterpart. the WoodyPipelineConfig.translateText(String) result of the 'form-action' sitemap parameter to the pipeline component, or null if that parameter was not set.



getFormAttributes
public Attributes getFormAttributes()(Code)
The grouped attributes to set on the wi:form-generated element. Note: wi:form-template copies this from its wt:form-template counterpart.
See Also:   WoodyPipelineConfig.getFormAction()
See Also:   WoodyPipelineConfig.getFormMethod()



getFormMethod
public String getFormMethod()(Code)
The value for the wi:form-generated/@method. Note: wi:form-template copies this from its wt:form-template counterpart. the value of the 'form-method' sitemap parameter to the pipeline component. Defaults to 'POST' if it was not set.



getLocale
public Locale getLocale()(Code)



getLocaleParameter
public Locale getLocaleParameter()(Code)



setLocale
public void setLocale(Locale locale)(Code)



translateText
public String translateText(String original)(Code)
Replaces JXPath expressions embedded inside #{ and } by their value. This will parse the passed String looking for #{} occurences and then uses the WoodyPipelineConfig.evaluateExpression(String) to evaluate the found expression. the original String with it's #{}-parts replaced by the evaulated results.



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.