Package javax.faces.webapp
Class UIComponentTagBase
- java.lang.Object
-
- javax.faces.webapp.UIComponentTagBase
-
- All Implemented Interfaces:
javax.servlet.jsp.tagext.JspTag
- Direct Known Subclasses:
UIComponentClassicTagBase
public abstract class UIComponentTagBase extends Object implements javax.servlet.jsp.tagext.JspTag
- Since:
- 1.2
-
-
Constructor Summary
Constructors Constructor Description UIComponentTagBase()
-
Method Summary
All Methods Instance Methods Abstract Methods Concrete Methods Modifier and Type Method Description protected abstract void
addChild(UIComponent child)
protected abstract void
addFacet(String name)
abstract UIComponent
getComponentInstance()
abstract String
getComponentType()
Specify the "component type name" used together with the component's family and the Application object to create a UIComponent instance for this tag.abstract boolean
getCreated()
protected javax.el.ELContext
getELContext()
protected abstract FacesContext
getFacesContext()
protected abstract int
getIndexOfNextChildTag()
abstract String
getRendererType()
Specify the "renderer type name" used together with the current renderKit to get a Renderer instance for the corresponding UIComponent.abstract void
setId(String id)
-
-
-
Field Detail
-
log
protected static final Logger log
-
-
Method Detail
-
addChild
protected abstract void addChild(UIComponent child)
-
addFacet
protected abstract void addFacet(String name)
-
getComponentInstance
public abstract UIComponent getComponentInstance()
-
getComponentType
public abstract String getComponentType()
Specify the "component type name" used together with the component's family and the Application object to create a UIComponent instance for this tag. This method is called by other methods in this class, and is intended to be overridden in subclasses to specify the actual component type to be created.- Returns:
- a registered component type name, never null.
-
getCreated
public abstract boolean getCreated()
- Returns:
-
getELContext
protected javax.el.ELContext getELContext()
- Returns:
-
getFacesContext
protected abstract FacesContext getFacesContext()
- Returns:
-
getIndexOfNextChildTag
protected abstract int getIndexOfNextChildTag()
- Returns:
-
getRendererType
public abstract String getRendererType()
Specify the "renderer type name" used together with the current renderKit to get a Renderer instance for the corresponding UIComponent.A JSP tag can return null here to use the default renderer type string. If non-null is returned, then the UIComponent's setRendererType method will be called passing this value, and this will later affect the type of renderer object returned by UIComponent.getRenderer().
- Returns:
-
setId
public abstract void setId(String id)
- Parameters:
id
-
-
-