Operator
BinaryOperator
Implementation of the Instanceof operator. Returns
a Boolean if the Object parameter (which can be
an expression) is an instance of a class type.
Input 1: An object or Expression returning an object.
Input 2: A Class or an Expression returning a Class
Returns: A Boolean that is the result of testing the object against the Class.
Object
ComplexExpressionImpl
Operator
Instanceof
BinaryOperator
, Cloneable
, Expression
, Serializable
Constructor Summary |
|
|
Method Summary |
public |
|
public |
|
public |
|
public |
|
public |
|
Methods from com.bea.p13n.expression.operator. |
|
Methods from com.bea.p13n.expression.internal. |
addListener, addSubExpression, clearCache, clone, createProxyExpression, equals, getCachedValue, getParent, getSource, getSubExpression, getSubExpressionCount, getUserData, hashCode, isCached, isCacheEnabled, isEqualitySubExpression, notifyListeners, removeAllSubExpressions, removeListener, removeSubExpression, removeSubExpression, setCachedValue, setCacheEnabled, setParent, setSource, setSubExpression, setUserData, toString, write |
Methods from class java.lang. |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Methods from interface com.bea.p13n.expression.operator. |
|
Methods from interface com.bea.p13n.expression. |
|
Constructor Detail |
public Instanceof()
public Instanceof(Object
obj,Class
clazz)
Method Detail |
public Object
getLeftHandSide()
Description copied from BinaryOperator.getLeftHandSide()
public Class
[] getParameterSignature()
Description copied from Expression.getParameterSignature()
Expression
.
Because the sub-expressions within the Expression
are
typically arguments or operands, some type validation is performed
by examining the class types of the sub-expressions against the
Expression
's parameter signature.
public Object
getRightHandSide()
Description copied from BinaryOperator.getRightHandSide()
public Object
getTargetClass()
Returns Class operand of this operator.
Class
operand of this.
public Object
getTargetObject()
Returns Object operand of this operator.
Object
or Expression
that is used
as an Object operand of this.