Docjar: A Java Source and Docuemnt Enginecom.*    java.*    javax.*    org.*    all    new    plug-in

Quick Search    Search Deep

com.aendvari.tethys.tag.message
Class MessageBodyTag  view MessageBodyTag download MessageBodyTag.java

java.lang.Object
  extended byjavax.servlet.jsp.tagext.TagSupport
      extended bycom.aendvari.tethys.tag.data.DataTag
          extended bycom.aendvari.tethys.tag.context.ContextTag
              extended bycom.aendvari.tethys.tag.message.MessageBodyTag
All Implemented Interfaces:
com.aendvari.tethys.tag.context.ContextAncestorTag, com.aendvari.tethys.tag.data.DataAncestorTag, javax.servlet.jsp.tagext.IterationTag, javax.servlet.jsp.tagext.JspTag, MessageAncestorTag, java.io.Serializable, javax.servlet.jsp.tagext.Tag

public abstract class MessageBodyTag
extends com.aendvari.tethys.tag.context.ContextTag
implements MessageAncestorTag

A base class for all message tags requiring context.


Field Summary
protected  com.aendvari.tethys.context.message.MessageContext messageContext
          The com.aendvari.tethys.context.Context object for this tag.
protected static java.lang.reflect.Method messageContextMethod
          The method to retrieve the context object from this tag.
protected  java.lang.String path
          Contains the path of the context.
 
Fields inherited from class com.aendvari.tethys.tag.context.ContextTag
context
 
Fields inherited from class com.aendvari.tethys.tag.data.DataTag
dataScope, name
 
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
MessageBodyTag()
           
 
Method Summary
protected  void establishMessageContext()
          Establishes the com.aendvari.tethys.context.Context of this tag.
 com.aendvari.tethys.context.message.MessageContext getMessageContext()
           
 com.aendvari.tethys.context.message.MessageContext getParentMessageContext()
          Returns the parent com.aendvari.tethys.context.Context for this tag.
 java.lang.String getPath()
           
 void release()
          Release all allocated resources.
 void setPath(java.lang.String path)
           
 
Methods inherited from class com.aendvari.tethys.tag.context.ContextTag
determineContext, getContext, getParentContext, setContext
 
Methods inherited from class com.aendvari.tethys.tag.data.DataTag
getDataScope, getName, setDataScope, setName
 
Methods inherited from class javax.servlet.jsp.tagext.TagSupport
doAfterBody, doEndTag, doStartTag, 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
 

Field Detail

path

protected java.lang.String path
Contains the path of the context.


messageContext

protected com.aendvari.tethys.context.message.MessageContext messageContext
The com.aendvari.tethys.context.Context object for this tag.


messageContextMethod

protected static java.lang.reflect.Method messageContextMethod
The method to retrieve the context object from this tag.

Constructor Detail

MessageBodyTag

public MessageBodyTag()
Method Detail

getPath

public java.lang.String getPath()

setPath

public void setPath(java.lang.String path)

getMessageContext

public com.aendvari.tethys.context.message.MessageContext getMessageContext()
Specified by:
getMessageContext in interface MessageAncestorTag

release

public void release()
Release all allocated resources.

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

establishMessageContext

protected void establishMessageContext()
                                throws javax.servlet.jsp.JspTagException
Establishes the com.aendvari.tethys.context.Context of this tag. The internal 'messageContext' is set to com.aendvari.tethys.context.Context object associated with the context string.


getParentMessageContext

public com.aendvari.tethys.context.message.MessageContext getParentMessageContext()
                                                                           throws javax.servlet.jsp.JspTagException
Returns the parent com.aendvari.tethys.context.Context for this tag.