|
Copyright © 2000, 2008, Oracle and/or its affiliates. All rights reserved. | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object javax.servlet.jsp.tagext.TagSupport javax.servlet.jsp.tagext.BodyTagSupport com.bea.p13n.servlets.jsp.BodyTagSupport com.bea.p13n.servlets.jsp.taglib.DivTag
public class DivTag
The tag handler of the personalization jsp extension tag 'div'. The div tag allows user supplied content (not in a DMS) to be turned off based on rules.
Field Summary | |
---|---|
protected String |
id
To store the value of id attribute. |
protected String |
rule
The rule in the rule set that determines whether the content should be displayed. |
Fields inherited from class javax.servlet.jsp.tagext.BodyTagSupport |
---|
bodyContent |
Fields inherited from class javax.servlet.jsp.tagext.TagSupport |
---|
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 | |
---|---|
DivTag()
|
Method Summary | |
---|---|
int |
doAfterBody()
Processes after body. |
void |
doInitBody()
Processes before body. |
int |
doStartTag()
Processes the start tag. |
String |
getId()
The id to assign the results to. |
protected AdviceRequest |
getRequest()
Returns a Classification AdviceRequest object after populating the following fields The current HTTP Request The current HTTP Session The current User A new TimeInstant A new Time A new Date A RULES_RULENAME_TO_FIRE A RULES_FILTER_CLASS_NAME |
String |
getRule()
Get name of the selector rule in the rule set. |
protected boolean |
includeBody()
Runs the advisor to determine the classification. |
void |
release()
|
void |
setId(String anId)
The id to assign the results to. |
void |
setRule(String aSelector)
Set name of the selector rule in the rule set. |
Methods inherited from class com.bea.p13n.servlets.jsp.BodyTagSupport |
---|
createAdviceRequest, createAdvisor |
Methods inherited from class javax.servlet.jsp.tagext.BodyTagSupport |
---|
doEndTag, getBodyContent, getPreviousOut, setBodyContent |
Methods inherited from class javax.servlet.jsp.tagext.TagSupport |
---|
findAncestorWithClass, getParent, getValue, getValues, removeValue, setPageContext, setParent, 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, setPageContext, setParent |
Field Detail |
---|
protected String rule
protected String id
Constructor Detail |
---|
public DivTag()
Method Detail |
---|
public void setRule(String aSelector)
public String getRule()
public void setId(String anId)
setId
in class javax.servlet.jsp.tagext.TagSupport
public String getId()
getId
in class javax.servlet.jsp.tagext.TagSupport
protected boolean includeBody() throws JspException
JspException
protected AdviceRequest getRequest() throws JspException
JspTagException
- If there is a problem creating the request.
JspException
public int doStartTag() throws JspException
doStartTag
in interface javax.servlet.jsp.tagext.Tag
doStartTag
in class javax.servlet.jsp.tagext.BodyTagSupport
JspException
public void doInitBody() throws JspException
doInitBody
in interface javax.servlet.jsp.tagext.BodyTag
doInitBody
in class javax.servlet.jsp.tagext.BodyTagSupport
JspException
public int doAfterBody() throws JspException
doAfterBody
in interface javax.servlet.jsp.tagext.IterationTag
doAfterBody
in class javax.servlet.jsp.tagext.BodyTagSupport
JspException
public void release()
release
in interface javax.servlet.jsp.tagext.Tag
release
in class javax.servlet.jsp.tagext.BodyTagSupport
|
Copyright © 2000, 2008, Oracle and/or its affiliates. All rights reserved. | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |