|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.aselect.agent.authorization.parsing.AuthorizationRuleToken
public class AuthorizationRuleToken
A token that is used when scanning, parsing and evaluating authorization rules.
Description:
This token can represent different types of tokens from an authorization rule.
Concurrency issues:
-
| Field Summary | |
|---|---|
int |
_iGroup
The token group |
int |
_iKind
The kind of token. |
static int |
AND
Logic and operator. |
static int |
DATA_GROUP
Value or key group. |
static int |
EQUAL_TO
Equal to operator. |
static int |
GREATER_THEN
Greater then operator. |
static int |
GREATER_THEN_OR_EQUAL_TO
Greater then or equal to operator. |
static int |
GROUP_END
Logic group operator end. |
static int |
GROUP_START
Logic group operator start. |
static int |
IN
"in" operator. |
static int |
LESS_THEN
Less then operator. |
static int |
LESS_THEN_OR_EQUAL_TO
less then or equal to operator. |
static int |
LIST
List type. |
static int |
LOGIC_OPERATOR_GROUP
Logic operator group. |
static int |
MATCH_REGULAR_EXPRESSION
Regular expression operator. |
static int |
MATCH_WILDCARD_EXPRESSION
Wildcar expression operator. |
static int |
NOT
Logic not operator. |
static int |
NOT_EQUAL_TO
Not equal to operator. |
static int |
OPERATOR_GROUP
Operator group. |
static int |
OR
Logic or operator. |
static int |
QUOTED_STRING
Quoted string type. |
static int |
SINGLE_QUOTED_STRING
Single quoted string type. |
static int |
STRING
String type. |
static int |
UNQUOTED_STRING
Unquoted string type. |
| Constructor Summary | |
|---|---|
AuthorizationRuleToken(int iGroup,
int iKind,
java.lang.Object oValue)
Create a new AuthorizationRuleToken. |
|
| Method Summary | |
|---|---|
static java.lang.Object |
convertToKnownType(java.lang.Object oIn)
Convert a String to known Java types. |
boolean |
equals(java.lang.Object o)
Returns true if the given Object is equal to this token. |
int |
getGroup()
Retrieve the token group. |
int |
getKind()
retrieve the token kind. |
java.lang.Object |
getValue()
Retrieve the token value. |
int |
hashCode()
Returns the kind of token. |
void |
setValue(java.lang.Object value)
Set a new value. |
java.lang.String |
toString()
Retrieve a String representation of this token. |
| Methods inherited from class java.lang.Object |
|---|
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
| Field Detail |
|---|
public static final int DATA_GROUP
public static final int OPERATOR_GROUP
public static final int LOGIC_OPERATOR_GROUP
public static final int STRING
public static final int QUOTED_STRING
public static final int SINGLE_QUOTED_STRING
public static final int UNQUOTED_STRING
public static final int LIST
public static final int GREATER_THEN
public static final int LESS_THEN
public static final int GREATER_THEN_OR_EQUAL_TO
public static final int LESS_THEN_OR_EQUAL_TO
public static final int EQUAL_TO
public static final int NOT_EQUAL_TO
public static final int IN
public static final int MATCH_REGULAR_EXPRESSION
public static final int MATCH_WILDCARD_EXPRESSION
public static final int AND
public static final int OR
public static final int NOT
public static final int GROUP_START
public static final int GROUP_END
public int _iGroup
public int _iKind
| Constructor Detail |
|---|
public AuthorizationRuleToken(int iGroup,
int iKind,
java.lang.Object oValue)
AuthorizationRuleToken.
AuthorizationRuleToken with the given properties.
iGroup - The token group.iKind - The token kind.oValue - The value of the token.| Method Detail |
|---|
public int getGroup()
public int getKind()
public void setValue(java.lang.Object value)
value - The value to be set.public java.lang.Object getValue()
public int hashCode()
hashCode in class java.lang.ObjectObject.hashCode()public boolean equals(java.lang.Object o)
Object is equal to this token.
equals in class java.lang.ObjectObject.equals(java.lang.Object)public java.lang.String toString()
String representation of this token.
toString in class java.lang.ObjectObject.toString()public static java.lang.Object convertToKnownType(java.lang.Object oIn)
String to known Java types.
oIn is a
String:
IPv4AddressIPv6AddressDateIntegeroIn is returned.
oIn != null
oIn - the Object to be converted.
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||