javax.faces.webapp
Class UIComponentTag

java.lang.Object
  extended by javax.faces.webapp.UIComponentTagBase
      extended by javax.faces.webapp.UIComponentClassicTagBase
          extended by javax.faces.webapp.UIComponentTag
All Implemented Interfaces:
javax.servlet.jsp.tagext.BodyTag, javax.servlet.jsp.tagext.IterationTag, javax.servlet.jsp.tagext.JspIdConsumer, javax.servlet.jsp.tagext.JspTag, javax.servlet.jsp.tagext.Tag
Direct Known Subclasses:
UIComponentBodyTag

Deprecated. replaced by UIComponentELTag

public abstract class UIComponentTag
extends UIComponentClassicTagBase

Base class for all JSP tags that represent a JSF UIComponent.

Disclaimer: The official definition for the behaviour of this class is the JSF specification but for legal reasons the specification cannot be replicated here. Any javadoc present on this class therefore describes the current implementation rather than the officially required behaviour, though it is believed that this class does comply with the specification. see Javadoc of JSF Specification for more.

Version:
$Revision: 676298 $ $Date: 2008-07-13 05:31:48 -0500 (Sun, 13 Jul 2008) $
Author:
Manfred Geiler (latest modification by $Author: skitching $), Bruno Aranda

Field Summary
 
Fields inherited from class javax.faces.webapp.UIComponentClassicTagBase
bodyContent, pageContext, UNIQUE_ID_PREFIX
 
Fields inherited from class javax.faces.webapp.UIComponentTagBase
log
 
Fields inherited from interface javax.servlet.jsp.tagext.BodyTag
EVAL_BODY_BUFFERED, EVAL_BODY_TAG
 
Fields inherited from interface javax.servlet.jsp.tagext.IterationTag
EVAL_BODY_AGAIN
 
Fields inherited from interface javax.servlet.jsp.tagext.Tag
EVAL_BODY_INCLUDE, EVAL_PAGE, SKIP_BODY, SKIP_PAGE
 
Constructor Summary
UIComponentTag()
          Deprecated.  
 
Method Summary
protected  UIComponent createComponent(FacesContext context, String id)
          Deprecated. Create a UIComponent.
static UIComponentTag getParentUIComponentTag(javax.servlet.jsp.PageContext pageContext)
          Deprecated.  
protected  boolean hasBinding()
          Deprecated.  
protected  boolean isSuppressed()
          Deprecated. Determine whether this component renders itself.
static boolean isValueReference(String value)
          Deprecated. Return true if the specified string contains an EL expression.
 void release()
          Deprecated.  
 void setBinding(String binding)
          Deprecated. Setter for common JSF xml attribute "binding".
protected  void setProperties(UIComponent component)
          Deprecated.  
 void setRendered(String rendered)
          Deprecated. Setter for common JSF xml attribute "rendered".
 
Methods inherited from class javax.faces.webapp.UIComponentClassicTagBase
addChild, addFacet, addVerbatimAfterComponent, addVerbatimBeforeComponent, createVerbatimComponent, createVerbatimComponentFromBodyContent, doAfterBody, doEndTag, doInitBody, doStartTag, encodeBegin, encodeChildren, encodeEnd, findComponent, getBodyContent, getComponentInstance, getCreated, getCreatedComponents, getDoAfterBodyValue, getDoEndValue, getDoStartValue, getFacesContext, getFacesJspId, getFacetName, getId, getIndexOfNextChildTag, getJspId, getParent, getParentUIComponentClassicTagBase, getPreviousOut, setBodyContent, setId, setJspId, setPageContext, setParent, setupResponseWriter
 
Methods inherited from class javax.faces.webapp.UIComponentTagBase
getComponentType, getELContext, getRendererType
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

UIComponentTag

public UIComponentTag()
Deprecated. 
Method Detail

release

public void release()
Deprecated. 
Specified by:
release in interface javax.servlet.jsp.tagext.Tag
Overrides:
release in class UIComponentClassicTagBase

setBinding

public void setBinding(String binding)
                throws javax.servlet.jsp.JspException
Deprecated. 
Setter for common JSF xml attribute "binding".

Throws:
javax.servlet.jsp.JspException

setRendered

public void setRendered(String rendered)
Deprecated. 
Setter for common JSF xml attribute "rendered".


getParentUIComponentTag

public static UIComponentTag getParentUIComponentTag(javax.servlet.jsp.PageContext pageContext)
Deprecated. 

Return the nearest JSF tag that encloses this tag.


isValueReference

public static boolean isValueReference(String value)
Deprecated. 
Return true if the specified string contains an EL expression.

UIComponent properties are often required to be value-binding expressions; this method allows code to check whether that is the case or not.


createComponent

protected UIComponent createComponent(FacesContext context,
                                      String id)
Deprecated. 
Create a UIComponent. Abstract method getComponentType is invoked to determine the actual type name for the component to be created. If this tag has a "binding" attribute, then that is immediately evaluated to store the created component in the specified property.

Specified by:
createComponent in class UIComponentClassicTagBase

isSuppressed

protected boolean isSuppressed()
Deprecated. 
Determine whether this component renders itself. A component is "suppressed" when it is either not rendered, or when it is rendered by its parent component at a time of the parent's choosing.


setProperties

protected void setProperties(UIComponent component)
Deprecated. 
Specified by:
setProperties in class UIComponentClassicTagBase

hasBinding

protected boolean hasBinding()
Deprecated. 
Specified by:
hasBinding in class UIComponentClassicTagBase


Copyright © 2012 The Apache Software Foundation. All Rights Reserved.