org.apache.commons.jelly.tags.http
Class HeaderTag

java.lang.Object
  |
  +--org.apache.commons.jelly.TagSupport
        |
        +--org.apache.commons.jelly.tags.http.HeaderTag
All Implemented Interfaces:
org.apache.commons.jelly.Tag

public class HeaderTag
extends org.apache.commons.jelly.TagSupport

A tag to hold request headers

Version:
$Id: HeaderTag.java,v 1.3 2002/07/14 12:38:22 dion Exp $
Author:
dion

Fields inherited from class org.apache.commons.jelly.TagSupport
body, context, hasTrimmed, parent, shouldTrim
 
Constructor Summary
HeaderTag()
          Creates a new instance of HeaderTag
 
Method Summary
 void doTag(org.apache.commons.jelly.XMLOutput xmlOutput)
          Perform the tag functionality.
 java.lang.String getName()
          Getter for property name.
 java.lang.String getValue()
          Getter for property value.
 void setName(java.lang.String name)
          Setter for property name.
 void setValue(java.lang.String value)
          Setter for property value.
 
Methods inherited from class org.apache.commons.jelly.TagSupport
findAncestorWithClass, findAncestorWithClass, findAncestorWithClass, findAncestorWithClass, findAncestorWithClass, findAncestorWithClass, getBody, getBodyText, getBodyText, getContext, getParent, invokeBody, isEscapeText, isTrim, setBody, setContext, setEscapeText, setParent, setTrim, trimBody
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

HeaderTag

public HeaderTag()
Creates a new instance of HeaderTag
Method Detail

doTag

public void doTag(org.apache.commons.jelly.XMLOutput xmlOutput)
           throws org.apache.commons.jelly.JellyTagException
Perform the tag functionality. In this case, simply evaluate the body.
Overrides:
doTag in class org.apache.commons.jelly.TagSupport
Parameters:
xmlOutput - where to send output
Throws:
java.lang.Exception - when an error occurs

getName

public java.lang.String getName()
Getter for property name.
Returns:
Value of property name.

setName

public void setName(java.lang.String name)
Setter for property name.
Parameters:
name - New value of property name.

getValue

public java.lang.String getValue()
Getter for property value.
Returns:
Value of property value.

setValue

public void setValue(java.lang.String value)
Setter for property value.
Parameters:
value - New value of property value.


Copyright © 2002-2004 Apache Software Foundation. All Rights Reserved.