FileDocCategorySizeDatePackage
ParseNumberTag.javaAPI DocGlassfish v2 API3477Sat May 05 19:18:00 BST 2007org.apache.taglibs.standard.tag.rt.fmt

ParseNumberTag

public class ParseNumberTag extends org.apache.taglibs.standard.tag.common.fmt.ParseNumberSupport

A handler for <parseNumber> that supports rtexprvalue-based attributes.

author
Jan Luehe

Fields Summary
Constructors Summary
Methods Summary
public voidsetIntegerOnly(boolean isIntegerOnly)

        this.isIntegerOnly = isIntegerOnly;
	this.integerOnlySpecified = true;
    
public voidsetParseLocale(java.lang.Object loc)

	if (loc != null) {
	    if (loc instanceof Locale) {
		this.parseLocale = (Locale) loc;
	    } else {
		if (!"".equals((String) loc)) {
		    this.parseLocale = SetLocaleSupport.parseLocale((String)
								    loc);
		}
	    }
	}
    
public voidsetPattern(java.lang.String pattern)

        this.pattern = pattern;
    
public voidsetType(java.lang.String type)

        this.type = type;
    
public voidsetValue(java.lang.String value)

        this.value = value;
	this.valueSpecified = true;