com.sun.facelets.tag
Class MetaTagHandler

java.lang.Object
  extended by com.sun.facelets.tag.TagHandler
      extended by com.sun.facelets.tag.MetaTagHandler
All Implemented Interfaces:
FaceletHandler
Direct Known Subclasses:
ComponentHandler, ConvertHandler, ValidateHandler

public abstract class MetaTagHandler
extends TagHandler

A base tag for wiring state to an object instance based on rules populated at the time of creating a MetaRuleset.

Version:
$Id: MetaTagHandler.java,v 1.3.2.1 2009/08/19 21:43:58 edburns Exp $
Author:
Jacob Hookom

Field Summary
 
Fields inherited from class com.sun.facelets.tag.TagHandler
nextHandler, tag, tagId
 
Constructor Summary
MetaTagHandler(TagConfig config)
           
 
Method Summary
protected  MetaRuleset createMetaRuleset(Class type)
          Extend this method in order to add your own rules.
protected  MetaRuleset recreateMetaRuleset(Class type)
          special version of createMetaRuleset(Class) to be used for recreation of the ValueExpression's only in case the bindingsState is not stored to the viewState.
 void recreateValueExpressions(FaceletContext ctx, UIComponent instance)
           
protected  void setAttributes(FaceletContext ctx, Object instance)
          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.TagHandler
findNextByType, getAttribute, getRequiredAttribute, toString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 
Methods inherited from interface com.sun.facelets.FaceletHandler
apply
 

Constructor Detail

MetaTagHandler

public MetaTagHandler(TagConfig config)
Method Detail

createMetaRuleset

protected MetaRuleset createMetaRuleset(Class type)
Extend this method in order to add your own rules.

Parameters:
type -
Returns:

recreateMetaRuleset

protected MetaRuleset recreateMetaRuleset(Class type)
special version of createMetaRuleset(Class) to be used for recreation of the ValueExpression's only in case the bindingsState is not stored to the viewState.

Parameters:
type -
Returns:

setAttributes

protected void setAttributes(FaceletContext ctx,
                             Object instance)
Invoking/extending this method will cause the results of the created MetaRuleset to auto-wire state to the passed instance.

Parameters:
ctx -
instance -

recreateValueExpressions

public void recreateValueExpressions(FaceletContext ctx,
                                     UIComponent instance)


Copyright © 2005 All Rights Reserved.