Docjar: A Java Source and Docuemnt Enginecom.*    java.*    javax.*    org.*    all    new    plug-in

Quick Search    Search Deep

com.sun.facelets.tag.jsf.core
Class ConvertNumberHandler  view ConvertNumberHandler download ConvertNumberHandler.java

java.lang.Object
  extended bycom.sun.facelets.tag.TagHandler
      extended bycom.sun.facelets.tag.MetaTagHandler
          extended bycom.sun.facelets.tag.jsf.ConvertHandler
              extended bycom.sun.facelets.tag.jsf.core.ConvertNumberHandler
All Implemented Interfaces:
com.sun.facelets.FaceletHandler

public final class ConvertNumberHandler
extends com.sun.facelets.tag.jsf.ConvertHandler

Register a NumberConverter instance on the UIComponent associated with the closest parent UIComponent custom action.

See tag documentation.

Version:
$Id: ConvertNumberHandler.java,v 1.3 2005/08/24 04:38:49 jhook Exp $

Field Summary
private  com.sun.facelets.tag.TagAttribute locale
           
 
Fields inherited from class com.sun.facelets.tag.jsf.ConvertHandler
 
Fields inherited from class com.sun.facelets.tag.MetaTagHandler
 
Fields inherited from class com.sun.facelets.tag.TagHandler
nextHandler, tag, tagId
 
Constructor Summary
ConvertNumberHandler(com.sun.facelets.tag.jsf.ConverterConfig config)
           
 
Method Summary
protected  javax.faces.convert.Converter createConverter(com.sun.facelets.FaceletContext ctx)
          Returns a new NumberConverter
protected  com.sun.facelets.tag.MetaRuleset createMetaRuleset(java.lang.Class type)
          Extend this method in order to add your own rules.
protected  void setAttributes(com.sun.facelets.FaceletContext ctx, java.lang.Object obj)
          Invoking/extending this method will cause the results of the created MetaRuleset to auto-wire state to the passed instance.
 
Methods inherited from class com.sun.facelets.tag.jsf.ConvertHandler
apply
 
Methods inherited from class com.sun.facelets.tag.TagHandler
findNextByType, getAttribute, getRequiredAttribute, toString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

locale

private final com.sun.facelets.tag.TagAttribute locale
Constructor Detail

ConvertNumberHandler

public ConvertNumberHandler(com.sun.facelets.tag.jsf.ConverterConfig config)
Method Detail

createConverter

protected javax.faces.convert.Converter createConverter(com.sun.facelets.FaceletContext ctx)
                                                 throws javax.faces.FacesException,
                                                        ELException,
                                                        com.sun.facelets.FaceletException
Returns a new NumberConverter


setAttributes

protected void setAttributes(com.sun.facelets.FaceletContext ctx,
                             java.lang.Object obj)
Description copied from class: com.sun.facelets.tag.MetaTagHandler
Invoking/extending this method will cause the results of the created MetaRuleset to auto-wire state to the passed instance.


createMetaRuleset

protected com.sun.facelets.tag.MetaRuleset createMetaRuleset(java.lang.Class type)
Description copied from class: com.sun.facelets.tag.MetaTagHandler
Extend this method in order to add your own rules.