fmt.tld
上传用户:zghglow
上传日期:2022-08-09
资源大小:27227k
文件大小:12k
源码类别:

WEB源码(ASP,PHP,...)

开发平台:

JavaScript

  1. <?xml version="1.0" encoding="ISO-8859-1" ?>
  2. <!DOCTYPE taglib
  3.   PUBLIC "-//Sun Microsystems, Inc.//DTD JSP Tag Library 1.2//EN"
  4.   "http://java.sun.com/dtd/web-jsptaglibrary_1_2.dtd">
  5. <taglib>
  6.   <tlib-version>1.0</tlib-version>
  7.   <jsp-version>1.2</jsp-version>
  8.   <short-name>fmt</short-name>
  9.   <uri>http://java.sun.com/jstl/fmt</uri>
  10.   <display-name>JSTL fmt</display-name>
  11.   <description>JSTL 1.0 i18n-capable formatting library</description>
  12.   <validator>
  13.     <validator-class>
  14. org.apache.taglibs.standard.tlv.JstlFmtTLV
  15.     </validator-class>
  16.     <init-param>
  17. <param-name>expressionAttributes</param-name>
  18. <param-value>
  19.             requestEncoding:value 
  20.     setLocale:value
  21.     setLocale:variant
  22.     timeZone:value
  23.     setTimeZone:value
  24.     bundle:basename
  25.     bundle:prefix
  26.             setBundle:basename
  27.     message:key
  28.     message:bundle
  29.     param:value
  30.     formatNumber:value
  31.     formatNumber:pattern
  32.             formatNumber:currencyCode
  33.             formatNumber:currencySymbol
  34.             formatNumber:groupingUsed
  35.             formatNumber:maxIntegerDigits
  36.             formatNumber:minIntegerDigits
  37.             formatNumber:maxFractionDigits
  38.             formatNumber:minFractionDigits
  39.     parseNumber:value
  40.     parseNumber:pattern
  41.     parseNumber:parseLocale
  42.             parseNumber:integerOnly
  43.     formatDate:value
  44.     formatDate:pattern
  45.     formatDate:timeZone
  46.     parseDate:value
  47.     parseDate:pattern
  48.     parseDate:timeZone
  49.     parseDate:parseLocale
  50. </param-value>
  51. <description>
  52.     Whitespace-separated list of colon-separated token pairs
  53.     describing tag:attribute combinations that accept expressions.
  54.     The validator uses this information to determine which
  55.     attributes need their syntax validated.
  56. </description>
  57.      </init-param>
  58.   </validator>
  59.   <tag>
  60.     <name>requestEncoding</name>
  61.     <tag-class>org.apache.taglibs.standard.tag.el.fmt.RequestEncodingTag</tag-class>
  62.     <body-content>empty</body-content>
  63.     <description>
  64.         Sets the request character encoding
  65.     </description>
  66.     <attribute>
  67.         <name>value</name>
  68.         <required>false</required>
  69.         <rtexprvalue>false</rtexprvalue>
  70.     </attribute>
  71.   </tag>
  72.   <tag>
  73.     <name>setLocale</name>
  74.     <tag-class>org.apache.taglibs.standard.tag.el.fmt.SetLocaleTag</tag-class>
  75.     <body-content>empty</body-content>
  76.     <description>
  77.         Stores the given locale in the locale configuration variable
  78.     </description>
  79.     <attribute>
  80.         <name>value</name>
  81.         <required>true</required>
  82.         <rtexprvalue>false</rtexprvalue>
  83.     </attribute>
  84.     <attribute>
  85.         <name>variant</name>
  86.         <required>false</required>
  87.         <rtexprvalue>false</rtexprvalue>
  88.     </attribute>
  89.     <attribute>
  90.         <name>scope</name>
  91.         <required>false</required>
  92.         <rtexprvalue>false</rtexprvalue>
  93.     </attribute>
  94.   </tag>
  95.   <tag>
  96.     <name>timeZone</name>
  97.     <tag-class>org.apache.taglibs.standard.tag.el.fmt.TimeZoneTag</tag-class>
  98.     <body-content>JSP</body-content>
  99.     <description>
  100.         Specifies the time zone for any time formatting or parsing actions
  101.         nested in its body
  102.     </description>
  103.     <attribute>
  104.         <name>value</name>
  105.         <required>true</required>
  106.         <rtexprvalue>false</rtexprvalue>
  107.     </attribute>
  108.   </tag>
  109.   <tag>
  110.     <name>setTimeZone</name>
  111.     <tag-class>org.apache.taglibs.standard.tag.el.fmt.SetTimeZoneTag</tag-class>
  112.     <body-content>empty</body-content>
  113.     <description>
  114.         Stores the given time zone in the time zone configuration variable
  115.     </description>
  116.     <attribute>
  117.         <name>value</name>
  118.         <required>true</required>
  119.         <rtexprvalue>false</rtexprvalue>
  120.     </attribute>
  121.     <attribute>
  122.         <name>var</name>
  123.         <required>false</required>
  124.         <rtexprvalue>false</rtexprvalue>
  125.     </attribute>
  126.     <attribute>
  127.         <name>scope</name>
  128.         <required>false</required>
  129.         <rtexprvalue>false</rtexprvalue>
  130.     </attribute>
  131.   </tag>
  132.   <tag>
  133.     <name>bundle</name>
  134.     <tag-class>org.apache.taglibs.standard.tag.el.fmt.BundleTag</tag-class>
  135.     <body-content>JSP</body-content>
  136.     <description>
  137.         Loads a resource bundle to be used by its tag body
  138.     </description>
  139.     <attribute>
  140.         <name>basename</name>
  141.         <required>true</required>
  142.         <rtexprvalue>false</rtexprvalue>
  143.     </attribute>
  144.     <attribute>
  145.         <name>prefix</name>
  146.         <required>false</required>
  147.         <rtexprvalue>false</rtexprvalue>
  148.     </attribute>
  149.   </tag>
  150.   <tag>
  151.     <name>setBundle</name>
  152.     <tag-class>org.apache.taglibs.standard.tag.el.fmt.SetBundleTag</tag-class>
  153.     <body-content>empty</body-content>
  154.     <description>
  155.         Loads a resource bundle and stores it in the named scoped variable or
  156.         the bundle configuration variable
  157.     </description>
  158.     <attribute>
  159.         <name>basename</name>
  160.         <required>true</required>
  161.         <rtexprvalue>false</rtexprvalue>
  162.     </attribute>
  163.     <attribute>
  164.         <name>var</name>
  165.         <required>false</required>
  166.         <rtexprvalue>false</rtexprvalue>
  167.     </attribute>
  168.     <attribute>
  169.         <name>scope</name>
  170.         <required>false</required>
  171.         <rtexprvalue>false</rtexprvalue>
  172.     </attribute>
  173.   </tag>
  174.   <tag>
  175.     <name>message</name>
  176.     <tag-class>org.apache.taglibs.standard.tag.el.fmt.MessageTag</tag-class>
  177.     <body-content>JSP</body-content>
  178.     <description>
  179.         Maps key to localized message and performs parametric replacement
  180.     </description>
  181.     <attribute>
  182.         <name>key</name>
  183.         <required>false</required>
  184.         <rtexprvalue>false</rtexprvalue>
  185.     </attribute>
  186.     <attribute>
  187.         <name>bundle</name>
  188.         <required>false</required>
  189.         <rtexprvalue>false</rtexprvalue>
  190.     </attribute>
  191.     <attribute>
  192.         <name>var</name>
  193.         <required>false</required>
  194.         <rtexprvalue>false</rtexprvalue>
  195.     </attribute>
  196.     <attribute>
  197.         <name>scope</name>
  198.         <required>false</required>
  199.         <rtexprvalue>false</rtexprvalue>
  200.     </attribute>
  201.   </tag>
  202.   <tag>
  203.     <name>param</name>
  204.     <tag-class>org.apache.taglibs.standard.tag.el.fmt.ParamTag</tag-class>
  205.     <body-content>JSP</body-content>
  206.     <description>
  207.         Supplies an argument for parametric replacement to a containing
  208.         &lt;message&gt; tag
  209.     </description>
  210.     <attribute>
  211.         <name>value</name>
  212.         <required>false</required>
  213.         <rtexprvalue>false</rtexprvalue>
  214.     </attribute>
  215.   </tag>
  216.   <tag>
  217.     <name>formatNumber</name>
  218.     <tag-class>org.apache.taglibs.standard.tag.el.fmt.FormatNumberTag</tag-class>
  219.     <body-content>JSP</body-content>
  220.     <description>
  221.         Formats a numeric value as a number, currency, or percentage
  222.     </description>
  223.     <attribute>
  224.         <name>value</name>
  225.         <required>false</required>
  226.         <rtexprvalue>false</rtexprvalue>
  227.     </attribute>
  228.     <attribute>
  229.         <name>type</name>
  230.         <required>false</required>
  231.         <rtexprvalue>false</rtexprvalue>
  232.     </attribute>
  233.     <attribute>
  234.         <name>pattern</name>
  235.         <required>false</required>
  236.         <rtexprvalue>false</rtexprvalue>
  237.     </attribute>
  238.     <attribute>
  239.         <name>currencyCode</name>
  240.         <required>false</required>
  241.         <rtexprvalue>false</rtexprvalue>
  242.     </attribute>
  243.     <attribute>
  244.         <name>currencySymbol</name>
  245.         <required>false</required>
  246.         <rtexprvalue>false</rtexprvalue>
  247.     </attribute>
  248.     <attribute>
  249.         <name>groupingUsed</name>
  250.         <required>false</required>
  251.         <rtexprvalue>false</rtexprvalue>
  252.     </attribute>
  253.     <attribute>
  254.         <name>maxIntegerDigits</name>
  255.         <required>false</required>
  256.         <rtexprvalue>false</rtexprvalue>
  257.     </attribute>
  258.     <attribute>
  259.         <name>minIntegerDigits</name>
  260.         <required>false</required>
  261.         <rtexprvalue>false</rtexprvalue>
  262.     </attribute>
  263.     <attribute>
  264.         <name>maxFractionDigits</name>
  265.         <required>false</required>
  266.         <rtexprvalue>false</rtexprvalue>
  267.     </attribute>
  268.     <attribute>
  269.         <name>minFractionDigits</name>
  270.         <required>false</required>
  271.         <rtexprvalue>false</rtexprvalue>
  272.     </attribute>
  273.     <attribute>
  274.         <name>var</name>
  275.         <required>false</required>
  276.         <rtexprvalue>false</rtexprvalue>
  277.     </attribute>
  278.     <attribute>
  279.         <name>scope</name>
  280.         <required>false</required>
  281.         <rtexprvalue>false</rtexprvalue>
  282.     </attribute>
  283.   </tag>
  284.   <tag>
  285.     <name>parseNumber</name>
  286.     <tag-class>org.apache.taglibs.standard.tag.el.fmt.ParseNumberTag</tag-class>
  287.     <body-content>JSP</body-content>
  288.     <description>
  289.         Parses the string representation of a number, currency, or percentage
  290.     </description>
  291.     <attribute>
  292.         <name>value</name>
  293.         <required>false</required>
  294.         <rtexprvalue>false</rtexprvalue>
  295.     </attribute>
  296.     <attribute>
  297.         <name>type</name>
  298.         <required>false</required>
  299.         <rtexprvalue>false</rtexprvalue>
  300.     </attribute>
  301.     <attribute>
  302.         <name>pattern</name>
  303.         <required>false</required>
  304.         <rtexprvalue>false</rtexprvalue>
  305.     </attribute>
  306.     <attribute>
  307.         <name>parseLocale</name>
  308.         <required>false</required>
  309.         <rtexprvalue>false</rtexprvalue>
  310.     </attribute>
  311.     <attribute>
  312.         <name>integerOnly</name>
  313.         <required>false</required>
  314.         <rtexprvalue>false</rtexprvalue>
  315.     </attribute>
  316.     <attribute>
  317.         <name>var</name>
  318.         <required>false</required>
  319.         <rtexprvalue>false</rtexprvalue>
  320.     </attribute>
  321.     <attribute>
  322.         <name>scope</name>
  323.         <required>false</required>
  324.         <rtexprvalue>false</rtexprvalue>
  325.     </attribute>
  326.   </tag>
  327.   <tag>
  328.     <name>formatDate</name>
  329.     <tag-class>org.apache.taglibs.standard.tag.el.fmt.FormatDateTag</tag-class>
  330.     <body-content>empty</body-content>
  331.     <description>
  332.         Formats a date and/or time using the supplied styles and pattern
  333.     </description>
  334.     <attribute>
  335.         <name>value</name>
  336.         <required>true</required>
  337.         <rtexprvalue>false</rtexprvalue>
  338.     </attribute>
  339.     <attribute>
  340.         <name>type</name>
  341.         <required>false</required>
  342.         <rtexprvalue>false</rtexprvalue>
  343.     </attribute>
  344.     <attribute>
  345.         <name>dateStyle</name>
  346.         <required>false</required>
  347.         <rtexprvalue>false</rtexprvalue>
  348.     </attribute>
  349.     <attribute>
  350.         <name>timeStyle</name>
  351.         <required>false</required>
  352.         <rtexprvalue>false</rtexprvalue>
  353.     </attribute>
  354.     <attribute>
  355.         <name>pattern</name>
  356.         <required>false</required>
  357.         <rtexprvalue>false</rtexprvalue>
  358.     </attribute>
  359.     <attribute>
  360.         <name>timeZone</name>
  361.         <required>false</required>
  362.         <rtexprvalue>false</rtexprvalue>
  363.     </attribute>
  364.     <attribute>
  365.         <name>var</name>
  366.         <required>false</required>
  367.         <rtexprvalue>false</rtexprvalue>
  368.     </attribute>
  369.     <attribute>
  370.         <name>scope</name>
  371.         <required>false</required>
  372.         <rtexprvalue>false</rtexprvalue>
  373.     </attribute>
  374.   </tag>
  375.   <tag>
  376.     <name>parseDate</name>
  377.     <tag-class>org.apache.taglibs.standard.tag.el.fmt.ParseDateTag</tag-class>
  378.     <body-content>JSP</body-content>
  379.     <description>
  380.         Parses the string representation of a date and/or time
  381.     </description>
  382.     <attribute>
  383.         <name>value</name>
  384.         <required>false</required>
  385.         <rtexprvalue>false</rtexprvalue>
  386.     </attribute>
  387.     <attribute>
  388.         <name>type</name>
  389.         <required>false</required>
  390.         <rtexprvalue>false</rtexprvalue>
  391.     </attribute>
  392.     <attribute>
  393.         <name>dateStyle</name>
  394.         <required>false</required>
  395.         <rtexprvalue>false</rtexprvalue>
  396.     </attribute>
  397.     <attribute>
  398.         <name>timeStyle</name>
  399.         <required>false</required>
  400.         <rtexprvalue>false</rtexprvalue>
  401.     </attribute>
  402.     <attribute>
  403.         <name>pattern</name>
  404.         <required>false</required>
  405.         <rtexprvalue>false</rtexprvalue>
  406.     </attribute>
  407.     <attribute>
  408.         <name>timeZone</name>
  409.         <required>false</required>
  410.         <rtexprvalue>false</rtexprvalue>
  411.     </attribute>
  412.     <attribute>
  413.         <name>parseLocale</name>
  414.         <required>false</required>
  415.         <rtexprvalue>false</rtexprvalue>
  416.     </attribute>
  417.     <attribute>
  418.         <name>var</name>
  419.         <required>false</required>
  420.         <rtexprvalue>false</rtexprvalue>
  421.     </attribute>
  422.     <attribute>
  423.         <name>scope</name>
  424.         <required>false</required>
  425.         <rtexprvalue>false</rtexprvalue>
  426.     </attribute>
  427.   </tag>
  428. </taglib>