c.tld 17 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361
  1. <?xml version="1.0" encoding="utf-8"?>
  2. <taglib xmlns="http://java.sun.com/xml/ns/j2ee" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://java.sun.com/xml/ns/j2ee http://java.sun.com/xml/ns/j2ee/web-jsptaglibrary_2_0.xsd" version="2.0">
  3. <description>JSTL 1.1 core library</description>
  4. <display-name>JSTL core</display-name>
  5. <tlib-version>1.1</tlib-version>
  6. <short-name>c</short-name>
  7. <uri>http://java.sun.com/jsp/jstl/core</uri>
  8. <validator>
  9. <description>Provides core validation features for JSTL tags.</description>
  10. <validator-class>org.apache.taglibs.standard.tlv.JstlCoreTLV</validator-class>
  11. </validator>
  12. <tag>
  13. <description>Catches any Throwable that occurs in its body and optionally exposes it.</description>
  14. <name>catch</name>
  15. <tag-class>org.apache.taglibs.standard.tag.common.core.CatchTag</tag-class>
  16. <body-content>JSP</body-content>
  17. <attribute>
  18. <description>Name of the exported scoped variable for the exception thrown from a nested action. The type of the scoped variable is the type of the exception thrown.</description>
  19. <name>var</name>
  20. <required>false</required>
  21. <rtexprvalue>false</rtexprvalue>
  22. </attribute>
  23. </tag>
  24. <tag>
  25. <description>Simple conditional tag that establishes a context for mutually exclusive conditional operations, marked by &lt;when&gt; and &lt;otherwise&gt;</description>
  26. <name>choose</name>
  27. <tag-class>org.apache.taglibs.standard.tag.common.core.ChooseTag</tag-class>
  28. <body-content>JSP</body-content>
  29. </tag>
  30. <tag>
  31. <description>Simple conditional tag, which evalutes its body if the supplied condition is true and optionally exposes a Boolean scripting variable representing the evaluation of this condition</description>
  32. <name>if</name>
  33. <tag-class>org.apache.taglibs.standard.tag.rt.core.IfTag</tag-class>
  34. <body-content>JSP</body-content>
  35. <attribute>
  36. <description>The test condition that determines whether or not the body content should be processed.</description>
  37. <name>test</name>
  38. <required>true</required>
  39. <rtexprvalue>true</rtexprvalue>
  40. <type>boolean</type>
  41. </attribute>
  42. <attribute>
  43. <description>Name of the exported scoped variable for the resulting value of the test condition. The type of the scoped variable is Boolean.</description>
  44. <name>var</name>
  45. <required>false</required>
  46. <rtexprvalue>false</rtexprvalue>
  47. </attribute>
  48. <attribute>
  49. <description>Scope for var.</description>
  50. <name>scope</name>
  51. <required>false</required>
  52. <rtexprvalue>false</rtexprvalue>
  53. </attribute>
  54. </tag>
  55. <tag>
  56. <description>Retrieves an absolute or relative URL and exposes its contents to either the page, a String in 'var', or a Reader in 'varReader'.</description>
  57. <name>import</name>
  58. <tag-class>org.apache.taglibs.standard.tag.rt.core.ImportTag</tag-class>
  59. <tei-class>org.apache.taglibs.standard.tei.ImportTEI</tei-class>
  60. <body-content>JSP</body-content>
  61. <attribute>
  62. <description>The URL of the resource to import.</description>
  63. <name>url</name>
  64. <required>true</required>
  65. <rtexprvalue>true</rtexprvalue>
  66. </attribute>
  67. <attribute>
  68. <description>Name of the exported scoped variable for the resource's content. The type of the scoped variable is String.</description>
  69. <name>var</name>
  70. <required>false</required>
  71. <rtexprvalue>false</rtexprvalue>
  72. </attribute>
  73. <attribute>
  74. <description>Scope for var.</description>
  75. <name>scope</name>
  76. <required>false</required>
  77. <rtexprvalue>false</rtexprvalue>
  78. </attribute>
  79. <attribute>
  80. <description>Name of the exported scoped variable for the resource's content. The type of the scoped variable is Reader.</description>
  81. <name>varReader</name>
  82. <required>false</required>
  83. <rtexprvalue>false</rtexprvalue>
  84. </attribute>
  85. <attribute>
  86. <description>Name of the context when accessing a relative URL resource that belongs to a foreign context.</description>
  87. <name>context</name>
  88. <required>false</required>
  89. <rtexprvalue>true</rtexprvalue>
  90. </attribute>
  91. <attribute>
  92. <description>Character encoding of the content at the input resource.</description>
  93. <name>charEncoding</name>
  94. <required>false</required>
  95. <rtexprvalue>true</rtexprvalue>
  96. </attribute>
  97. </tag>
  98. <tag>
  99. <description>The basic iteration tag, accepting many different collection types and supporting subsetting and other functionality</description>
  100. <name>forEach</name>
  101. <tag-class>org.apache.taglibs.standard.tag.rt.core.ForEachTag</tag-class>
  102. <tei-class>org.apache.taglibs.standard.tei.ForEachTEI</tei-class>
  103. <body-content>JSP</body-content>
  104. <attribute>
  105. <description>Collection of items to iterate over.</description>
  106. <name>items</name>
  107. <required>false</required>
  108. <rtexprvalue>true</rtexprvalue>
  109. <type>java.lang.Object</type>
  110. </attribute>
  111. <attribute>
  112. <description>If items specified: Iteration begins at the item located at the specified index. First item of the collection has index 0. If items not specified: Iteration begins with index set at the value specified.</description>
  113. <name>begin</name>
  114. <required>false</required>
  115. <rtexprvalue>true</rtexprvalue>
  116. <type>int</type>
  117. </attribute>
  118. <attribute>
  119. <description>If items specified: Iteration ends at the item located at the specified index (inclusive). If items not specified: Iteration ends when index reaches the value specified.</description>
  120. <name>end</name>
  121. <required>false</required>
  122. <rtexprvalue>true</rtexprvalue>
  123. <type>int</type>
  124. </attribute>
  125. <attribute>
  126. <description>Iteration will only process every step items of the collection, starting with the first one.</description>
  127. <name>step</name>
  128. <required>false</required>
  129. <rtexprvalue>true</rtexprvalue>
  130. <type>int</type>
  131. </attribute>
  132. <attribute>
  133. <description>Name of the exported scoped variable for the current item of the iteration. This scoped variable has nested visibility. Its type depends on the object of the underlying collection.</description>
  134. <name>var</name>
  135. <required>false</required>
  136. <rtexprvalue>false</rtexprvalue>
  137. </attribute>
  138. <attribute>
  139. <description>Name of the exported scoped variable for the status of the iteration. Object exported is of type javax.servlet.jsp.jstl.core.LoopTagStatus. This scoped variable has nested visibility.</description>
  140. <name>varStatus</name>
  141. <required>false</required>
  142. <rtexprvalue>false</rtexprvalue>
  143. </attribute>
  144. </tag>
  145. <tag>
  146. <description>Iterates over tokens, separated by the supplied delimeters</description>
  147. <name>forTokens</name>
  148. <tag-class>org.apache.taglibs.standard.tag.rt.core.ForTokensTag</tag-class>
  149. <body-content>JSP</body-content>
  150. <attribute>
  151. <description>String of tokens to iterate over.</description>
  152. <name>items</name>
  153. <required>true</required>
  154. <rtexprvalue>true</rtexprvalue>
  155. <type>java.lang.String</type>
  156. </attribute>
  157. <attribute>
  158. <description>The set of delimiters (the characters that separate the tokens in the string).</description>
  159. <name>delims</name>
  160. <required>true</required>
  161. <rtexprvalue>true</rtexprvalue>
  162. <type>java.lang.String</type>
  163. </attribute>
  164. <attribute>
  165. <description>Iteration begins at the token located at the specified index. First token has index 0.</description>
  166. <name>begin</name>
  167. <required>false</required>
  168. <rtexprvalue>true</rtexprvalue>
  169. <type>int</type>
  170. </attribute>
  171. <attribute>
  172. <description>Iteration ends at the token located at the specified index (inclusive).</description>
  173. <name>end</name>
  174. <required>false</required>
  175. <rtexprvalue>true</rtexprvalue>
  176. <type>int</type>
  177. </attribute>
  178. <attribute>
  179. <description>Iteration will only process every step tokens of the string, starting with the first one.</description>
  180. <name>step</name>
  181. <required>false</required>
  182. <rtexprvalue>true</rtexprvalue>
  183. <type>int</type>
  184. </attribute>
  185. <attribute>
  186. <description>Name of the exported scoped variable for the current item of the iteration. This scoped variable has nested visibility.</description>
  187. <name>var</name>
  188. <required>false</required>
  189. <rtexprvalue>false</rtexprvalue>
  190. </attribute>
  191. <attribute>
  192. <description>Name of the exported scoped variable for the status of the iteration. Object exported is of type javax.servlet.jsp.jstl.core.LoopTag Status. This scoped variable has nested visibility.</description>
  193. <name>varStatus</name>
  194. <required>false</required>
  195. <rtexprvalue>false</rtexprvalue>
  196. </attribute>
  197. </tag>
  198. <tag>
  199. <description>Like &lt;%= ... &gt;, but for expressions.</description>
  200. <name>out</name>
  201. <tag-class>org.apache.taglibs.standard.tag.rt.core.OutTag</tag-class>
  202. <body-content>JSP</body-content>
  203. <attribute>
  204. <description>Expression to be evaluated.</description>
  205. <name>value</name>
  206. <required>true</required>
  207. <rtexprvalue>true</rtexprvalue>
  208. </attribute>
  209. <attribute>
  210. <description>Default value if the resulting value is null.</description>
  211. <name>default</name>
  212. <required>false</required>
  213. <rtexprvalue>true</rtexprvalue>
  214. </attribute>
  215. <attribute>
  216. <description>Determines whether characters &lt;,&gt;,&amp;,'," in the resulting string should be converted to their corresponding character entity codes. Default value is true.</description>
  217. <name>escapeXml</name>
  218. <required>false</required>
  219. <rtexprvalue>true</rtexprvalue>
  220. </attribute>
  221. </tag>
  222. <tag>
  223. <description>Subtag of &lt;choose&gt; that follows &lt;when&gt; tags and runs only if all of the prior conditions evaluated to 'false'</description>
  224. <name>otherwise</name>
  225. <tag-class>org.apache.taglibs.standard.tag.common.core.OtherwiseTag</tag-class>
  226. <body-content>JSP</body-content>
  227. </tag>
  228. <tag>
  229. <description>Adds a parameter to a containing 'import' tag's URL.</description>
  230. <name>param</name>
  231. <tag-class>org.apache.taglibs.standard.tag.rt.core.ParamTag</tag-class>
  232. <body-content>JSP</body-content>
  233. <attribute>
  234. <description>Name of the query string parameter.</description>
  235. <name>name</name>
  236. <required>true</required>
  237. <rtexprvalue>true</rtexprvalue>
  238. </attribute>
  239. <attribute>
  240. <description>Value of the parameter.</description>
  241. <name>value</name>
  242. <required>false</required>
  243. <rtexprvalue>true</rtexprvalue>
  244. </attribute>
  245. </tag>
  246. <tag>
  247. <description>Redirects to a new URL.</description>
  248. <name>redirect</name>
  249. <tag-class>org.apache.taglibs.standard.tag.rt.core.RedirectTag</tag-class>
  250. <body-content>JSP</body-content>
  251. <attribute>
  252. <description>The URL of the resource to redirect to.</description>
  253. <name>url</name>
  254. <required>false</required>
  255. <rtexprvalue>true</rtexprvalue>
  256. </attribute>
  257. <attribute>
  258. <description>Name of the context when redirecting to a relative URL resource that belongs to a foreign context.</description>
  259. <name>context</name>
  260. <required>false</required>
  261. <rtexprvalue>true</rtexprvalue>
  262. </attribute>
  263. </tag>
  264. <tag>
  265. <description>Removes a scoped variable (from a particular scope, if specified).</description>
  266. <name>remove</name>
  267. <tag-class>org.apache.taglibs.standard.tag.common.core.RemoveTag</tag-class>
  268. <body-content>empty</body-content>
  269. <attribute>
  270. <description>Name of the scoped variable to be removed.</description>
  271. <name>var</name>
  272. <required>true</required>
  273. <rtexprvalue>false</rtexprvalue>
  274. </attribute>
  275. <attribute>
  276. <description>Scope for var.</description>
  277. <name>scope</name>
  278. <required>false</required>
  279. <rtexprvalue>false</rtexprvalue>
  280. </attribute>
  281. </tag>
  282. <tag>
  283. <description>Sets the result of an expression evaluation in a 'scope'</description>
  284. <name>set</name>
  285. <tag-class>org.apache.taglibs.standard.tag.rt.core.SetTag</tag-class>
  286. <body-content>JSP</body-content>
  287. <attribute>
  288. <description>Name of the exported scoped variable to hold the value specified in the action. The type of the scoped variable is whatever type the value expression evaluates to.</description>
  289. <name>var</name>
  290. <required>false</required>
  291. <rtexprvalue>false</rtexprvalue>
  292. </attribute>
  293. <attribute>
  294. <description>Expression to be evaluated.</description>
  295. <name>value</name>
  296. <required>false</required>
  297. <rtexprvalue>true</rtexprvalue>
  298. </attribute>
  299. <attribute>
  300. <description>Target object whose property will be set. Must evaluate to a JavaBeans object with setter property property, or to a java.util.Map object.</description>
  301. <name>target</name>
  302. <required>false</required>
  303. <rtexprvalue>true</rtexprvalue>
  304. </attribute>
  305. <attribute>
  306. <description>Name of the property to be set in the target object.</description>
  307. <name>property</name>
  308. <required>false</required>
  309. <rtexprvalue>true</rtexprvalue>
  310. </attribute>
  311. <attribute>
  312. <description>Scope for var.</description>
  313. <name>scope</name>
  314. <required>false</required>
  315. <rtexprvalue>false</rtexprvalue>
  316. </attribute>
  317. </tag>
  318. <tag>
  319. <description>Creates a URL with optional query parameters.</description>
  320. <name>url</name>
  321. <tag-class>org.apache.taglibs.standard.tag.rt.core.UrlTag</tag-class>
  322. <body-content>JSP</body-content>
  323. <attribute>
  324. <description>Name of the exported scoped variable for the processed url. The type of the scoped variable is String.</description>
  325. <name>var</name>
  326. <required>false</required>
  327. <rtexprvalue>false</rtexprvalue>
  328. </attribute>
  329. <attribute>
  330. <description>Scope for var.</description>
  331. <name>scope</name>
  332. <required>false</required>
  333. <rtexprvalue>false</rtexprvalue>
  334. </attribute>
  335. <attribute>
  336. <description>URL to be processed.</description>
  337. <name>value</name>
  338. <required>false</required>
  339. <rtexprvalue>true</rtexprvalue>
  340. </attribute>
  341. <attribute>
  342. <description>Name of the context when specifying a relative URL resource that belongs to a foreign context.</description>
  343. <name>context</name>
  344. <required>false</required>
  345. <rtexprvalue>true</rtexprvalue>
  346. </attribute>
  347. </tag>
  348. <tag>
  349. <description>Subtag of &lt;choose&gt; that includes its body if its condition evalutes to 'true'</description>
  350. <name>when</name>
  351. <tag-class>org.apache.taglibs.standard.tag.rt.core.WhenTag</tag-class>
  352. <body-content>JSP</body-content>
  353. <attribute>
  354. <description>The test condition that determines whether or not the body content should be processed.</description>
  355. <name>test</name>
  356. <required>true</required>
  357. <rtexprvalue>true</rtexprvalue>
  358. <type>boolean</type>
  359. </attribute>
  360. </tag>
  361. </taglib>