Java Doc for OjbMemberTagsHandler.java in  » Database-ORM » db-ojb » xdoclet » modules » ojb » 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 » Database ORM » db ojb » xdoclet.modules.ojb 
Source Cross Reference  Class Diagram Java Document (Java Doc) 


xdoclet.modules.ojb.OjbMemberTagsHandler

OjbMemberTagsHandler
public class OjbMemberTagsHandler extends AbstractProgramElementTagsHandler (Code)

author:
   Thomas Dudziak (tomdz@users.sourceforge.net)




Method Summary
public  voidforAllMemberTagTokens(String template, Properties attributes)
     Iterates over all tokens in current member tag with the name tagName and evaluates the body for every token.
public  voidforAllMemberTags(String template, Properties attributes)
     Iterates over all tags of current member and evaluates the template for each one.
public  voidforAllMembers(String template, Properties attributes)
     The forAllMembers method iterates through all fields of the current class.
public static  intgetMemberDimension()
     Returns the dimension of the type of the current member.
public static  StringgetMemberName()
     Returns the name of the current member which is the name in the case of a field, or the property name for an accessor method.
public static  XClassgetMemberType()
     Returns the type of the current member which is the type in the case of a field, the return type for a getter method, or the type of the parameter for a setter method.
public  voidifDoesntHaveMemberTag(String template, Properties attributes)
     Evaluates the body if current member has no tag with the specified name.
public  voidifHasMemberTag(String template, Properties attributes)
     Evaluates the body if current member has at least one tag with the specified name.
public  voidifHasMemberWithTag(String template, Properties attributes)
     Evaluates the body if the current class has at least one member with at least one tag with the specified name.
public  voidifMemberTagValueEquals(String template, Properties attributes)
     Evaluates the body if value for the member tag equals the specified value.
public  voidisField(String template, Properties attributes)
     The isField processes the template body if the current member is a field.
public  voidisMethod(String template, Properties attributes)
     The isMethod processes the template body if the current member is a method.
public  StringmemberName(Properties attributes)
     Returns the name of the member which is the name in the case of a field, or the property name for an accessor method.
public  StringmemberTagValue(Properties attributes)
    



Method Detail
forAllMemberTagTokens
public void forAllMemberTagTokens(String template, Properties attributes) throws XDocletException(Code)
Iterates over all tokens in current member tag with the name tagName and evaluates the body for every token.
Parameters:
  template - The body of the block tag
Parameters:
  attributes - The attributes of the template tag
exception:
  XDocletException - If an error occurs



forAllMemberTags
public void forAllMemberTags(String template, Properties attributes) throws XDocletException(Code)
Iterates over all tags of current member and evaluates the template for each one.
Parameters:
  template - The template to be evaluated
Parameters:
  attributes - The attributes of the template tag
exception:
  XDocletException - If an error occurs



forAllMembers
public void forAllMembers(String template, Properties attributes) throws XDocletException(Code)
The forAllMembers method iterates through all fields of the current class. In contrast to the FieldTagsHandler.forAllFields method, this method operates on both fields and accessors (get/set/is-methods). In addition, the method automatically includes all supertype-fields (i.e., accessors for base interfaces) if the corresponding attribute is set (superclasses). The fields can optionally be limited to those posessing a specified tag.
Parameters:
  template - a String value
Parameters:
  attributes - a Properties value
exception:
  XDocletException - if an error occurs



getMemberDimension
public static int getMemberDimension() throws XDocletException(Code)
Returns the dimension of the type of the current member. The member dimension
exception:
  XDocletException - if an error occurs
See Also:   OjbMemberTagsHandler.getMemberType



getMemberName
public static String getMemberName() throws XDocletException(Code)
Returns the name of the current member which is the name in the case of a field, or the property name for an accessor method. The member name
exception:
  XDocletException - if an error occurs



getMemberType
public static XClass getMemberType() throws XDocletException(Code)
Returns the type of the current member which is the type in the case of a field, the return type for a getter method, or the type of the parameter for a setter method. The member type
exception:
  XDocletException - if an error occurs



ifDoesntHaveMemberTag
public void ifDoesntHaveMemberTag(String template, Properties attributes) throws XDocletException(Code)
Evaluates the body if current member has no tag with the specified name.
Parameters:
  template - The body of the block tag
Parameters:
  attributes - The attributes of the template tag
exception:
  XDocletException - Description of Exception



ifHasMemberTag
public void ifHasMemberTag(String template, Properties attributes) throws XDocletException(Code)
Evaluates the body if current member has at least one tag with the specified name.
Parameters:
  template - The body of the block tag
Parameters:
  attributes - The attributes of the template tag
exception:
  XDocletException - Description of Exception



ifHasMemberWithTag
public void ifHasMemberWithTag(String template, Properties attributes) throws XDocletException(Code)
Evaluates the body if the current class has at least one member with at least one tag with the specified name.
Parameters:
  template - The body of the block tag
Parameters:
  attributes - The attributes of the template tag
exception:
  XDocletException - Description of Exception



ifMemberTagValueEquals
public void ifMemberTagValueEquals(String template, Properties attributes) throws XDocletException(Code)
Evaluates the body if value for the member tag equals the specified value.
Parameters:
  template - The body of the block tag
Parameters:
  attributes - The attributes of the template tag
exception:
  XDocletException - If an error occurs



isField
public void isField(String template, Properties attributes) throws XDocletException(Code)
The isField processes the template body if the current member is a field.
Parameters:
  template - a String value
Parameters:
  attributes - a Properties value
exception:
  XDocletException - if an error occurs



isMethod
public void isMethod(String template, Properties attributes) throws XDocletException(Code)
The isMethod processes the template body if the current member is a method.
Parameters:
  template - a String value
Parameters:
  attributes - a Properties value
exception:
  XDocletException - if an error occurs



memberName
public String memberName(Properties attributes) throws XDocletException(Code)
Returns the name of the member which is the name in the case of a field, or the property name for an accessor method.
Parameters:
  attributes - The attributes of the template tag The member name
exception:
  XDocletException - if an error occurs



memberTagValue
public String memberTagValue(Properties attributes) throws XDocletException(Code)
Returns the value of the tag/parameter combination for the current member tag
Parameters:
  attributes - The attributes of the template tag Description of the Returned Value
exception:
  XDocletException - Description of Exception



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