This project has retired. For details please refer to its
Attic page .
UIComponentTag (Cocoon API 2.1.12-dev [March 20 2012])
org.apache.cocoon.faces.taglib
Class UIComponentTag
java.lang.Object
org.apache.avalon.framework.logger.AbstractLogEnabled
org.apache.cocoon.taglib.TagSupport
org.apache.cocoon.taglib.XMLProducerTagSupport
org.apache.cocoon.faces.taglib.UIComponentTag
All Implemented Interfaces: Poolable , Recyclable , Component , LogEnabled , Tag , XMLProducerTag , XMLProducer
Direct Known Subclasses: AreaTag , ColumnTag , CommandButtonTag , CommandLinkTag , DataTableTag , FormTag , GraphicImageTag , InputHiddenTag , MapTag , MessagesTag , MessageTag , OutputLabelTag , OutputLinkTag , OutputTextTag , PanelGridTag , PanelGroupTag , ParameterTag , SelectBooleanCheckboxTag , SelectItemsTag , SelectItemTag , SelectManyCheckboxTag , SelectManyListboxTag , SelectManyMenuTag , SelectOneListboxTag , SelectOneMenuTag , SelectOneRadioTag , SubviewTag , UIComponentBodyTag , ViewTag
public abstract class UIComponentTag extends XMLProducerTagSupport
Version:
$Id: UIComponentTag.html 1304258 2012-03-23 10:09:27Z ilgrosso $
Method Summary
protected javax.faces.el.ValueBinding
createValueBinding (String valueRef)
int
doEndTag (String namespaceURI,
String localName,
String qName)
Process the end tag for this instance.
int
doStartTag (String namespaceURI,
String localName,
String qName,
Attributes attrs)
Process the start tag for this instance.
protected void
encodeBegin ()
protected void
encodeChildren ()
protected void
encodeEnd ()
protected Object
evaluate (String value)
protected boolean
evaluateBoolean (String value)
protected double
evaluateDouble (String value)
protected int
evaluateInteger (String value)
protected long
evaluateLong (String value)
protected javax.faces.application.Application
getApplication ()
String
getBinding ()
protected javax.faces.component.UIComponent
getComponentInstance ()
protected abstract String
getComponentType ()
protected boolean
getCreated ()
protected int
getDoEndValue ()
protected int
getDoStartValue ()
protected javax.faces.context.FacesContext
getFacesContext ()
String
getId ()
String
getRendered ()
protected abstract String
getRendererType ()
void
recycle ()
void
setBinding (String binding)
protected void
setBooleanProperty (javax.faces.component.UIComponent component,
String name,
String value)
void
setId (String id)
protected void
setIntegerProperty (javax.faces.component.UIComponent component,
String name,
String value)
protected void
setProperties (javax.faces.component.UIComponent component)
protected void
setProperty (javax.faces.component.UIComponent component,
String name,
String value)
void
setRendered (String rendered)
void
setup (SourceResolver resolver,
Map objectModel,
Parameters parameters)
Set the SourceResolver
, objectModel Map
and sitemap Parameters
used to process the request.
Methods inherited from class java.lang.Object
clone , equals , finalize , getClass , hashCode , notify , notifyAll , toString , wait , wait , wait
UIComponentTag
public UIComponentTag ()
getFacesContext
protected final javax.faces.context.FacesContext getFacesContext ()
getApplication
protected final javax.faces.application.Application getApplication ()
getComponentInstance
protected final javax.faces.component.UIComponent getComponentInstance ()
getCreated
protected final boolean getCreated ()
createValueBinding
protected final javax.faces.el.ValueBinding createValueBinding (String valueRef)
evaluate
protected final Object evaluate (String value)
evaluateBoolean
protected final boolean evaluateBoolean (String value)
evaluateInteger
protected final int evaluateInteger (String value)
evaluateLong
protected final long evaluateLong (String value)
evaluateDouble
protected final double evaluateDouble (String value)
setup
public void setup (SourceResolver resolver,
Map objectModel,
Parameters parameters)
throws SAXException ,
IOException
Description copied from class: TagSupport
Set the SourceResolver
, objectModel Map
and sitemap Parameters
used to process the request.
Specified by: setup
in interface Tag
Overrides: setup
in class TagSupport
Throws:
SAXException
IOException
doStartTag
public int doStartTag (String namespaceURI,
String localName,
String qName,
Attributes attrs)
throws SAXException
Description copied from class: TagSupport
Process the start tag for this instance.
The doStartTag method assumes that pageContext and
parent have been set. It also assumes that any properties exposed as
attributes have been set too. When this method is invoked, the body
has not yet been evaluated.
Specified by: doStartTag
in interface Tag
Overrides: doStartTag
in class TagSupport
Returns: EVAL_BODY or SKIP_BODY.
Throws:
SAXException
doEndTag
public int doEndTag (String namespaceURI,
String localName,
String qName)
throws SAXException
Description copied from class: TagSupport
Process the end tag for this instance.
Specified by: doEndTag
in interface Tag
Overrides: doEndTag
in class TagSupport
Returns: EVAL_PAGE.
Throws:
SAXException
recycle
public void recycle ()
Specified by: recycle
in interface Recyclable
Overrides: recycle
in class XMLProducerTagSupport
getComponentType
protected abstract String getComponentType ()
getRendererType
protected abstract String getRendererType ()
getDoEndValue
protected int getDoEndValue ()
getDoStartValue
protected int getDoStartValue ()
encodeBegin
protected void encodeBegin ()
throws IOException
Throws:
IOException
encodeChildren
protected void encodeChildren ()
throws IOException
Throws:
IOException
encodeEnd
protected void encodeEnd ()
throws IOException
Throws:
IOException
setProperties
protected void setProperties (javax.faces.component.UIComponent component)
setProperty
protected final void setProperty (javax.faces.component.UIComponent component,
String name,
String value)
setBooleanProperty
protected final void setBooleanProperty (javax.faces.component.UIComponent component,
String name,
String value)
setIntegerProperty
protected final void setIntegerProperty (javax.faces.component.UIComponent component,
String name,
String value)
getId
public String getId ()
setId
public void setId (String id)
getBinding
public String getBinding ()
setBinding
public void setBinding (String binding)
getRendered
public String getRendered ()
setRendered
public void setRendered (String rendered)
Copyright © 1999-2010 The Apache Software Foundation. All Rights Reserved.