PageRenderTime 38ms CodeModel.GetById 12ms RepoModel.GetById 0ms app.codeStats 0ms

/bundles/plugins-trunk/RubyPlugin/ri/cdesc.erb

#
Ruby HTML | 150 lines | 150 code | 0 blank | 0 comment | 0 complexity | 84f0a2271ffe613b07ff8925eaa6fba0 MD5 | raw file
Possible License(s): BSD-3-Clause, AGPL-1.0, Apache-2.0, LGPL-2.0, LGPL-3.0, GPL-2.0, CC-BY-SA-3.0, LGPL-2.1, GPL-3.0, MPL-2.0-no-copyleft-exception, IPL-1.0
  1. <?xml version="1.0" encoding="UTF-8"?>
  2. <java version="1.5.0_01" class="java.beans.XMLDecoder">
  3. <object class="org.jedit.ruby.ri.ClassDescription">
  4. <void property="attributes">
  5. <object class="java.util.ArrayList">
  6. <%d.attributes.each do |attribute|%> <void method="add">
  7. <object class="org.jedit.ruby.ri.Attribute">
  8. <void property="comment">
  9. <string><%=attribute.html_comment%></string>
  10. </void>
  11. <void property="name">
  12. <string><%=attribute.name%></string>
  13. </void>
  14. </object>
  15. </void>
  16. <%end%> </object>
  17. </void>
  18. <void property="classMethods">
  19. <object class="java.util.ArrayList">
  20. <%d.c_methods.each do |m|%> <void method="add">
  21. <object class="org.jedit.ruby.ri.MethodDescription">
  22. <void property="aliases">
  23. <object class="java.util.ArrayList">
  24. <%m.aliases.each do |al|%> <void method="add">
  25. <string><%=al.name%></string>
  26. </void>
  27. <%end%> </object>
  28. </void>
  29. <void property="blockParameters">
  30. <%if m.block_params%> <string><%=m.block_params%></string>
  31. <%else%> <string></string>
  32. <%end%> </void>
  33. <void property="comment">
  34. <string><%=m.html_comment%></string>
  35. </void>
  36. <void property="fullName">
  37. <string><%=m.full_name%></string>
  38. </void>
  39. <void property="isClassMethod">
  40. <boolean>true</boolean>
  41. </void>
  42. <void property="isSingleton">
  43. <boolean><%=m.is_singleton%></boolean>
  44. </void>
  45. <%if m.namespace%> <void property="namespace">
  46. <string><%=m.namespace%></string>
  47. </void><%end%>
  48. <void property="name">
  49. <string><%=m.name%></string>
  50. </void>
  51. <void property="parameters">
  52. <%if m.params%> <string><%=m.params.strip%></string>
  53. <%else%> <string></string>
  54. <%end%> </void>
  55. <void property="visibility">
  56. <string><%=m.visibility%></string>
  57. </void>
  58. </object>
  59. </void>
  60. <%end%> </object>
  61. </void>
  62. <void property="comment">
  63. <string><%=d.html_comment%></string>
  64. </void>
  65. <void property="constants">
  66. <object class="java.util.ArrayList"/>
  67. <%d.constants.each do |constant|%> <void method="add">
  68. <object class="org.jedit.ruby.ri.Constant">
  69. <void property="comment">
  70. <string><%=constant.html_comment%></string>
  71. </void>
  72. <void property="name">
  73. <string><%=constant.name%></string>
  74. </void>
  75. <void property="value">
  76. <string><%=constant.value%></string>
  77. </void>
  78. </object>
  79. </void>
  80. <%end%> </void>
  81. <void property="fullName">
  82. <string><%=d.full_name%></string>
  83. </void>
  84. <void property="includes">
  85. <object class="java.util.ArrayList">
  86. <%d.includes.each do |include|%> <void method="add">
  87. <object class="org.jedit.ruby.ri.IncludedModule">
  88. <void property="name">
  89. <string><%=include.name%></string>
  90. </void>
  91. </object>
  92. </void>
  93. <%end%> </object>
  94. </void>
  95. <void property="instanceMethods">
  96. <object class="java.util.ArrayList">
  97. <%d.i_methods.each do |m|%> <void method="add">
  98. <object class="org.jedit.ruby.ri.MethodDescription">
  99. <void property="aliases">
  100. <object class="java.util.ArrayList">
  101. <%m.aliases.each do |al|%> <void method="add">
  102. <string><%=al.name%></string>
  103. </void>
  104. <%end%> </object>
  105. </void>
  106. <void property="blockParameters">
  107. <%if m.block_params%> <string><%=m.block_params%></string>
  108. <%else%> <string></string>
  109. <%end%> </void>
  110. <void property="comment">
  111. <string><%=m.html_comment%></string>
  112. </void>
  113. <void property="fullName">
  114. <string><%=m.full_name%></string>
  115. </void>
  116. <void property="isClassMethod">
  117. <boolean>false</boolean>
  118. </void>
  119. <void property="isSingleton">
  120. <boolean><%=m.is_singleton%></boolean>
  121. </void>
  122. <%if m.namespace%> <void property="namespace">
  123. <string><%=m.namespace%></string>
  124. </void><%end%>
  125. <void property="name">
  126. <string><%=m.name%></string>
  127. </void>
  128. <void property="parameters">
  129. <%if m.params%> <string><%=m.params.strip%></string>
  130. <%else%> <string></string>
  131. <%end%> </void>
  132. <void property="visibility">
  133. <string><%=m.visibility%></string>
  134. </void>
  135. </object>
  136. </void>
  137. <%end%> </object>
  138. </void>
  139. <void property="name">
  140. <string><%=d.name%></string>
  141. </void>
  142. <%if d.namespace%> <void property="namespace">
  143. <string><%=d.namespace%></string>
  144. </void><%end%>
  145. <void property="superclass">
  146. <%if d.superclass%> <string><%=d.superclass%></string>
  147. <%else%> <string></string>
  148. <%end%> </void>
  149. </object>
  150. </java>