org.apache.cocoon.taglib.test
Class HelloWorldTag

java.lang.Object
  extended byorg.apache.avalon.framework.logger.AbstractLogEnabled
      extended byorg.apache.cocoon.taglib.TagSupport
          extended byorg.apache.cocoon.taglib.XMLProducerTagSupport
              extended byorg.apache.cocoon.taglib.test.HelloWorldTag
All Implemented Interfaces:
LogEnabled, Poolable, Recyclable, Tag, XMLProducer, XMLProducerTag

public class HelloWorldTag
extends XMLProducerTagSupport

Version:
CVS $Id: HelloWorldTag.java 30941 2004-07-29 19:56:58Z vgritsenko $
Author:
Volker Schmitt

Field Summary
 
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.Tag
EVAL_BODY, EVAL_PAGE, ROLE, SKIP_BODY
 
Constructor Summary
HelloWorldTag()
           
 
Method Summary
 int doStartTag(String namespaceURI, String localName, String qName, Attributes atts)
          Process the start tag for this instance.
 
Methods inherited from class org.apache.cocoon.taglib.XMLProducerTagSupport
recycle, setConsumer
 
Methods inherited from class org.apache.cocoon.taglib.TagSupport
doEndTag, findAncestorWithClass, findAttribute, getParent, setParent, setup
 
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, getParent, setParent, setup
 

Constructor Detail

HelloWorldTag

public HelloWorldTag()
Method Detail

doStartTag

public int doStartTag(String namespaceURI,
                      String localName,
                      String qName,
                      Attributes atts)
               throws SAXException
Description copied from interface: Tag
Process the start tag for this instance.

The doStartTag method assumes that 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


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