|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectjavax.faces.view.facelets.TagHandler
javax.faces.view.facelets.MetaTagHandler
javax.faces.view.facelets.DelegatingMetaTagHandler
public abstract class DelegatingMetaTagHandler
Enable the JSF implementation to provide
the appropriate behavior for the kind of MetaTagHandler
subclass for each kind of element in the view, while providing a
base-class from which those wanting to make a Java language custom
tag handler can inherit. The JSF runtime provides the implementation
of getTagHandlerDelegate()
for the appropriate subclass.
Constructor Summary | |
---|---|
DelegatingMetaTagHandler(TagConfig config)
|
Method Summary | |
---|---|
void |
apply(FaceletContext ctx,
UIComponent parent)
The default implementation simply
calls through to |
void |
applyNextHandler(FaceletContext ctx,
UIComponent c)
Invoke the |
TagAttribute |
getBinding()
|
Tag |
getTag()
|
TagAttribute |
getTagAttribute(String localName)
|
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 |
---|
toString |
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public DelegatingMetaTagHandler(TagConfig config)
Method Detail |
---|
public boolean isDisabled(FaceletContext ctx)
public TagAttribute getBinding()
public Tag getTag()
public String getTagId()
public TagAttribute getTagAttribute(String localName)
public void setAttributes(FaceletContext ctx, Object instance)
MetaTagHandler
public void apply(FaceletContext ctx, UIComponent parent) throws IOException
The default implementation simply
calls through to TagHandlerDelegate.apply(javax.faces.view.facelets.FaceletContext, javax.faces.component.UIComponent)
.
ctx
- the FaceletContext
for this view executionparent
- the parent UIComponent
of the
component represented by this element instance.
IOException
- if unable to load relativePath
public void applyNextHandler(FaceletContext ctx, UIComponent c) throws IOException, FacesException, javax.el.ELException
Invoke the apply()
method on this instance's TagHandler.nextHandler
.
ctx
- the FaceletContext
for this view executionc
- the UIComponent
of the
component represented by this element instance.
IOException
FacesException
javax.el.ELException
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |