org.apache.myfaces.tobago.facelets.extension
Class TobagoMenuExtensionHandler

java.lang.Object
  extended by javax.faces.view.facelets.TagHandler
      extended by javax.faces.view.facelets.MetaTagHandler
          extended by javax.faces.view.facelets.DelegatingMetaTagHandler
              extended by javax.faces.view.facelets.ComponentHandler
                  extended by org.apache.myfaces.tobago.facelets.extension.TobagoMenuExtensionHandler
All Implemented Interfaces:
javax.faces.view.facelets.FaceletHandler
Direct Known Subclasses:
MenuCheckboxExtensionHandler, MenuRadioExtensionHandler

public abstract class TobagoMenuExtensionHandler
extends javax.faces.view.facelets.ComponentHandler

Base class of the Facelets handlers for the <tx:menuXXX /> extension tags.


Field Summary
 
Fields inherited from class javax.faces.view.facelets.DelegatingMetaTagHandler
delegateFactory
 
Fields inherited from class javax.faces.view.facelets.TagHandler
nextHandler, tag, tagId
 
Constructor Summary
TobagoMenuExtensionHandler(javax.faces.view.facelets.ComponentConfig config)
           
 
Method Summary
 void applyNextHandler(javax.faces.view.facelets.FaceletContext faceletContext, javax.faces.component.UIComponent menuCommand)
           
protected  javax.faces.view.facelets.MetaRuleset createMetaRuleset(Class aClass)
           
protected  javax.faces.view.facelets.MetaRuleset createSubComponentMetaRuleset(Class aClass)
           
protected abstract  String getFacetName()
           
protected abstract  String getSubComponentType()
           
protected abstract  String getSubRendererType()
           
 void onComponentCreated(javax.faces.view.facelets.FaceletContext faceletContext, javax.faces.component.UIComponent menuCommand, javax.faces.component.UIComponent parent)
           
 
Methods inherited from class javax.faces.view.facelets.ComponentHandler
getComponentConfig, getTagHandlerDelegate, isNew, onComponentPopulated
 
Methods inherited from class javax.faces.view.facelets.DelegatingMetaTagHandler
apply, getBinding, getTag, getTagAttribute, getTagId, isDisabled, setAttributes
 
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
 

Constructor Detail

TobagoMenuExtensionHandler

public TobagoMenuExtensionHandler(javax.faces.view.facelets.ComponentConfig config)
Method Detail

getSubComponentType

protected abstract String getSubComponentType()

getSubRendererType

protected abstract String getSubRendererType()

getFacetName

protected abstract String getFacetName()

applyNextHandler

public void applyNextHandler(javax.faces.view.facelets.FaceletContext faceletContext,
                             javax.faces.component.UIComponent menuCommand)
                      throws IOException
Overrides:
applyNextHandler in class javax.faces.view.facelets.DelegatingMetaTagHandler
Throws:
IOException

onComponentCreated

public void onComponentCreated(javax.faces.view.facelets.FaceletContext faceletContext,
                               javax.faces.component.UIComponent menuCommand,
                               javax.faces.component.UIComponent parent)
Overrides:
onComponentCreated in class javax.faces.view.facelets.ComponentHandler

createSubComponentMetaRuleset

protected javax.faces.view.facelets.MetaRuleset createSubComponentMetaRuleset(Class aClass)

createMetaRuleset

protected javax.faces.view.facelets.MetaRuleset createMetaRuleset(Class aClass)
Overrides:
createMetaRuleset in class javax.faces.view.facelets.DelegatingMetaTagHandler


Copyright © 2002-2014 The Apache Software Foundation. All Rights Reserved.