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


javax.servlet.jsp.tagext.BodyTagSupport
   org.apache.struts.taglib.bean.DefineTag

All known Subclasses:   org.apache.struts.taglib.nested.bean.NestedDefineTag,
DefineTag
public class DefineTag extends BodyTagSupport (Code)
Define a scripting variable based on the value(s) of the specified bean property.
version:
   $Rev: 471754 $ $Date: 2005-06-15 12:16:32 -0400 (Wed, 15 Jun 2005)
version:
   $


Field Summary
protected  Stringbody
     The body content of this tag (if any).
protected  Stringid
     The name of the scripting variable that will be exposed as a page scope attribute.
protected static  MessageResourcesmessages
     The message resources for this package.
protected  Stringname
     The name of the bean owning the property to be exposed.
protected  Stringproperty
     The name of the property to be retrieved.
protected  Stringscope
     The scope within which to search for the specified bean.
protected  StringtoScope
     The scope within which the newly defined bean will be creatd.
protected  Stringtype
     The fully qualified Java class name of the value to be exposed.
protected  Stringvalue
     The (String) value to which the defined bean will be set.


Method Summary
public  intdoAfterBody()
     Save the body content of this tag (if any), or throw a JspException if the value was already defined.
public  intdoEndTag()
     Retrieve the required property and expose it as a scripting variable.
public  intdoStartTag()
    
public  StringgetId()
    
public  StringgetName()
    
public  StringgetProperty()
    
public  StringgetScope()
    
public  StringgetToScope()
    
public  StringgetType()
    
public  StringgetValue()
    
public  voidrelease()
     Release all allocated resources.
public  voidsetId(String id)
    
public  voidsetName(String name)
    
public  voidsetProperty(String property)
    
public  voidsetScope(String scope)
    
public  voidsetToScope(String toScope)
    
public  voidsetType(String type)
    
public  voidsetValue(String value)
    

Field Detail
body
protected String body(Code)
The body content of this tag (if any).



id
protected String id(Code)
The name of the scripting variable that will be exposed as a page scope attribute.



messages
protected static MessageResources messages(Code)
The message resources for this package.



name
protected String name(Code)
The name of the bean owning the property to be exposed.



property
protected String property(Code)
The name of the property to be retrieved.



scope
protected String scope(Code)
The scope within which to search for the specified bean.



toScope
protected String toScope(Code)
The scope within which the newly defined bean will be creatd.



type
protected String type(Code)
The fully qualified Java class name of the value to be exposed.



value
protected String value(Code)
The (String) value to which the defined bean will be set.





Method Detail
doAfterBody
public int doAfterBody() throws JspException(Code)
Save the body content of this tag (if any), or throw a JspException if the value was already defined.
throws:
  JspException - if value was defined by an attribute



doEndTag
public int doEndTag() throws JspException(Code)
Retrieve the required property and expose it as a scripting variable.
throws:
  JspException - if a JSP exception has occurred



doStartTag
public int doStartTag() throws JspException(Code)
Check if we need to evaluate the body of the tag
throws:
  JspException - if a JSP exception has occurred



getId
public String getId()(Code)



getName
public String getName()(Code)



getProperty
public String getProperty()(Code)



getScope
public String getScope()(Code)



getToScope
public String getToScope()(Code)



getType
public String getType()(Code)



getValue
public String getValue()(Code)



release
public void release()(Code)
Release all allocated resources.



setId
public void setId(String id)(Code)



setName
public void setName(String name)(Code)



setProperty
public void setProperty(String property)(Code)



setScope
public void setScope(String scope)(Code)



setToScope
public void setToScope(String toScope)(Code)



setType
public void setType(String type)(Code)



setValue
public void setValue(String value)(Code)



Fields inherited from javax.servlet.jsp.tagext.BodyTagSupport
protected BodyContent bodyContent(Code)(Java Doc)

Methods inherited from javax.servlet.jsp.tagext.BodyTagSupport
public int doAfterBody() throws JspException(Code)(Java Doc)
public int doEndTag() throws JspException(Code)(Java Doc)
public void doInitBody() throws JspException(Code)(Java Doc)
public int doStartTag() throws JspException(Code)(Java Doc)
public BodyContent getBodyContent()(Code)(Java Doc)
public JspWriter getPreviousOut()(Code)(Java Doc)
public void release()(Code)(Java Doc)
public void setBodyContent(BodyContent b)(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.