org.apache.taglibs.xtags.xpath
Class AttributeTag

java.lang.Object
  extended byjavax.servlet.jsp.tagext.TagSupport
      extended byjavax.servlet.jsp.tagext.BodyTagSupport
          extended byorg.apache.taglibs.xtags.xpath.AbstractBodyTag
              extended byorg.apache.taglibs.xtags.xpath.AttributeTag
All Implemented Interfaces:
javax.servlet.jsp.tagext.BodyTag, javax.servlet.jsp.tagext.IterationTag, java.io.Serializable, javax.servlet.jsp.tagext.Tag

public class AttributeTag
extends AbstractBodyTag

Adds an XML attribute to the parent element tag like the <xsl:attribute> tag.

Version:
$Revision$
Author:
James Strachan
See Also:
Serialized Form

Field Summary
 
Fields inherited from class javax.servlet.jsp.tagext.BodyTagSupport
bodyContent
 
Fields inherited from class javax.servlet.jsp.tagext.TagSupport
id, pageContext
 
Fields inherited from interface javax.servlet.jsp.tagext.BodyTag
EVAL_BODY_BUFFERED, EVAL_BODY_TAG
 
Fields inherited from interface javax.servlet.jsp.tagext.IterationTag
EVAL_BODY_AGAIN
 
Fields inherited from interface javax.servlet.jsp.tagext.Tag
EVAL_BODY_INCLUDE, EVAL_PAGE, SKIP_BODY, SKIP_PAGE
 
Constructor Summary
AttributeTag()
           
 
Method Summary
 int doAfterBody()
           
 int doStartTag()
           
protected  ElementTag getElementTag()
           
 java.lang.String getName()
          Getter for property name.
 void release()
           
 void setName(java.lang.String name)
          Setter for property name.
 
Methods inherited from class org.apache.taglibs.xtags.xpath.AbstractBodyTag
handleException, logError, logError, logInfo
 
Methods inherited from class javax.servlet.jsp.tagext.BodyTagSupport
doEndTag, doInitBody, getBodyContent, getPreviousOut, setBodyContent
 
Methods inherited from class javax.servlet.jsp.tagext.TagSupport
findAncestorWithClass, getId, getParent, getValue, getValues, removeValue, setId, setPageContext, setParent, setValue
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface javax.servlet.jsp.tagext.Tag
getParent, setPageContext, setParent
 

Constructor Detail

AttributeTag

public AttributeTag()
Method Detail

release

public void release()

doStartTag

public int doStartTag()
               throws javax.servlet.jsp.JspTagException
Throws:
javax.servlet.jsp.JspTagException

doAfterBody

public int doAfterBody()
                throws javax.servlet.jsp.JspTagException
Throws:
javax.servlet.jsp.JspTagException

getName

public java.lang.String getName()
Getter for property name.

Returns:
AttributeValue of property name.

setName

public void setName(java.lang.String name)
Setter for property name.

Parameters:
name - New attributeValue of property name.

getElementTag

protected ElementTag getElementTag()
                            throws javax.servlet.jsp.JspTagException
Throws:
javax.servlet.jsp.JspTagException


Copyright ? 2000-2004 The Apache Software Foundation. All Rights Reserved.