Package javax.faces.webapp
Class UIComponentTag
- java.lang.Object
-
- javax.faces.webapp.UIComponentTagBase
-
- javax.faces.webapp.UIComponentClassicTagBase
-
- 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
public abstract class UIComponentTag extends UIComponentClassicTagBase
Deprecated.replaced byUIComponentELTag
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.
-
-
Field Summary
-
Fields inherited from class javax.faces.webapp.UIComponentClassicTagBase
bodyContent, pageContext, UNIQUE_ID_PREFIX
-
Fields inherited from class javax.faces.webapp.UIComponentTagBase
log
-
-
Constructor Summary
Constructors Constructor Description UIComponentTag()
Deprecated.
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description 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
-
-
-
-
Method Detail
-
release
public void release()
Deprecated.- Specified by:
release
in interfacejavax.servlet.jsp.tagext.Tag
- Overrides:
release
in classUIComponentClassicTagBase
-
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 classUIComponentClassicTagBase
-
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 classUIComponentClassicTagBase
-
hasBinding
protected boolean hasBinding()
Deprecated.- Specified by:
hasBinding
in classUIComponentClassicTagBase
-
-