org.apache.cocoon.faces.taglib
Class ConvertNumberTag
java.lang.Object
org.apache.avalon.framework.logger.AbstractLogEnabled
org.apache.cocoon.taglib.TagSupport
org.apache.cocoon.faces.taglib.ConverterTag
org.apache.cocoon.faces.taglib.ConvertNumberTag
- All Implemented Interfaces:
- Poolable, Recyclable, Component, LogEnabled, Tag
public class ConvertNumberTag
- extends ConverterTag
- Version:
- CVS $Id: ConvertNumberTag.html 1304258 2012-03-23 10:09:27Z ilgrosso $
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
ConvertNumberTag
public ConvertNumberTag()
setCurrencyCode
public void setCurrencyCode(String currencyCode)
setCurrencySymbol
public void setCurrencySymbol(String currencySymbol)
setGroupingUsed
public void setGroupingUsed(String groupingUsed)
setIntegerOnly
public void setIntegerOnly(String integerOnly)
setMaxFractionDigits
public void setMaxFractionDigits(String maxFractionDigits)
setMaxIntegerDigits
public void setMaxIntegerDigits(String maxIntegerDigits)
setMinFractionDigits
public void setMinFractionDigits(String minFractionDigits)
setMinIntegerDigits
public void setMinIntegerDigits(String minIntegerDigits)
setLocale
public void setLocale(String locale)
setPattern
public void setPattern(String pattern)
setType
public void setType(String type)
doStartTag
public int doStartTag(String namespaceURI,
String localName,
String qName,
Attributes atts)
throws SAXException
- Description copied from class:
TagSupport
- Process the start tag for this instance.
The doStartTag method assumes that pageContext and
parent have been set. It also assumes that any properties exposed as
attributes have been set too. When this method is invoked, the body
has not yet been evaluated.
- Specified by:
doStartTag
in interface Tag
- Overrides:
doStartTag
in class ConverterTag
- Returns:
- EVAL_BODY or SKIP_BODY.
- Throws:
SAXException
createConverter
protected javax.faces.convert.Converter createConverter()
- Description copied from class:
ConverterTag
- Override to create custom validator
- Overrides:
createConverter
in class ConverterTag
recycle
public void recycle()
- Specified by:
recycle
in interface Recyclable
- Overrides:
recycle
in class ConverterTag
Copyright © 1999-2010 The Apache Software Foundation. All Rights Reserved.