org.apache.myfaces.view.facelets.tag.jsf.core
Class AttributeHandler
java.lang.Object
javax.faces.view.facelets.TagHandler
org.apache.myfaces.view.facelets.tag.jsf.core.AttributeHandler
- All Implemented Interfaces:
- javax.faces.view.facelets.AttributeHandler, javax.faces.view.facelets.FaceletHandler
@JSFFaceletTag(name="f:attribute",
bodyContent="empty",
tagClass="org.apache.myfaces.taglib.core.AttributeTag")
public final class AttributeHandler
- extends javax.faces.view.facelets.TagHandler
- implements javax.faces.view.facelets.AttributeHandler
Sets the specified name and attribute on the parent UIComponent. If the "value" specified is not a literal, it will
instead set the ValueExpression on the UIComponent.
See tag documentation.
- Version:
- $Id: AttributeHandler.java,v 1.3 2008/07/13 19:01:44 rlubke Exp $
- Author:
- Jacob Hookom
- See Also:
UIComponent.getAttributes()
,
UIComponent.setValueExpression(java.lang.String, javax.el.ValueExpression)
Fields inherited from class javax.faces.view.facelets.TagHandler |
nextHandler, tag, tagId |
Constructor Summary |
AttributeHandler(javax.faces.view.facelets.TagConfig config)
|
Method Summary |
void |
apply(javax.faces.view.facelets.FaceletContext ctx,
javax.faces.component.UIComponent parent)
|
java.lang.String |
getAttributeName(javax.faces.view.facelets.FaceletContext ctx)
|
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 |
AttributeHandler
public AttributeHandler(javax.faces.view.facelets.TagConfig config)
- Parameters:
config
-
apply
public void apply(javax.faces.view.facelets.FaceletContext ctx,
javax.faces.component.UIComponent parent)
throws java.io.IOException,
javax.faces.FacesException,
javax.faces.view.facelets.FaceletException,
javax.el.ELException
- Specified by:
apply
in interface javax.faces.view.facelets.FaceletHandler
- Throws:
java.io.IOException
javax.faces.FacesException
javax.faces.view.facelets.FaceletException
javax.el.ELException
getAttributeName
public java.lang.String getAttributeName(javax.faces.view.facelets.FaceletContext ctx)
- Specified by:
getAttributeName
in interface javax.faces.view.facelets.AttributeHandler
Copyright © 2011 The Apache Software Foundation. All Rights Reserved.