- java.lang.Object
-
- org.eclipse.persistence.sdo.helper.extension.Token
-
public class Token extends Object
A token is used for processing an XPath Expression into postfix notation via OPStack. Each token knows its type (1-6) as well as its priority.
-
-
Field Summary
Fields Modifier and Type Field Description static int
AND_PR
static int
ARG
static int
CLOSE
static Token
CloseExp
static int
DI
static int
EQ_PR
static int
GEQ_PR
static int
GT_PR
static int
LEQ_PR
static int
LT_PR
static int
NEQ_PR
static int
OPEN
static Token
OpenExp
static int
OR_PR
static int
POST
static int
PRE
-
Constructor Summary
Constructors Constructor Description Token(String name, int type)
This constructor sets the name and type to the input values, and sets the priority to the input type.Token(String name, int type, int priority)
This constructor sets the name, type and priority to the input values.
-
-
-
Field Detail
-
ARG
public static final int ARG
- See Also:
- Constant Field Values
-
PRE
public static final int PRE
- See Also:
- Constant Field Values
-
OPEN
public static final int OPEN
- See Also:
- Constant Field Values
-
DI
public static final int DI
- See Also:
- Constant Field Values
-
POST
public static final int POST
- See Also:
- Constant Field Values
-
CLOSE
public static final int CLOSE
- See Also:
- Constant Field Values
-
OR_PR
public static final int OR_PR
- See Also:
- Constant Field Values
-
AND_PR
public static final int AND_PR
- See Also:
- Constant Field Values
-
EQ_PR
public static final int EQ_PR
- See Also:
- Constant Field Values
-
NEQ_PR
public static final int NEQ_PR
- See Also:
- Constant Field Values
-
LEQ_PR
public static final int LEQ_PR
- See Also:
- Constant Field Values
-
LT_PR
public static final int LT_PR
- See Also:
- Constant Field Values
-
GEQ_PR
public static final int GEQ_PR
- See Also:
- Constant Field Values
-
GT_PR
public static final int GT_PR
- See Also:
- Constant Field Values
-
OpenExp
public static final Token OpenExp
-
CloseExp
public static final Token CloseExp
-
-
Constructor Detail
-
Token
public Token(String name, int type)
This constructor sets the name and type to the input values, and sets the priority to the input type.- Parameters:
name
-type
-
-
Token
public Token(String name, int type, int priority)
This constructor sets the name, type and priority to the input values.- Parameters:
name
-type
-priority
-
-
-