org.apache.cocoon.faces.taglib
Class UIComponentBodyTag
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
org.apache.cocoon.faces.taglib.UIComponentBodyTag
- All Implemented Interfaces:
- Poolable, Recyclable, Component, LogEnabled, BodyTag, IterationTag, Tag, XMLProducerTag, XMLProducer
- Direct Known Subclasses:
- VerbatimTag
public abstract class UIComponentBodyTag
- extends UIComponentTag
- implements BodyTag
- Version:
- CVS $Id: UIComponentBodyTag.html 1304258 2012-03-23 10:09:27Z ilgrosso $
Method Summary |
int |
doAfterBody()
Process body (re)evaluation. |
void |
doInitBody()
Invoked after setBodyContent only when doStartTag returns EVAL_BODY_BUFFERED
and tag has content |
int |
getDoAfterBody()
|
void |
setBodyContent(BodyContent bodyContent)
Invoked only when doStartTag returns EVAL_BODY_BUFFERED and tag has content |
Methods inherited from class org.apache.cocoon.faces.taglib.UIComponentTag |
createValueBinding, doEndTag, doStartTag, encodeBegin, encodeChildren, encodeEnd, evaluate, evaluateBoolean, evaluateDouble, evaluateInteger, evaluateLong, getApplication, getBinding, getComponentInstance, getComponentType, getCreated, getDoEndValue, getDoStartValue, getFacesContext, getId, getRendered, getRendererType, recycle, setBinding, setBooleanProperty, setId, setIntegerProperty, setProperties, setProperty, setRendered, setup |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
content
protected BodyContent content
UIComponentBodyTag
public UIComponentBodyTag()
doAfterBody
public int doAfterBody()
throws SAXException
- Description copied from interface:
IterationTag
- Process body (re)evaluation. This method is invoked by the
Taglib implementation object after every evaluation of
the body into the BodyEvaluation object. The method is
not invoked if there is no body evaluation.
If doAfterBody returns EVAL_BODY_AGAIN, a new evaluation of the
body will happen (followed by another invocation of doAfterBody).
If doAfterBody returns SKIP_BODY no more body evaluations will
occur and then doEndTag will be invoked.
The method re-invocations may be lead to different actions because
there might have been some changes to shared state, or because
of external computation.
- Specified by:
doAfterBody
in interface IterationTag
- Returns:
- whether additional evaluations of the body are desired
- Throws:
SAXException
getDoAfterBody
public int getDoAfterBody()
doInitBody
public void doInitBody()
throws SAXException
- Description copied from interface:
BodyTag
- Invoked after setBodyContent only when doStartTag returns EVAL_BODY_BUFFERED
and tag has content
- Specified by:
doInitBody
in interface BodyTag
- Throws:
SAXException
setBodyContent
public void setBodyContent(BodyContent bodyContent)
throws SAXException
- Description copied from interface:
BodyTag
- Invoked only when doStartTag returns EVAL_BODY_BUFFERED and tag has content
- Specified by:
setBodyContent
in interface BodyTag
- Throws:
SAXException
Copyright © 1999-2010 The Apache Software Foundation. All Rights Reserved.