org.eclipse.tptp.platform.provisional.sun50.fastxpath.operations
Class EOperation
java.lang.Object
org.eclipse.tptp.platform.provisional.sun50.fastxpath.EExpression
org.eclipse.tptp.platform.provisional.sun50.fastxpath.operations.EOperation
- All Implemented Interfaces:
- IExpression
- Direct Known Subclasses:
- EAnd, EDiv, EEquals, EGt, EGte, ELt, ELte, EMinus, EMod, EMult, ENotEquals, EOr, EPlus
- public class EOperation
- extends EExpression
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
eLeft
protected IExpression eLeft
eRight
protected IExpression eRight
EOperation
public EOperation(Operation op)
- Parameters:
op -
instance
public IExpression instance(Expression e)
- Overrides:
instance in class EExpression
- See Also:
org.eclipse.tptp.platform.provisional.sun50.fastxpath.EExpression#instance(com.sun.org.apache.xpath.internal.Expression)
getExpression
public Expression getExpression()
- Returns:
- See Also:
Operation#getExpression()
getLeftOperand
public Expression getLeftOperand()
- Returns:
- See Also:
Operation#getLeftOperand()
getRightOperand
public Expression getRightOperand()
- Returns:
- See Also:
Operation#getRightOperand()
operate
public XObject operate(XObject left,
XObject right)
throws javax.xml.transform.TransformerException
- Parameters:
left - right -
- Returns:
-
- Throws:
javax.xml.transform.TransformerException
setExpression
public void setExpression(Expression exp)
- Parameters:
exp -
setLeftRight
public void setLeftRight(Expression l,
Expression r)
- Parameters:
l - r -
execute
public java.lang.Object[] execute(FastXPathContext context)
throws javax.xml.transform.TransformerException,
ExpressionEvaluationException
- Specified by:
execute in interface IExpression- Overrides:
execute in class EExpression
- Throws:
javax.xml.transform.TransformerException
ExpressionEvaluationException- See Also:
org.eclipse.tptp.platform.provisional.sun50.fastxpath.EExpression#execute(org.eclipse.tptp.platform.provisional.sun50.fastxpath.FastXPathContext)
compile
public void compile(ICompilerContext compilationContext)
throws CodeGenerationError
- Specified by:
compile in interface IExpression- Overrides:
compile in class EExpression
- Throws:
CodeGenerationError- See Also:
org.eclipse.tptp.platform.provisional.sun50.fastxpath.EExpression#compile(CompilerContext)
getOpAsString
protected java.lang.String getOpAsString()
printGraph
public void printGraph(int level)
- Specified by:
printGraph in interface IExpression- Overrides:
printGraph in class EExpression
- See Also:
EExpression.printGraph(int)
linkParent
public void linkParent(IExpression parent)
- Specified by:
linkParent in interface IExpression- Overrides:
linkParent in class EExpression
- See Also:
org.eclipse.tptp.platform.provisional.sun50.fastxpath.EExpression#linkParent(org.eclipse.tptp.platform.provisional.sun50.fastxpath.EExpression)
getELeft
public IExpression getELeft()
- Returns:
- left expression
getERight
public IExpression getERight()
- Returns:
- right expression
leftSideSatisfies
protected boolean leftSideSatisfies(java.lang.Object[] leftSide)