Skip navigation links 
 
org.eclipse.persistence.sdo.helper.extension
Class Token
java.lang.Object
   org.eclipse.persistence.sdo.helper.extension.Token
org.eclipse.persistence.sdo.helper.extension.Token
- 
public class Token
 
- extends java.lang.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.
 
  
 
| Constructor Summary | 
| Token(java.lang.String name, int type)This constructor sets the name and type to the input values, and sets the priority to the input type.
 | 
| Token(java.lang.String name, int type, int priority)This constructor sets the name, type and priority to the input values.
 | 
  
 
 
| Methods inherited from class java.lang.Object | 
| clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait | 
 
 
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
 
name
private java.lang.String name
type
private int type
priority
private int priority
OpenExp
public static Token OpenExp
CloseExp
public static Token CloseExp
Token
public Token(java.lang.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(java.lang.String name,
             int type,
             int priority)
- This constructor sets the name, type and priority to the input values.
- Parameters:
- name-
- type-
- priority-
 
getName
public java.lang.String getName()
getType
public int getType()
getPriority
public int getPriority()
toString
public java.lang.String toString()
- 
- Overrides:
- toStringin class- java.lang.Object
 
Skip navigation links