|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.sun.rave.web.ui.util.PermissionChecker.StringFunction
protected class PermissionChecker.StringFunction
StringFunction implements Function and serves as the default function. This function is special in that it is NEVER registered and is the only function that SHOULD NOT be followed by ()'s. This function will process embedded expressions and evaulate to false if the entire string evaulates to null. Otherwise it will return true. This Function ignores all arguments (arguments only apply if it is registered, which shouldn't be the case anyway).
Constructor Summary | |
---|---|
PermissionChecker.StringFunction(java.lang.String value)
Constructor. |
Method Summary | |
---|---|
boolean |
evaluate()
This method is invoked by the PermissionCheck to evaluate the function to true or false. |
java.util.List |
getArguments()
Not used. |
java.lang.Object |
getEvaluatedValue()
|
void |
setArguments(java.util.List args)
Not used. |
java.lang.String |
toString()
|
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public PermissionChecker.StringFunction(java.lang.String value)
value
- The expression to evaluate.Method Detail |
---|
public java.util.List getArguments()
getArguments
in interface PermissionChecker.Function
public void setArguments(java.util.List args)
setArguments
in interface PermissionChecker.Function
public boolean evaluate()
PermissionChecker.Function
evaluate
in interface PermissionChecker.Function
public java.lang.Object getEvaluatedValue()
public java.lang.String toString()
toString
in class java.lang.Object
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |