iSeries WebFacing
v5.0

com.ibm.etools.iseries.webfacing.tags.impl
Class WFLogger

java.lang.Object
  |
  +--javax.servlet.jsp.tagext.TagSupport
        |
        +--javax.servlet.jsp.tagext.BodyTagSupport
              |
              +--com.ibm.etools.iseries.webfacing.tags.impl.WFBodyTagSupport
                    |
                    +--com.ibm.etools.iseries.webfacing.tags.impl.WFLogger
All Implemented Interfaces:
javax.servlet.jsp.tagext.BodyTag, javax.servlet.jsp.tagext.IterationTag, Serializable, javax.servlet.jsp.tagext.Tag

public class WFLogger
extends WFBodyTagSupport

See Also:
Serialized Form

Field Summary
static String Copyright
           
 
Fields inherited from class com.ibm.etools.iseries.webfacing.tags.impl.WFBodyTagSupport
context, MT, name, parent, record
 
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
WFLogger()
           
 
Method Summary
 int doStartTag()
          The doStartTag() method will log the message to the WebFacing trace facility then complete.
 String getMsg()
          Returns the msg.
 int getSev()
          Returns the sev.
 String getType()
          Returns the type.
 void release()
          Reset the tag to it's initial state.
 void setMsg(String msg)
          Sets the msg.
 void setSev(int sev)
          Sets the sev.
 void setSev(String sev)
          Sets the sev.
 void setType(String type)
          Sets the type.
 
Methods inherited from class com.ibm.etools.iseries.webfacing.tags.impl.WFBodyTagSupport
getLogger, logMsg, setPageContext, setParent
 
Methods inherited from class javax.servlet.jsp.tagext.BodyTagSupport
doAfterBody, doEndTag, doInitBody, getBodyContent, getPreviousOut, setBodyContent
 
Methods inherited from class javax.servlet.jsp.tagext.TagSupport
findAncestorWithClass, getId, getParent, getValue, getValues, removeValue, setId, 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
 

Field Detail

Copyright

public static final String Copyright
Constructor Detail

WFLogger

public WFLogger()
Method Detail

doStartTag

public int doStartTag()
The doStartTag() method will log the message to the WebFacing trace facility then complete.
Overrides:
doStartTag in class javax.servlet.jsp.tagext.BodyTagSupport

release

public void release()
Reset the tag to it's initial state.
Overrides:
release in class WFBodyTagSupport

getMsg

public String getMsg()
Returns the msg.
Returns:
String

getSev

public int getSev()
Returns the sev.
Returns:
int

getType

public String getType()
Returns the type.
Returns:
String

setMsg

public void setMsg(String msg)
Sets the msg.
Parameters:
msg - The msg to set

setSev

public void setSev(String sev)
Sets the sev.
Parameters:
sev - The sev to set

setSev

public void setSev(int sev)
Sets the sev.
Parameters:
sev - The sev to set

setType

public void setType(String type)
Sets the type.
Parameters:
type - The type to set

iSeries WebFacing
v5.0

Copyright © 2003 IBM Corp. All Rights Reserved.

Note: This documentation is for part of an interim API that is still under development and expected to change significantly before reaching stability. It is being made available at this early stage to solicit feedback from pioneering adopters on the understanding that any code that uses this API will almost certainly be broken (repeatedly) as the API evolves.