BaseTag Class

com.bea.netuix.client.jsp.clienttaglib
BaseTag Class

public abstract class BaseTag

    extends TagSupport

Base class for all client-awareness content filtering tags.


Hierarchy
Object
  TagSupport
    BaseTag
All Implemented Interfaces

IterationTag, Serializable, Tag
Direct Known Subclasses

ClientTag, DefaultTag, NotClientTag, NotDefaultTag, NotRecognizedTag, RecognizedTag

Field Summary

protected String
client
The client list (comma delimited) this tag should match.
protected static Debug
debug
Debug
   
Fields from  javax.servlet.jsp.tagext.TagSupport
id, pageContext
 
Fields from interface javax.servlet.jsp.tagext.IterationTag
EVAL_BODY_AGAIN
 
Fields from interface javax.servlet.jsp.tagext.Tag
EVAL_BODY_INCLUDE, EVAL_PAGE, SKIP_BODY, SKIP_PAGE
 

Constructor Summary

BaseTag()

 

Method Summary

public String
getClient()
Gets the client classification list for this tag (NOT the effective client classification).
public boolean
isDefault()
Method for determining if client classification of the current request is "default".
public boolean
isMatch()
Method for determining tag client classification / current request's client classification match.
public boolean
isRecognized()
Method for determining if client classification of the current request is recognized.
public void
release()
Releases the tag.
public void
setClient(String c)
Sets the client classification list for this tag (NOT the effective client classification).
 
Methods from  javax.servlet.jsp.tagext.TagSupport
doAfterBody, doEndTag, doStartTag, findAncestorWithClass, getId, getParent, getValue, getValues, removeValue, setId, setPageContext, setParent, setValue
 
Methods from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
   
Methods from interface javax.servlet.jsp.tagext.IterationTag
doAfterBody
 
Methods from interface javax.servlet.jsp.tagext.Tag
doEndTag, doStartTag, getParent, release, setPageContext, setParent
 

Field Detail

client

protected String client
The client list (comma delimited) this tag should match.


debug

protected static Debug debug

 

Constructor Detail

BaseTag

public BaseTag()
 

Method Detail

getClient() Method

public String getClient()
Gets the client classification list for this tag (NOT the effective client classification).


isDefault() Method

public boolean isDefault()
Method for determining if client classification of the current request is "default".

Returns

true if the client classification of the request is "default".

isMatch() Method

public boolean isMatch()
Method for determining tag client classification / current request's client classification match. If a client classification referenced in the tag matches with the actual client classification of the current request, it is a match.

Returns

true if the client classification of the current request is contained in the tag's list of client classifications.

isRecognized() Method

public boolean isRecognized()
Method for determining if client classification of the current request is recognized. Recognized means that the user agent is explicitly mapped to a client classification in the repository.

Returns

true if the client classification of the request is recognized.

release() Method

public void release()
Releases the tag.

Overrides
TagSupport.release()

setClient(String) Method

public void setClient(String c)
Sets the client classification list for this tag (NOT the effective client classification).