org.apache.cocoon.taglib
Interface BodyTag

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

public interface BodyTag
extends IterationTag

The BodyTag interface extends IterationTag.

Version:
CVS $Id: BodyTag.java 46209 2004-09-16 20:10:00Z vgritsenko $

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

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

See Also:
Constant Field Values
Method Detail

setBodyContent

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

Throws:
SAXException

doInitBody

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

Throws:
SAXException


Copyright ? 1999-2005 The Apache Software Foundation. All Rights Reserved.