|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object com.wles.util.RuleParser.QualifiedElement com.wles.util.RuleParser.Action com.wles.util.RuleParser.Privilege
Class representation of a privilege action.
Field Summary | |
static java.lang.String |
ANY
Special "any" privilege. |
static java.lang.String |
QUALIFIER
Privilege qualifier. |
Constructor Summary | |
RuleParser.Privilege(java.lang.String value)
Constuct a Privilege object for the named privilege. |
Method Summary | |
RuleParser.ActionType |
getActionType()
Get the ActionType for this action. |
boolean |
isAnyPrivilege()
Determine if this is the special "any" privilege. |
void |
validate()
Validate that the internal string is a syntatically correct privilege. |
Methods inherited from class com.wles.util.RuleParser.Action |
parse |
Methods inherited from class com.wles.util.RuleParser.QualifiedElement |
equals, getName, getQualifiedName, hashCode, toString |
Methods inherited from class java.lang.Object |
getClass, notify, notifyAll, wait, wait, wait |
Field Detail |
public static final java.lang.String ANY
public static final java.lang.String QUALIFIER
Constructor Detail |
public RuleParser.Privilege(java.lang.String value) throws RuleParser.ParsingException
Privilege
object for the named privilege.
Method Detail |
public RuleParser.ActionType getActionType()
RuleParser.Action
ActionType
for this action.
getActionType
in class RuleParser.Action
public boolean isAnyPrivilege()
public void validate() throws RuleParser.ParsingException
validate
in class RuleParser.QualifiedElement
RuleParser.ParsingException
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |