📄 fmt.tld
字号:
<?xml version="1.0" encoding="UTF-8" ?><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"> <description>JSTL 1.1 i18n-capable formatting library</description> <display-name>JSTL fmt</display-name> <tlib-version>1.1</tlib-version> <short-name>fmt</short-name> <uri>http://java.sun.com/jsp/jstl/fmt</uri> <validator> <description> Provides core validation features for JSTL tags. </description> <validator-class> org.apache.taglibs.standard.tlv.JstlFmtTLV </validator-class> </validator> <tag> <description> Sets the request character encoding </description> <name>requestEncoding</name> <tag-class>org.apache.taglibs.standard.tag.rt.fmt.RequestEncodingTag</tag-class> <body-content>empty</body-content> <attribute> <description>Name of character encoding to be applied whendecoding request parameters. </description> <name>value</name> <required>false</required> <rtexprvalue>true</rtexprvalue> </attribute> </tag> <tag> <description> Stores the given locale in the locale configuration variable </description> <name>setLocale</name> <tag-class>org.apache.taglibs.standard.tag.rt.fmt.SetLocaleTag</tag-class> <body-content>empty</body-content> <attribute> <description>A String value is interpreted as theprintable representation of a locale, whichmust contain a two-letter (lower-case)language code (as defined by ISO-639),and may contain a two-letter (upper-case)country code (as defined by ISO-3166).Language and country codes must beseparated by hyphen (-) or underscore(_). </description> <name>value</name> <required>true</required> <rtexprvalue>true</rtexprvalue> </attribute> <attribute> <description>Vendor- or browser-specific variant.See the java.util.Locale javadocs formore information on variants. </description> <name>variant</name> <required>false</required> <rtexprvalue>true</rtexprvalue> </attribute> <attribute> <description>Scope of the locale configuration variable. </description> <name>scope</name> <required>false</required> <rtexprvalue>false</rtexprvalue> </attribute> </tag> <tag> <description> Specifies the time zone for any time formatting or parsing actions nested in its body </description> <name>timeZone</name> <tag-class>org.apache.taglibs.standard.tag.rt.fmt.TimeZoneTag</tag-class> <body-content>JSP</body-content> <attribute> <description>The time zone. A String value is interpreted asa time zone ID. This may be one of the time zoneIDs supported by the Java platform (such as"America/Los_Angeles") or a custom time zoneID (such as "GMT-8"). Seejava.util.TimeZone for more information onsupported time zone formats. </description> <name>value</name> <required>true</required> <rtexprvalue>true</rtexprvalue> </attribute> </tag> <tag> <description> Stores the given time zone in the time zone configuration variable </description> <name>setTimeZone</name> <tag-class>org.apache.taglibs.standard.tag.rt.fmt.SetTimeZoneTag</tag-class> <body-content>empty</body-content> <attribute> <description>The time zone. A String value is interpreted asa time zone ID. This may be one of the time zoneIDs supported by the Java platform (such as"America/Los_Angeles") or a custom time zoneID (such as "GMT-8"). See java.util.TimeZone formore information on supported time zoneformats. </description> <name>value</name> <required>true</required> <rtexprvalue>true</rtexprvalue> </attribute> <attribute> <description>Name of the exported scoped variable whichstores the time zone of typejava.util.TimeZone. </description> <name>var</name> <required>false</required> <rtexprvalue>false</rtexprvalue> </attribute> <attribute> <description>Scope of var or the time zone configurationvariable. </description> <name>scope</name> <required>false</required> <rtexprvalue>false</rtexprvalue> </attribute> </tag> <tag> <description> Loads a resource bundle to be used by its tag body </description> <name>bundle</name> <tag-class>org.apache.taglibs.standard.tag.rt.fmt.BundleTag</tag-class> <body-content>JSP</body-content> <attribute> <description>Resource bundle base name. This is the bundle'sfully-qualified resource name, which has the sameform as a fully-qualified class name, that is, it uses"." as the package component separator and does nothave any file type (such as ".class" or ".properties")suffix. </description> <name>basename</name> <required>true</required> <rtexprvalue>true</rtexprvalue> </attribute> <attribute> <description>Prefix to be prepended to the value of the messagekey of any nested <fmt:message> action. </description> <name>prefix</name> <required>false</required> <rtexprvalue>true</rtexprvalue> </attribute> </tag> <tag> <description> Loads a resource bundle and stores it in the named scoped variable or the bundle configuration variable </description> <name>setBundle</name> <tag-class>org.apache.taglibs.standard.tag.rt.fmt.SetBundleTag</tag-class> <body-content>empty</body-content> <attribute> <description>Resource bundle base name. This is the bundle'sfully-qualified resource name, which has the sameform as a fully-qualified class name, that is, it uses"." as the package component separator and does nothave any file type (such as ".class" or ".properties")suffix. </description> <name>basename</name> <required>true</required> <rtexprvalue>true</rtexprvalue> </attribute> <attribute> <description>Name of the exported scoped variable which storesthe i18n localization context of typejavax.servlet.jsp.jstl.fmt.LocalizationContext. </description> <name>var</name> <required>false</required> <rtexprvalue>false</rtexprvalue> </attribute> <attribute> <description>Scope of var or the localization contextconfiguration variable. </description> <name>scope</name> <required>false</required> <rtexprvalue>false</rtexprvalue> </attribute> </tag> <tag> <description> Maps key to localized message and performs parametric replacement </description> <name>message</name> <tag-class>org.apache.taglibs.standard.tag.rt.fmt.MessageTag</tag-class> <body-content>JSP</body-content> <attribute> <description>Message key to be looked up. </description> <name>key</name> <required>false</required> <rtexprvalue>true</rtexprvalue> </attribute> <attribute> <description>Localization context in whose resourcebundle the message key is looked up. </description> <name>bundle</name> <required>false</required> <rtexprvalue>true</rtexprvalue> </attribute> <attribute> <description>Name of the exported scoped variablewhich stores the localized message. </description> <name>var</name> <required>false</required> <rtexprvalue>false</rtexprvalue> </attribute> <attribute> <description>Scope of var. </description> <name>scope</name> <required>false</required> <rtexprvalue>false</rtexprvalue> </attribute> </tag> <tag> <description> Supplies an argument for parametric replacement to a containing <message> tag </description> <name>param</name> <tag-class>org.apache.taglibs.standard.tag.rt.fmt.ParamTag</tag-class> <body-content>JSP</body-content> <attribute> <description>Argument used for parametric replacement. </description> <name>value</name> <required>false</required> <rtexprvalue>true</rtexprvalue> </attribute> </tag> <tag> <description> Formats a numeric value as a number, currency, or percentage </description> <name>formatNumber</name> <tag-class>org.apache.taglibs.standard.tag.rt.fmt.FormatNumberTag</tag-class> <body-content>JSP</body-content> <attribute> <description>Numeric value to be formatted. </description> <name>value</name> <required>false</required> <rtexprvalue>true</rtexprvalue> </attribute> <attribute> <description>Specifies whether the value is to beformatted as number, currency, orpercentage. </description> <name>type</name> <required>false</required> <rtexprvalue>true</rtexprvalue> </attribute> <attribute> <description>Custom formatting pattern. </description> <name>pattern</name> <required>false</required> <rtexprvalue>true</rtexprvalue> </attribute> <attribute> <description>ISO 4217 currency code. Applied onlywhen formatting currencies (i.e. if type isequal to "currency"); ignored otherwise. </description> <name>currencyCode</name> <required>false</required> <rtexprvalue>true</rtexprvalue> </attribute> <attribute> <description>Currency symbol. Applied only whenformatting currencies (i.e. if type is equalto "currency"); ignored otherwise. </description> <name>currencySymbol</name> <required>false</required> <rtexprvalue>true</rtexprvalue>
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -