All Downloads are FREE. Search and download functionalities are using the official Maven repository.

META-INF.humanize-0.2.0.tld Maven / Gradle / Ivy

There is a newer version: 1.2.2
Show newest version


    
  Humanize formatting library
  Humanize Tag Library
  1.1
  hmnz
  http://mfornos.github.com/humanize/taglib
  
  
    
        Maps key to localized message and performs parametric replacement
    
    message
    humanize.taglibs.MessageTag
    JSP
    
        
Message key to be looked up.
        
        key
        false
        true
    
    
        
Localization context in whose resource
bundle the message key is looked up.
        
        bundle
        false
        true
    
    
        
Name of the exported scoped variable
which stores the localized message.
        
        var
        false
        false
    
    
        
Scope of var.
        
        scope
        false
        false
    
  

  
    
        Supplies an argument for parametric replacement to a containing
        <message> tag
    
    param
    humanize.taglibs.ParamTag
    JSP
    
        
Argument used for parametric replacement.
        
        value
        false
        true
    
  

  
    
Constructs a message with pluralization logic from the given template.
    
    pluralize
    humanize.taglibs.PluralizeTag
    JSP
    
        
String of tokens delimited by '::'. Ex. 'nothing::one thing::{0} things', 'something::{0} things'.
        
        template
        false
        true
    
    
        
Comma separated list of extra arguments.See fn:join.
        
        args
        false
        true
    
    
        
The numeric value.
        
        value
        true
        true
    
    
        
Name of the exported scoped variable
which stores the localized message.
        
        var
        false
        false
    
    
        
Scope of var.
        
        scope
        false
        false
    
  
  
  
    
Computes both past and future relative dates.
E.g. 'one day ago', 'one day from now', '10 years ago', '3 minutes from now', 'right now' and so on.
    
    naturalTime
    humanize.taglibs.NaturalTimeTag
    JSP
    
        
The reference date.
        
        from
        false
        true
    
    
        
The duration date.
        
        to
        true
        true
    
    
        
Name of the exported scoped variable
which stores the localized message.
        
        var
        false
        false
    
    
        
Scope of var.
        
        scope
        false
        false
    
  

  
    
String with 'today', 'tomorrow' or 'yesterday' compared to current day. Otherwise, returns a string formatted according to a locale sensitive DateFormat.
    
    naturalDay
    humanize.taglibs.NaturalDayTag
    JSP
    
        
Date to be formatted.
        
        value
        true
        true
    
    
        
Fallback formatting style. Values should be: short, medium, long and full.
        
        style
        false
        true
    
    
        
Name of the exported scoped variable
which stores the localized message.
        
        var
        false
        false
    
    
        
Scope of var.
        
        scope
        false
        false
    
  
  
  
    
Transforms a text into a representation suitable to be used in an URL.
    
    slugify
    humanize.taglibs.SlugifyTag
    JSP
    
        
Text to be slugified.
        
        value
        false
        true
    
    
        
Name of the exported scoped variable
which stores the localized message.
        
        var
        false
        false
    
    
        
Scope of var.
        
        scope
        false
        false
    
      
  
  
    
Converts a given number to a string preceded by the corresponding binary International System of Units (SI) prefix.
    
    binaryPrefix
    humanize.taglibs.BinaryPrefixTag
    JSP
    
        
Number to be formatted.
        
        value
        false
        true
    
    
        
Name of the exported scoped variable
which stores the localized message.
        
        var
        false
        false
    
    
        
Scope of var.
        
        scope
        false
        false
    
  
  
  
    
Converts a given number to a string preceded by the corresponding decimal multiplicative prefix.
    
    metricPrefix
    humanize.taglibs.MetricPrefixTag
    JSP
    
        
Number to be formatted.
        
        value
        false
        true
    
    
        
Name of the exported scoped variable
which stores the localized message.
        
        var
        false
        false
    
    
        
Scope of var.
        
        scope
        false
        false
    
  

  
    
Converts a number to its ordinal as a string.
    
    ordinal
    humanize.taglibs.OrdinalTag
    JSP
    
        
Number to be formatted.
        
        value
        false
        true
    
    
        
Name of the exported scoped variable
which stores the localized message.
        
        var
        false
        false
    
    
        
Scope of var.
        
        scope
        false
        false
    
  

  
    
Formats a number of nanoseconds as the proper ten power unit.
    
    nanoTime
    humanize.taglibs.NanoTimeTag
    JSP
    
        
Number of nanoseconds.
        
        value
        false
        true
    
    
        
Name of the exported scoped variable
which stores the localized message.
        
        var
        false
        false
    
    
        
Scope of var.
        
        scope
        false
        false
    
  
  
  
    
Converts a big number to a friendly text representation. Accepts values ranging from thousands to googols. Uses BigDecimal.
    
    spellBigNumber
    humanize.taglibs.SpellBigNumberTag
    JSP
    
        
Number to be formatted.
        
        value
        false
        true
    
    
        
Name of the exported scoped variable
which stores the localized message.
        
        var
        false
        false
    
    
        
Scope of var.
        
        scope
        false
        false
    
  
  
  
    
For decimal digits [0-9], returns the number spelled out. Otherwise, returns the number as string.
    
    spellDigit
    humanize.taglibs.SpellDigitTag
    JSP
    
        
Number to be formatted.
        
        value
        false
        true
    
    
        
Name of the exported scoped variable
which stores the localized message.
        
        var
        false
        false
    
    
        
Scope of var.
        
        scope
        false
        false
    
  





© 2015 - 2025 Weber Informatics LLC | Privacy Policy