org.apache.cocoon.taglib
Interface BodyTag

All Superinterfaces:
Component, IterationTag, Tag
All Known Implementing Classes:
UIComponentBodyTag, VerbatimTag

public interface BodyTag
extends IterationTag

The BodyTag interface extends IterationTag.

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

Field Summary
static int EVAL_BODY_BUFFERED
          Evaluate and buffer body content.
 
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
 
Method Summary
 void doInitBody()
          Invoked after setBodyContent only when doStartTag returns EVAL_BODY_BUFFERED and tag has content
 void setBodyContent(BodyContent bodyContent)
          Invoked only when doStartTag returns EVAL_BODY_BUFFERED and tag has content
 
Methods inherited from interface org.apache.cocoon.taglib.IterationTag
doAfterBody
 
Methods inherited from interface org.apache.cocoon.taglib.Tag
doEndTag, doStartTag, getParent, setParent, setup
 

Field Detail

EVAL_BODY_BUFFERED

static final int EVAL_BODY_BUFFERED
Evaluate and buffer body content. Valid return value for doStartTag.

See Also:
Constant Field Values
Method Detail

setBodyContent

void setBodyContent(BodyContent bodyContent)
                    throws SAXException
Invoked only when doStartTag returns EVAL_BODY_BUFFERED and tag has content

Throws:
SAXException

doInitBody

void doInitBody()
                throws SAXException
Invoked after setBodyContent only when doStartTag returns EVAL_BODY_BUFFERED and tag has content

Throws:
SAXException


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