public class CompareTag extends ConditionalTag
Modifier and Type | Field and Description |
---|---|
protected java.lang.String |
comparator |
static java.lang.String |
COMPARE_EQUAL |
static java.lang.String |
COMPARE_GREATER |
static java.lang.String |
COMPARE_GREATER_EQUAL |
static java.lang.String |
COMPARE_LESS |
static java.lang.String |
COMPARE_LESS_EQUAL |
static java.lang.String |
COMPARE_NOT_EQUAL |
protected java.lang.Object |
obj1 |
protected java.lang.Object |
obj2 |
static java.lang.String |
REVISION |
breakselect, not
Constructor and Description |
---|
CompareTag() |
Modifier and Type | Method and Description |
---|---|
boolean |
checkCondition()
Returns a boolean representing the condition that
a particular subclass uses to drive its conditional logic.
|
void |
setComparator(java.lang.String comparator) |
void |
setObj1(java.lang.Object obj1) |
void |
setObj2(java.lang.Object obj2) |
doStartTag, getBreakselect, getNot, reply, setBreakselect, setNot
doAfterBody, doEndTag, doInitBody, getBodyContent, getPreviousOut, release, setBodyContent
findAncestorWithClass, getId, getParent, getValue, getValues, removeValue, setId, setPageContext, setParent, setValue
public static final java.lang.String REVISION
public static final java.lang.String COMPARE_EQUAL
public static final java.lang.String COMPARE_NOT_EQUAL
public static final java.lang.String COMPARE_GREATER
public static final java.lang.String COMPARE_GREATER_EQUAL
public static final java.lang.String COMPARE_LESS
public static final java.lang.String COMPARE_LESS_EQUAL
protected java.lang.Object obj1
protected java.lang.Object obj2
protected java.lang.String comparator
public boolean checkCondition()
ConditionalTag
Returns a boolean representing the condition that a particular subclass uses to drive its conditional logic.
checkCondition
in class ConditionalTag
public void setObj1(java.lang.Object obj1)
public void setObj2(java.lang.Object obj2)
public void setComparator(java.lang.String comparator)
Copyright © 2001-2010 Jalios SA. All Rights Reserved.