javax.faces.webapp
Class UIComponentTagBase

java.lang.Object
  extended by 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
Author:
Dennis Byrne

Field Summary
protected static Logger log
           
 
Constructor Summary
UIComponentTagBase()
           
 
Method Summary
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)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

log

protected static Logger log
Constructor Detail

UIComponentTagBase

public UIComponentTagBase()
Method Detail

addChild

protected abstract void addChild(UIComponent child)
Parameters:
child -
See Also:
http://java.sun.com/javaee/5/docs/api/javax/faces/webapp/UIComponentTagBase.html#addChild(javax.faces.component.UIComponent)

addFacet

protected abstract void addFacet(String name)
Parameters:
name -
See Also:
http://java.sun.com/javaee/5/docs/api/javax/faces/webapp/UIComponentTagBase.html#addFacet(java.lang.String)

getComponentInstance

public abstract UIComponent getComponentInstance()
Returns:
See Also:
http://java.sun.com/javaee/5/docs/api/javax/faces/webapp/UIComponentTagBase.html#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.
See Also:
http://java.sun.com/javaee/5/docs/api/javax/faces/webapp/UIComponentTagBase.html#getComponentType()

getCreated

public abstract boolean getCreated()
Returns:
See Also:
http://java.sun.com/javaee/5/docs/api/javax/faces/webapp/UIComponentTagBase.html#getCreated()

getELContext

protected javax.el.ELContext getELContext()
Returns:
See Also:
http://java.sun.com/javaee/5/docs/api/javax/faces/webapp/UIComponentTagBase.html#getELContext()

getFacesContext

protected abstract FacesContext getFacesContext()
Returns:
See Also:
http://java.sun.com/javaee/5/docs/api/javax/faces/webapp/UIComponentTagBase.html#getFacesContext()

getIndexOfNextChildTag

protected abstract int getIndexOfNextChildTag()
Returns:
See Also:
http://java.sun.com/javaee/5/docs/api/javax/faces/webapp/UIComponentTagBase.html#getIndexOfNextChildTag()

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:
See Also:
http://java.sun.com/javaee/5/docs/api/javax/faces/webapp/UIComponentTagBase.html#getRendererType()

setId

public abstract void setId(String id)
Parameters:
id -
See Also:
http://java.sun.com/javaee/5/docs/api/javax/faces/webapp/UIComponentTagBase.html#setId(java.lang.String)


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