|
Extension SDK | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
The JotInfixExpression
represents an infix expression. An
infix expression consists of two expressions with an operator between them.
Assignments are not infix expressions, rather they are JotAssignment
s.
Infix expressions have the form:
10 + 5 foo != bar isEnable() || isEditable() foo << 3
Field Summary | |
static java.lang.String |
BINAND
The bitwise-and operator ' & ' |
static java.lang.String |
BINOR
The bitwise-or operator ' | ' |
static java.lang.String |
BINXOR
The bitwise-exclusive-or operator ' ^ ' |
static java.lang.String |
DIV
The division operator ' / ' |
static java.lang.String |
EQ
The equals operator ' == ' |
static java.lang.String |
GE
The greater-than-or-equal operator ' >= ' |
static java.lang.String |
GT
The greater-than operator ' > ' |
static java.lang.String |
INSTANCEOF
The instanceof operator |
static java.lang.String |
LE
The less-than-or-equal operator ' >= ' |
static java.lang.String |
LOGAND
The conditional-and operator ' && ' |
static java.lang.String |
LOGOR
The conditional-or operator ' || ' |
static java.lang.String |
LSH
The left-shift operator ' << ' |
static java.lang.String |
LT
The less-than operator ' < ' |
static java.lang.String |
MINUS
The subtraction operator ' - ' |
static java.lang.String |
MOD
The remainder operator ' % ' |
static java.lang.String |
MUL
The multiplication operator ' * ' |
static java.lang.String |
NE
The not-equals operator ' != ' |
static java.lang.String |
PLUS
The addition operator ' + ' |
static java.lang.String |
RSH
The right-shift operator ' >> ' |
static java.lang.String |
URSH
The unsigned right-shift operator ' >>> ' |
Method Summary | |
JotExpression |
getLeftExpression()
Retrieves the left hand side expression. |
java.lang.String |
getOperator()
Retrieves the operator associated with this infix expression. |
JotExpression |
getRightExpression()
Retrieves the right hand side expression. |
void |
setLeftExpression(java.lang.String exp)
Sets the left hand side expression. |
void |
setOperator(java.lang.String oper)
Sets the new operator for this infix expression. |
void |
setRightExpression(java.lang.String exp)
Sets the right hand side expression. |
Methods inherited from interface oracle.jdeveloper.jot.JotElement |
getElementName, getElementType, getEndOffset, getID, getJotWorkArea, getParent, getStartOffset, isExistent, isReadOnly, isStructureKnown, setParent |
Field Detail |
public static final java.lang.String MUL
*
'
public static final java.lang.String DIV
/
'
public static final java.lang.String MOD
%
'
public static final java.lang.String PLUS
+
'
public static final java.lang.String MINUS
-
'
public static final java.lang.String LSH
<<
'
public static final java.lang.String RSH
>>
'
public static final java.lang.String URSH
>>>
'
public static final java.lang.String LT
<
'
public static final java.lang.String GT
>
'
public static final java.lang.String LE
>=
'
public static final java.lang.String GE
>=
'
public static final java.lang.String INSTANCEOF
instanceof
operator
public static final java.lang.String EQ
==
'
public static final java.lang.String NE
!=
'
public static final java.lang.String LOGAND
&&
'
public static final java.lang.String LOGOR
||
'
public static final java.lang.String BINAND
&
'
public static final java.lang.String BINOR
|
'
public static final java.lang.String BINXOR
^
'
Method Detail |
public java.lang.String getOperator()
public void setOperator(java.lang.String oper)
public JotExpression getLeftExpression()
public void setLeftExpression(java.lang.String exp)
exp
- the new expression string.public JotExpression getRightExpression()
public void setRightExpression(java.lang.String exp)
exp
- the new expression string.
|
Extension SDK | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
Copyright ©1997, 2003, Oracle. All rights reserved.