|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.ObjectBasicBinaryOperator
org.objectweb.medor.filter.jorm.lib.SinglePName
A SinglePName is an Operator representing the construction of a PName from a NamingContext and a single Field.
The NamingContext is provided as a ParameterOperand. The name of the ParameterOperand is defined to be:
Constructor Summary | |
SinglePName(FieldOperand f,
Operand pnc,
PType nameType)
Constructs a SinglePName from a ParameterOperand representing the naming context, a FieldOperand, and the PType of the corresponding PName. |
Method Summary | |
Operand |
compileExpression()
Checks the semantic integrity of an expression. |
Operand |
evaluate(ParameterOperand[] pos,
java.lang.Object t)
|
FieldOperand |
getField()
|
java.lang.String |
getOperatorString()
There is no Java operator associated to a PName |
ParameterOperand |
getPNameManagerParameter()
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public SinglePName(FieldOperand f, Operand pnc, PType nameType)
f
- is the FieldOperand from which the value is taken.pnc
- is the Operand representing the naming context.nameType
- is the PType of the PName created by this operator.Method Detail |
public Operand evaluate(ParameterOperand[] pos, java.lang.Object t) throws ExpressionException
ExpressionException
public Operand compileExpression() throws TypingException, MalformedExpressionException
org.objectweb.medor.expression.api.TypingException
- when incompatible types error
occures.
org.objectweb.medor.expression.api.MalformedExpressionException
- if syntax error
TypingException
MalformedExpressionException
public FieldOperand getField()
public ParameterOperand getPNameManagerParameter()
public java.lang.String getOperatorString()
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |