org.apache.cocoon.faces.taglib
Class VerbatimTag

java.lang.Object
  extended by org.apache.avalon.framework.logger.AbstractLogEnabled
      extended by org.apache.cocoon.taglib.TagSupport
          extended by org.apache.cocoon.taglib.XMLProducerTagSupport
              extended by org.apache.cocoon.faces.taglib.UIComponentTag
                  extended by org.apache.cocoon.faces.taglib.UIComponentBodyTag
                      extended by org.apache.cocoon.faces.taglib.VerbatimTag
All Implemented Interfaces:
Poolable, Recyclable, Component, LogEnabled, BodyTag, IterationTag, Tag, XMLProducerTag, XMLProducer

public class VerbatimTag
extends UIComponentBodyTag

Version:
CVS $Id: VerbatimTag.html 1304258 2012-03-23 10:09:27Z ilgrosso $

Field Summary
 
Fields inherited from class org.apache.cocoon.faces.taglib.UIComponentBodyTag
content
 
Fields inherited from class org.apache.cocoon.taglib.XMLProducerTagSupport
xmlConsumer
 
Fields inherited from class org.apache.cocoon.taglib.TagSupport
objectModel, parameters, parent, resolver
 
Fields inherited from interface org.apache.cocoon.taglib.BodyTag
EVAL_BODY_BUFFERED
 
Fields inherited from interface org.apache.cocoon.taglib.IterationTag
EVAL_BODY_AGAIN
 
Fields inherited from interface org.apache.cocoon.taglib.Tag
EVAL_BODY, EVAL_PAGE, ROLE, SKIP_BODY
 
Constructor Summary
VerbatimTag()
           
 
Method Summary
 int doAfterBody()
          Process body (re)evaluation.
protected  String getComponentType()
           
protected  String getRendererType()
           
 void recycle()
           
protected  void setProperties(javax.faces.component.UIComponent component)
           
 
Methods inherited from class org.apache.cocoon.faces.taglib.UIComponentBodyTag
doInitBody, getDoAfterBody, setBodyContent
 
Methods inherited from class org.apache.cocoon.faces.taglib.UIComponentTag
createValueBinding, doEndTag, doStartTag, encodeBegin, encodeChildren, encodeEnd, evaluate, evaluateBoolean, evaluateDouble, evaluateInteger, evaluateLong, getApplication, getBinding, getComponentInstance, getCreated, getDoEndValue, getDoStartValue, getFacesContext, getId, getRendered, setBinding, setBooleanProperty, setId, setIntegerProperty, setProperty, setRendered, setup
 
Methods inherited from class org.apache.cocoon.taglib.XMLProducerTagSupport
setConsumer
 
Methods inherited from class org.apache.cocoon.taglib.TagSupport
findAncestorWithClass, findAttribute, getParent, setParent
 
Methods inherited from class org.apache.avalon.framework.logger.AbstractLogEnabled
enableLogging, getLogger, setupLogger, setupLogger, setupLogger
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface org.apache.cocoon.taglib.Tag
doEndTag, doStartTag, getParent, setParent, setup
 

Constructor Detail

VerbatimTag

public VerbatimTag()
Method Detail

getComponentType

protected String getComponentType()
Specified by:
getComponentType in class UIComponentTag

getRendererType

protected String getRendererType()
Specified by:
getRendererType in class UIComponentTag

setProperties

protected void setProperties(javax.faces.component.UIComponent component)
Overrides:
setProperties in class UIComponentTag

recycle

public void recycle()
Specified by:
recycle in interface Recyclable
Overrides:
recycle in class UIComponentTag

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
Overrides:
doAfterBody in class UIComponentBodyTag
Returns:
whether additional evaluations of the body are desired
Throws:
SAXException


Copyright © 1999-2010 The Apache Software Foundation. All Rights Reserved.