|
DJDoc v.1.0.0b-1 | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectjavax.servlet.jsp.tagext.SimpleTagSupport
net.sf.djdoc.servlet.BitAndTag
public class BitAndTag
The BitAndTag
is a custom JSP tag class which implements
support for the bitwise and-operation that is unfortunately not part of the
EL functionality. This tag is used on the overview-frame and package-frame
pages for extracting the individual user view preference settings from the
viewPref
bit field.
Constructor Summary | |
---|---|
BitAndTag()
|
Method Summary | |
---|---|
void |
doTag()
This method performs the actual AND computation. |
void |
setValue1(java.lang.String value1)
The value of the first number to be ANDed. |
void |
setValue2(java.lang.String value2)
The value of the second number to be ANDed. |
void |
setVar(java.lang.String var)
Setter method for the name of the variable to which the result should be assigned. |
Methods inherited from class javax.servlet.jsp.tagext.SimpleTagSupport |
---|
findAncestorWithClass, getJspBody, getJspContext, getParent, setJspBody, setJspContext, setParent |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public BitAndTag()
Method Detail |
---|
public void setVar(java.lang.String var)
var
- The name of the result variablepublic void setValue1(java.lang.String value1)
value1
- The first number of the AND computationpublic void setValue2(java.lang.String value2)
value2
- The second number of the AND computationpublic void doTag()
var
attribute.
doTag
in interface javax.servlet.jsp.tagext.SimpleTag
doTag
in class javax.servlet.jsp.tagext.SimpleTagSupport
|
DJDoc v.1.0.0b-1 | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |