com.bea.netuix.client.jsp.clienttaglib
Class BaseTag
java.lang.Object
|
+--javax.servlet.jsp.tagext.TagSupport
|
+--com.bea.netuix.client.jsp.clienttaglib.BaseTag
- All Implemented Interfaces:
- IterationTag, Serializable, Tag
- Direct Known Subclasses:
- ClientTag, DefaultTag, NotClientTag, NotDefaultTag, NotRecognizedTag, RecognizedTag
- public abstract class BaseTag
- extends TagSupport
Base class for all client-awareness content filtering tags.
- See Also:
- Serialized Form
Field Summary |
protected String |
client
The client list (comma delimited) this tag should match. |
protected static Debug |
debug
|
Method Summary |
String |
getClient()
|
boolean |
isDefault()
Method for determining if client classification of the current request is "default". |
boolean |
isMatch()
Method for determining tag client classification / current request's client
classification match. |
boolean |
isRecognized()
Method for determining if client classification of the current request is recognized.
|
void |
release()
Releases the tag. |
void |
setClient(String c)
|
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 |
debug
protected static Debug debug
client
protected String client
- The client list (comma delimited) this tag should match.
BaseTag
public BaseTag()
release
public void release()
- Releases the tag.
- Specified by:
release
in interface Tag
- Overrides:
release
in class TagSupport
getClient
public String getClient()
setClient
public void setClient(String c)
isMatch
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.
isDefault
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".
isRecognized
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.
Copyright © 2003 BEA Systems, Inc. All Rights Reserved