| Home >> All >> org >> apache >> taglibs >> [ i18n Javadoc ] |
org.apache.taglibs.i18n: Javadoc index of package org.apache.taglibs.i18n.
Package Samples:
org.apache.taglibs.i18n
Classes:
LocaleTag: This tag defines a java.util.Locale context for use by other inner JSP tags. If no locale has been configured directly via the "locale" property then the language, country and optional varient properties are used to create a new Locale instance. If these properties are not specified then the Locale is taken from javax.servlet.ServletRequest is used. If still no java.util.Locale could be found then the default JVM java.util.Locale is used.
IfndefTag: This class implements body tag that allows you to use a resource bundle to internationalize content in a web page. If a value is found in the resource bundle for the required "key" attribute, then the enclosed JSP is evaluated, otherwise, it is skipped. The ifdef and ifndef tags allow the JSP author to conditionally evaluate sections of a JSP based on whether or not a value is provided for the given key. Examples <i18n:bundle baseName="test"/> <i18n:ifndef key="test"> misc html and jsp </i18n:ifndef> etc...
IfdefTag: This class implements body tag that allows you to use a resource bundle to internationalize content in a web page. If a value is found in the resource bundle for the required "key" attribute, then the enclosed JSP is evaluated, otherwise, it is skipped. The ifdef and ifndef tags allow the JSP author to conditionally evaluate sections of a JSP based on whether or not a value is provided for the given key. Examples <i18n:bundle baseName="test"/> <i18n:ifdef key="test"> misc html and jsp </i18n:ifdef> etc...
MessageTag: This class implements a body tag that allows you to use a resource bundle to internationalize content in a web page. The "key" attribute is required, and is used to look up content in the resource bundle. The "args" attribute is optional, and if present, provides items to pass to a MessageFormat. The BundleTag must first be used in order to ensure that the proper bundle is loaded. Examples <i18n:bundle baseName="test"/> <i18n:getMessage key="test"/> <i18n:getMessage key="test" args="1,2,3"/> etc...
BundleTag: This class implements an empty tag that allows you to use a resource bundle to internationalize content in a web page. If a specific locale is not provided, the user's locale (language and country) are determined based on the browser settings. The response content-type is automatically set based on the locale. This tag must be used very early in the page, prior to any html output. Examples <i18n:bundle basename="test"/> etc...
MessageArgumentTag: This class implements is used inside a MessageTag to create an ordered list of arguments to use with java.text.MessageFormat. Examples <i18n:getMessage key="test"/> <i18n:msgArg value="<%= test %>"/> <i18n:msgArg value="<%= test %>"/> </i18n:getMessage> etc...
FormatNumberTag: Formats a java.lang.Number instance using a java.util.Locale and the java.text.NumberFormat or a java.text.DecimalFormat if a pattern is specified.
FormatDateTag: Formats a java.util.Date instance using a java.util.Locale and either a java.text.DateFormat or a pattern based java.text.SimpleDateFormat .
FormatCurrencyTag: Formats a java.lang.Number instance using the current java.util.Locale and the Currency java.text.NumberFormat .
FormatPercentTag: Formats a java.lang.Number instance using the current java.util.Locale and the Percent java.text.NumberFormat .
FormatDateTimeTag: Formats a java.util.Date instance using the default Date and Time formatter for the current java.util.Locale .
FormatTimeTag: Formats a java.util.Date instance using a java.util.Locale and the default time format.
ConditionalTagSupport: This class provides the base implementation for the ifdef and ifndef tags. Subclasses must provide an implementation of the shouldEvaluate() method.
ResourceHelper: This class is used by the bundle and message tags for caching the ResourceBundle in the session and request.
FormatDateTagSupport: Abstract base class which supports the defaulting of the value to 'now' if no other value is specified.
FormatTagSupport: An abstract base class for the formatting tags to provide implementation inheritence.
BundleTEI: Defines the possible JSP beans available within the the body of the iterator tag.
FormatStringTag: A simple tag that allows a String to be output with null handling.
FormatCurrencyTEI
FormatDateTEI
FormatDateTimeTEI
FormatNumberTEI
FormatPercentTEI
FormatStringTEI
FormatTimeTEI
| Home | Contact Us | Privacy Policy | Terms of Service |