Hyperic HQ Plugin API v. 4.4.0.2

org.hyperic.hq.ui.taglib
Class OwnerTag

java.lang.Object
  extended by javax.servlet.jsp.tagext.TagSupport
      extended by org.hyperic.hq.ui.taglib.VarSetterBaseTag
          extended by org.hyperic.hq.ui.taglib.OwnerTag
All Implemented Interfaces:
java.io.Serializable, javax.servlet.jsp.tagext.IterationTag, javax.servlet.jsp.tagext.JspTag, javax.servlet.jsp.tagext.Tag

public class OwnerTag
extends VarSetterBaseTag

A JSP tag that formats and prints the "owner information" commonly displayed as part of the attributes of a resource.

See Also:
Serialized Form

Field Summary
 
Fields inherited from class javax.servlet.jsp.tagext.TagSupport
id, pageContext
 
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
OwnerTag()
           
 
Method Summary
 int doStartTag()
          Process the tag, generating and printing the owner information.
 java.lang.Object getOwner()
           
 void release()
          Release tag state.
 void setOwner(java.lang.Object owner)
          Set the name of the attribute in page, request, session or application scope that holds the OperationOwner object.
 
Methods inherited from class org.hyperic.hq.ui.taglib.VarSetterBaseTag
getVar, setScope, setScopedVariable, setVar
 
Methods inherited from class javax.servlet.jsp.tagext.TagSupport
doAfterBody, doEndTag, 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
 

Constructor Detail

OwnerTag

public OwnerTag()
Method Detail

setOwner

public void setOwner(java.lang.Object owner)
Set the name of the attribute in page, request, session or application scope that holds the OperationOwner object.

Parameters:
owner - the name of the scoped attribute

getOwner

public java.lang.Object getOwner()

doStartTag

public final int doStartTag()
                     throws javax.servlet.jsp.JspException
Process the tag, generating and printing the owner information.

Specified by:
doStartTag in interface javax.servlet.jsp.tagext.Tag
Overrides:
doStartTag in class javax.servlet.jsp.tagext.TagSupport
Throws:
javax.servlet.jsp.JspException - if the scripting variable can not be found or if there is an error processing the tag

release

public void release()
Release tag state.

Specified by:
release in interface javax.servlet.jsp.tagext.Tag
Overrides:
release in class VarSetterBaseTag

Hyperic HQ Plugin API v. 4.4.0.2

Copyright © 2004-2006 Hyperic, Inc. support@hyperic.net, All Rights Reserved.