|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectjavax.faces.view.facelets.TagHandlerDelegate
org.apache.myfaces.view.facelets.tag.jsf.ComponentTagHandlerDelegate
public class ComponentTagHandlerDelegate
Implementation of the tag logic used in the JSF specification.
ComponentHandler
Constructor Summary | |
---|---|
ComponentTagHandlerDelegate(ComponentHandler delegate)
|
Method Summary | |
---|---|
void |
apply(FaceletContext ctx,
UIComponent parent)
Method handles UIComponent tree creation in accordance with the JSF 1.2 spec. |
protected UIComponent |
createComponent(FaceletContext ctx)
If the binding attribute was specified, use that in conjuction with our componentType String variable to call createComponent on the Application, otherwise just pass the componentType String. |
MetaRuleset |
createMetaRuleset(Class type)
|
protected String |
getFacetName(FaceletContext ctx,
UIComponent parent)
Return the Facet name we are scoped in, otherwise null |
protected String |
getId(FaceletContext ctx)
If the id TagAttribute was specified, get it's value, otherwise generate a unique id from our tagId. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public ComponentTagHandlerDelegate(ComponentHandler delegate)
Method Detail |
---|
public void apply(FaceletContext ctx, UIComponent parent) throws IOException
getId(FaceletContext)
.mark
its children for deletion.createComponent
.
attributes
finalize
for deletion.
apply
in class TagHandlerDelegate
TagException
- if the UIComponent parent is null
IOException
FaceletHandler.apply(javax.faces.view.facelets.FaceletContext,
javax.faces.component.UIComponent)
protected final String getFacetName(FaceletContext ctx, UIComponent parent)
ctx
-
protected UIComponent createComponent(FaceletContext ctx)
ctx
- FaceletContext to use in creating a component
Application.createComponent(javax.faces.el.ValueBinding, javax.faces.context.FacesContext, java.lang.String)
,
Application.createComponent(java.lang.String)
protected String getId(FaceletContext ctx)
ctx
- FaceletContext to use
TagAttribute.getValue(FaceletContext)
public MetaRuleset createMetaRuleset(Class type)
createMetaRuleset
in class TagHandlerDelegate
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |