com.wles.util
Class RuleParser.Action

java.lang.Object
  extended bycom.wles.util.RuleParser.QualifiedElement
      extended bycom.wles.util.RuleParser.Action
Direct Known Subclasses:
RuleParser.Privilege, RuleParser.RoleAction
Enclosing class:
RuleParser

public abstract static class RuleParser.Action
extends RuleParser.QualifiedElement

Base class representation for actions (roles, privileges) names. This class is abstract, see Privilege and RoleAction for concrete implementations.


Method Summary
abstract  RuleParser.ActionType getActionType()
          Get the ActionType for this action.
static RuleParser.Action parse(java.lang.String action)
          Parse an action string to create an action.
 
Methods inherited from class com.wles.util.RuleParser.QualifiedElement
equals, getName, getQualifiedName, hashCode, toString, validate
 
Methods inherited from class java.lang.Object
getClass, notify, notifyAll, wait, wait, wait
 

Method Detail

getActionType

public abstract RuleParser.ActionType getActionType()
Get the ActionType for this action.


parse

public static RuleParser.Action parse(java.lang.String action)
                               throws RuleParser.ParsingException
Parse an action string to create an action. This will return either a Privilege or RoleAction object.

Throws:
RuleParser.ParsingException


Copyright © 2005 BEA Systems Inc. All Rights Reserved.