Java Doc for AbstractDirective.java in  » Web-Framework » struts-2.0.11 » org » apache » struts2 » views » velocity » components » 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 2.0.11 » org.apache.struts2.views.velocity.components 
Source Cross Reference  Class Diagram Java Document (Java Doc) 


org.apache.struts2.views.velocity.components.AbstractDirective

All known Subclasses:   org.apache.struts2.views.velocity.components.WebTableDirective,  org.apache.struts2.views.velocity.components.RadioDirective,  org.apache.struts2.views.velocity.components.PushDirective,  org.apache.struts2.views.velocity.components.ParamDirective,  org.apache.struts2.views.velocity.components.HiddenDirective,  org.apache.struts2.views.velocity.components.PropertyDirective,  org.apache.struts2.views.velocity.components.SelectDirective,  org.apache.struts2.views.velocity.components.I18nDirective,  org.apache.struts2.views.velocity.components.DivDirective,  org.apache.struts2.views.velocity.components.URLDirective,  org.apache.struts2.views.velocity.components.UpDownSelectDirective,  org.apache.struts2.views.velocity.components.FormDirective,  org.apache.struts2.views.velocity.components.SetDirective,  org.apache.struts2.views.velocity.components.AutocompleterDirective,  org.apache.struts2.views.velocity.components.DateDirective,  org.apache.struts2.views.velocity.components.ComboBoxDirective,  org.apache.struts2.views.velocity.components.IncludeDirective,  org.apache.struts2.views.velocity.components.TabbedPanelDirective,  org.apache.struts2.views.velocity.components.PasswordDirective,  org.apache.struts2.views.velocity.components.ActionDirective,  org.apache.struts2.views.velocity.components.SubmitDirective,  org.apache.struts2.views.velocity.components.ResetDirective,  org.apache.struts2.views.velocity.components.ComponentDirective,  org.apache.struts2.views.velocity.components.OptionTransferSelectDirective,  org.apache.struts2.views.velocity.components.LabelDirective,  org.apache.struts2.views.velocity.components.TokenDirective,  org.apache.struts2.views.velocity.components.TextFieldDirective,  org.apache.struts2.views.velocity.components.TreeDirective,  org.apache.struts2.views.velocity.components.CheckBoxDirective,  org.apache.struts2.views.velocity.components.BeanDirective,  org.apache.struts2.views.velocity.components.ActionMessageDirective,  org.apache.struts2.views.velocity.components.AnchorDirective,  org.apache.struts2.views.velocity.components.ActionErrorDirective,  org.apache.struts2.views.velocity.components.FileDirective,  org.apache.struts2.views.velocity.components.HeadDirective,  org.apache.struts2.views.velocity.components.DoubleSelectDirective,  org.apache.struts2.views.velocity.components.InputTransferSelectDirective,  org.apache.struts2.views.velocity.components.TreeNodeDirective,  org.apache.struts2.views.velocity.components.TextDirective,  org.apache.struts2.views.velocity.components.TextAreaDirective,  org.apache.struts2.views.velocity.components.FieldErrorDirective,  org.apache.struts2.views.velocity.components.OptGroupDirective,  org.apache.struts2.views.velocity.components.CheckBoxListDirective,
AbstractDirective
abstract public class AbstractDirective extends Directive (Code)




Method Summary
protected  MapcreatePropertyMap(InternalContextAdapter contextAdapter, Node node)
     create a Map of properties that the user has passed in.
abstract protected  ComponentgetBean(ValueStack stack, HttpServletRequest req, HttpServletResponse res)
    
abstract public  StringgetBeanName()
    
public  StringgetName()
    
public  intgetType()
     All components, unless otherwise stated, are LINE-level directives.
protected  voidputProperty(Map propertyMap, InternalContextAdapter contextAdapter, Node node)
     adds a given Node's key/value pair to the propertyMap.
public  booleanrender(InternalContextAdapter ctx, Writer writer, Node node)
    



Method Detail
createPropertyMap
protected Map createPropertyMap(InternalContextAdapter contextAdapter, Node node) throws ParseErrorException, MethodInvocationException(Code)
create a Map of properties that the user has passed in. for example,
 #xxx("name=hello" "value=world" "template=foo")
 
would yield a params that contains {["name", "hello"], ["value", "world"], ["template", "foo"]}
Parameters:
  node - the Node passed in to the render method a Map of the user specified properties
throws:
  org.apache.velocity.exception.ParseErrorException - if the was an error in the format of the property



getBean
abstract protected Component getBean(ValueStack stack, HttpServletRequest req, HttpServletResponse res)(Code)



getBeanName
abstract public String getBeanName()(Code)



getName
public String getName()(Code)



getType
public int getType()(Code)
All components, unless otherwise stated, are LINE-level directives.



putProperty
protected void putProperty(Map propertyMap, InternalContextAdapter contextAdapter, Node node) throws ParseErrorException, MethodInvocationException(Code)
adds a given Node's key/value pair to the propertyMap. For example, if this Node contained the value "rows=20", then the key, rows, would be added to the propertyMap with the String value, 20.
Parameters:
  propertyMap - a params containing all the properties that we wish to set
Parameters:
  node - the parameter to set expressed in "name=value" format



render
public boolean render(InternalContextAdapter ctx, Writer writer, Node node) throws IOException, ResourceNotFoundException, ParseErrorException, MethodInvocationException(Code)



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