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: 1187700 $ $Date: 2011-10-22 07:19:37 -0500 (Sat, 22 Oct 2011) $
Author:
Simon Lessard (latest modification by $Author: bommel $)

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 © 2014 The Apache Software Foundation. All Rights Reserved.