javax.faces.view.facelets
Class DelegatingMetaTagHandler

java.lang.Object
  extended by javax.faces.view.facelets.TagHandler
      extended by javax.faces.view.facelets.MetaTagHandler
          extended by javax.faces.view.facelets.DelegatingMetaTagHandler
All Implemented Interfaces:
FaceletHandler
Direct Known Subclasses:
ComponentHandler, FaceletsAttachedObjectHandler

public abstract class DelegatingMetaTagHandler
extends MetaTagHandler

Since:
2.0
Version:
$Revision: 696523 $ $Date: 2009-03-15 17:11:43 -0400 (mer., 17 sept. 2008) $
Author:
Simon Lessard (latest modification by $Author: slessard $)

Field Summary
protected  TagHandlerDelegateFactory delegateFactory
           
 
Fields inherited from class javax.faces.view.facelets.TagHandler
nextHandler, tag, tagId
 
Constructor Summary
DelegatingMetaTagHandler(TagConfig config)
           
 
Method Summary
 void apply(FaceletContext ctx, UIComponent parent)
          Process changes on a particular UIComponent
 void applyNextHandler(FaceletContext ctx, UIComponent c)
           
protected  MetaRuleset createMetaRuleset(Class type)
          Extend this method in order to add your own rules.
 TagAttribute getBinding()
           
 Tag getTag()
           
 TagAttribute getTagAttribute(String localName)
           
protected abstract  TagHandlerDelegate getTagHandlerDelegate()
           
 String getTagId()
           
 boolean isDisabled(FaceletContext ctx)
           
 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 javax.faces.view.facelets.TagHandler
getAttribute, getRequiredAttribute, toString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

delegateFactory

protected TagHandlerDelegateFactory delegateFactory
Constructor Detail

DelegatingMetaTagHandler

public DelegatingMetaTagHandler(TagConfig config)
Method Detail

apply

public void apply(FaceletContext ctx,
                  UIComponent parent)
           throws IOException
Process changes on a particular UIComponent

Parameters:
ctx - the current FaceletContext instance for this execution
parent - the parent UIComponent to operate upon
Throws:
IOException

applyNextHandler

public void applyNextHandler(FaceletContext ctx,
                             UIComponent c)
                      throws IOException
Throws:
IOException

getBinding

public TagAttribute getBinding()

getTag

public Tag getTag()

getTagAttribute

public TagAttribute getTagAttribute(String localName)

getTagId

public String getTagId()

isDisabled

public boolean isDisabled(FaceletContext ctx)

setAttributes

public void setAttributes(FaceletContext ctx,
                          Object instance)
Description copied from class: MetaTagHandler
Invoking/extending this method will cause the results of the created MetaRuleset to auto-wire state to the passed instance.

Overrides:
setAttributes in class MetaTagHandler

createMetaRuleset

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

Specified by:
createMetaRuleset in class MetaTagHandler
Returns:
FIXME: EG _ GENERIC

getTagHandlerDelegate

protected abstract TagHandlerDelegate getTagHandlerDelegate()


Copyright © 2011 The Apache Software Foundation. All Rights Reserved.