com.wles.util
Class RuleParser.RoleAction

java.lang.Object
  extended bycom.wles.util.RuleParser.QualifiedElement
      extended bycom.wles.util.RuleParser.Action
          extended bycom.wles.util.RuleParser.RoleAction
Enclosing class:
RuleParser

public static class RuleParser.RoleAction
extends RuleParser.Action

Class representation of a Role action.


Field Summary
static java.lang.String QUALIFIER
          Role qualifier.
 
Constructor Summary
RuleParser.RoleAction(java.lang.String value)
          Constructs a RoleAction from a named role.
 
Method Summary
 RuleParser.ActionType getActionType()
          Get the ActionType for this action.
 RuleParser.SubjectRole getSubjectRole()
          Gets the Subject representation of the Role action.
 void validate()
          Validates that the internal string is a syntatically correct role.
 
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

QUALIFIER

public static final java.lang.String QUALIFIER
Role qualifier.

See Also:
Constant Field Values
Constructor Detail

RuleParser.RoleAction

public RuleParser.RoleAction(java.lang.String value)
                      throws RuleParser.ParsingException
Constructs a RoleAction from a named role.

Method Detail

getActionType

public RuleParser.ActionType getActionType()
Description copied from class: RuleParser.Action
Get the ActionType for this action.

Specified by:
getActionType in class RuleParser.Action

getSubjectRole

public RuleParser.SubjectRole getSubjectRole()
                                      throws RuleParser.ParsingException
Gets the Subject representation of the Role action.

Throws:
RuleParser.ParsingException

validate

public void validate()
              throws RuleParser.ParsingException
Validates that the internal string is a syntatically correct role.

Specified by:
validate in class RuleParser.QualifiedElement
Throws:
RuleParser.ParsingException


Copyright © 2004-2008, Oracle and/or its affiliates. All rights reserved.