alvinalexander.com | career | drupal | java | mac | mysql | perl | scala | uml | unix  

What this is

This file is included in the DevDaily.com "Java Source Code Warehouse" project. The intent of this project is to help you "Learn Java by Example" TM.

Other links

The source code

<?xml version="1.0" encoding="ISO-8859-1" ?>
<!DOCTYPE taglib
  PUBLIC "-//Sun Microsystems, Inc.//DTD JSP Tag Library 1.2//EN"
  "http://java.sun.com/dtd/web-jsptaglibrary_1_2.dtd">
<taglib>
  <tlib-version>1.0
  <jsp-version>1.2
  <short-name>fmt
  <uri>http://java.sun.com/jstl/fmt
  <display-name>JSTL fmt
  <description>JSTL 1.0 i18n-capable formatting library

  <validator>
    <validator-class>
	org.apache.taglibs.standard.tlv.JstlFmtTLV
    </validator-class>
    <init-param>
	<param-name>expressionAttributes
	<param-value>
            requestEncoding:value 
	    setLocale:value
	    setLocale:variant
	    timeZone:value
	    setTimeZone:value
	    bundle:basename
	    bundle:prefix
            setBundle:basename
	    message:key
	    message:bundle
	    param:value
	    formatNumber:value
	    formatNumber:pattern
            formatNumber:currencyCode
            formatNumber:currencySymbol
            formatNumber:groupingUsed
            formatNumber:maxIntegerDigits
            formatNumber:minIntegerDigits
            formatNumber:maxFractionDigits
            formatNumber:minFractionDigits
	    parseNumber:value
	    parseNumber:pattern
	    parseNumber:parseLocale
            parseNumber:integerOnly
	    formatDate:value
	    formatDate:pattern
	    formatDate:timeZone
	    parseDate:value
	    parseDate:pattern
	    parseDate:timeZone
	    parseDate:parseLocale
	</param-value>
	<description>
	    Whitespace-separated list of colon-separated token pairs
	    describing tag:attribute combinations that accept expressions.
	    The validator uses this information to determine which
	    attributes need their syntax validated.
	</description>
     </init-param>
  </validator>

  <tag>
    <name>requestEncoding
    <tag-class>org.apache.taglibs.standard.tag.el.fmt.RequestEncodingTag
    <body-content>empty
    <description>
        Sets the request character encoding
    </description>
    <attribute>
        <name>value
        <required>false
        <rtexprvalue>false
    </attribute>
  </tag>

  <tag>
    <name>setLocale
    <tag-class>org.apache.taglibs.standard.tag.el.fmt.SetLocaleTag
    <body-content>empty
    <description>
        Stores the given locale in the locale configuration variable
    </description>
    <attribute>
        <name>value
        <required>true
        <rtexprvalue>false
    </attribute>
    <attribute>
        <name>variant
        <required>false
        <rtexprvalue>false
    </attribute>
    <attribute>
        <name>scope
        <required>false
        <rtexprvalue>false
    </attribute>
  </tag>

  <tag>
    <name>timeZone
    <tag-class>org.apache.taglibs.standard.tag.el.fmt.TimeZoneTag
    <body-content>JSP
    <description>
        Specifies the time zone for any time formatting or parsing actions
        nested in its body
    </description>
    <attribute>
        <name>value
        <required>true
        <rtexprvalue>false
    </attribute>
  </tag>

  <tag>
    <name>setTimeZone
    <tag-class>org.apache.taglibs.standard.tag.el.fmt.SetTimeZoneTag
    <body-content>empty
    <description>
        Stores the given time zone in the time zone configuration variable
    </description>
    <attribute>
        <name>value
        <required>true
        <rtexprvalue>false
    </attribute>
    <attribute>
        <name>var
        <required>false
        <rtexprvalue>false
    </attribute>
    <attribute>
        <name>scope
        <required>false
        <rtexprvalue>false
    </attribute>
  </tag>

  <tag>
    <name>bundle
    <tag-class>org.apache.taglibs.standard.tag.el.fmt.BundleTag
    <body-content>JSP
    <description>
        Loads a resource bundle to be used by its tag body
    </description>
    <attribute>
        <name>basename
        <required>true
        <rtexprvalue>false
    </attribute>
    <attribute>
        <name>prefix
        <required>false
        <rtexprvalue>false
    </attribute>
  </tag>

  <tag>
    <name>setBundle
    <tag-class>org.apache.taglibs.standard.tag.el.fmt.SetBundleTag
    <body-content>empty
    <description>
        Loads a resource bundle and stores it in the named scoped variable or
        the bundle configuration variable
    </description>
    <attribute>
        <name>basename
        <required>true
        <rtexprvalue>false
    </attribute>
    <attribute>
        <name>var
        <required>false
        <rtexprvalue>false
    </attribute>
    <attribute>
        <name>scope
        <required>false
        <rtexprvalue>false
    </attribute>
  </tag>

  <tag>
    <name>message
    <tag-class>org.apache.taglibs.standard.tag.el.fmt.MessageTag
    <body-content>JSP
    <description>
        Maps key to localized message and performs parametric replacement
    </description>
    <attribute>
        <name>key
        <required>false
        <rtexprvalue>false
    </attribute>
    <attribute>
        <name>bundle
        <required>false
        <rtexprvalue>false
    </attribute>
    <attribute>
        <name>var
        <required>false
        <rtexprvalue>false
    </attribute>
    <attribute>
        <name>scope
        <required>false
        <rtexprvalue>false
    </attribute>
  </tag>

  <tag>
    <name>param
    <tag-class>org.apache.taglibs.standard.tag.el.fmt.ParamTag
    <body-content>JSP
    <description>
        Supplies an argument for parametric replacement to a containing
        <message> tag
    </description>
    <attribute>
        <name>value
        <required>false
        <rtexprvalue>false
    </attribute>
  </tag>

  <tag>
    <name>formatNumber
    <tag-class>org.apache.taglibs.standard.tag.el.fmt.FormatNumberTag
    <body-content>JSP
    <description>
        Formats a numeric value as a number, currency, or percentage
    </description>
    <attribute>
        <name>value
        <required>false
        <rtexprvalue>false
    </attribute>
    <attribute>
        <name>type
        <required>false
        <rtexprvalue>false
    </attribute>
    <attribute>
        <name>pattern
        <required>false
        <rtexprvalue>false
    </attribute>
    <attribute>
        <name>currencyCode
        <required>false
        <rtexprvalue>false
    </attribute>
    <attribute>
        <name>currencySymbol
        <required>false
        <rtexprvalue>false
    </attribute>
    <attribute>
        <name>groupingUsed
        <required>false
        <rtexprvalue>false
    </attribute>
    <attribute>
        <name>maxIntegerDigits
        <required>false
        <rtexprvalue>false
    </attribute>
    <attribute>
        <name>minIntegerDigits
        <required>false
        <rtexprvalue>false
    </attribute>
    <attribute>
        <name>maxFractionDigits
        <required>false
        <rtexprvalue>false
    </attribute>
    <attribute>
        <name>minFractionDigits
        <required>false
        <rtexprvalue>false
    </attribute>
    <attribute>
        <name>var
        <required>false
        <rtexprvalue>false
    </attribute>
    <attribute>
        <name>scope
        <required>false
        <rtexprvalue>false
    </attribute>
  </tag>

  <tag>
    <name>parseNumber
    <tag-class>org.apache.taglibs.standard.tag.el.fmt.ParseNumberTag
    <body-content>JSP
    <description>
        Parses the string representation of a number, currency, or percentage
    </description>
    <attribute>
        <name>value
        <required>false
        <rtexprvalue>false
    </attribute>
    <attribute>
        <name>type
        <required>false
        <rtexprvalue>false
    </attribute>
    <attribute>
        <name>pattern
        <required>false
        <rtexprvalue>false
    </attribute>
    <attribute>
        <name>parseLocale
        <required>false
        <rtexprvalue>false
    </attribute>
    <attribute>
        <name>integerOnly
        <required>false
        <rtexprvalue>false
    </attribute>
    <attribute>
        <name>var
        <required>false
        <rtexprvalue>false
    </attribute>
    <attribute>
        <name>scope
        <required>false
        <rtexprvalue>false
    </attribute>
  </tag>

  <tag>
    <name>formatDate
    <tag-class>org.apache.taglibs.standard.tag.el.fmt.FormatDateTag
    <body-content>empty
    <description>
        Formats a date and/or time using the supplied styles and pattern
    </description>
    <attribute>
        <name>value
        <required>true
        <rtexprvalue>false
    </attribute>
    <attribute>
        <name>type
        <required>false
        <rtexprvalue>false
    </attribute>
    <attribute>
        <name>dateStyle
        <required>false
        <rtexprvalue>false
    </attribute>
    <attribute>
        <name>timeStyle
        <required>false
        <rtexprvalue>false
    </attribute>
    <attribute>
        <name>pattern
        <required>false
        <rtexprvalue>false
    </attribute>
    <attribute>
        <name>timeZone
        <required>false
        <rtexprvalue>false
    </attribute>
    <attribute>
        <name>var
        <required>false
        <rtexprvalue>false
    </attribute>
    <attribute>
        <name>scope
        <required>false
        <rtexprvalue>false
    </attribute>
  </tag>

  <tag>
    <name>parseDate
    <tag-class>org.apache.taglibs.standard.tag.el.fmt.ParseDateTag
    <body-content>JSP
    <description>
        Parses the string representation of a date and/or time
    </description>
    <attribute>
        <name>value
        <required>false
        <rtexprvalue>false
    </attribute>
    <attribute>
        <name>type
        <required>false
        <rtexprvalue>false
    </attribute>
    <attribute>
        <name>dateStyle
        <required>false
        <rtexprvalue>false
    </attribute>
    <attribute>
        <name>timeStyle
        <required>false
        <rtexprvalue>false
    </attribute>
    <attribute>
        <name>pattern
        <required>false
        <rtexprvalue>false
    </attribute>
    <attribute>
        <name>timeZone
        <required>false
        <rtexprvalue>false
    </attribute>
    <attribute>
        <name>parseLocale
        <required>false
        <rtexprvalue>false
    </attribute>
    <attribute>
        <name>var
        <required>false
        <rtexprvalue>false
    </attribute>
    <attribute>
        <name>scope
        <required>false
        <rtexprvalue>false
    </attribute>
  </tag>

</taglib>
... this post is sponsored by my books ...

#1 New Release!

FP Best Seller

 

new blog posts

 

Copyright 1998-2024 Alvin Alexander, alvinalexander.com
All Rights Reserved.

A percentage of advertising revenue from
pages under the /java/jwarehouse URI on this website is
paid back to open source projects.