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 ConvertDateTimeHandler  view ConvertDateTimeHandler download ConvertDateTimeHandler.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.ConvertDateTimeHandler
All Implemented Interfaces:
com.sun.facelets.FaceletHandler

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

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

See tag documentation.

Version:
$Id: ConvertDateTimeHandler.java,v 1.4 2005/11/30 23:36:38 jhook Exp $

Field Summary
private  com.sun.facelets.tag.TagAttribute dateStyle
           
private  com.sun.facelets.tag.TagAttribute locale
           
private  com.sun.facelets.tag.TagAttribute pattern
           
private  com.sun.facelets.tag.TagAttribute timeStyle
           
private  com.sun.facelets.tag.TagAttribute timeZone
           
private  com.sun.facelets.tag.TagAttribute type
           
 
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
ConvertDateTimeHandler(com.sun.facelets.tag.jsf.ConverterConfig config)
           
 
Method Summary
protected  javax.faces.convert.Converter createConverter(com.sun.facelets.FaceletContext ctx)
          Returns a new DateTimeConverter
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)
          Implements tag spec, see taglib documentation.
 
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

dateStyle

private final com.sun.facelets.tag.TagAttribute dateStyle

locale

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

pattern

private final com.sun.facelets.tag.TagAttribute pattern

timeStyle

private final com.sun.facelets.tag.TagAttribute timeStyle

timeZone

private final com.sun.facelets.tag.TagAttribute timeZone

type

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

ConvertDateTimeHandler

public ConvertDateTimeHandler(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 DateTimeConverter


setAttributes

protected void setAttributes(com.sun.facelets.FaceletContext ctx,
                             java.lang.Object obj)
Implements tag spec, see taglib documentation.


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.