public abstract class XPathBinaryOpExpr extends XPathOpExpr
Modifier and Type | Field and Description |
---|---|
XPathExpression |
a |
XPathExpression |
b |
indent
Constructor and Description |
---|
XPathBinaryOpExpr() |
XPathBinaryOpExpr(XPathExpression a,
XPathExpression b) |
Modifier and Type | Method and Description |
---|---|
boolean |
equals(java.lang.Object o) |
java.lang.Object |
pivot(FormInstance model,
EvaluationContext evalContext,
java.util.List<java.lang.Object> pivots,
java.lang.Object sentinal)
Pivot this expression, returning values if appropriate, and adding any pivots to the list.
|
void |
readExternal(java.io.DataInputStream in,
PrototypeFactory pf) |
java.lang.String |
toString(java.lang.String op) |
void |
writeExternal(java.io.DataOutputStream out) |
eval, eval, hashCode, pivot, print, printParseTree
public XPathExpression a
public XPathExpression b
public XPathBinaryOpExpr()
public XPathBinaryOpExpr(XPathExpression a, XPathExpression b)
public java.lang.String toString(java.lang.String op)
public boolean equals(java.lang.Object o)
equals
in class java.lang.Object
public void readExternal(java.io.DataInputStream in, PrototypeFactory pf) throws java.io.IOException, DeserializationException
java.io.IOException
DeserializationException
public void writeExternal(java.io.DataOutputStream out) throws java.io.IOException
java.io.IOException
public java.lang.Object pivot(FormInstance model, EvaluationContext evalContext, java.util.List<java.lang.Object> pivots, java.lang.Object sentinal) throws UnpivotableExpressionException
XPathExpression
pivot
in class XPathExpression
model
- The model to evaluate the current expression againstevalContext
- The evaluation context to evaluate againstpivots
- The list of pivot points in the xpath being evaluated. Pivots should be added to this list.sentinal
- The value which is being pivoted around.UnpivotableExpressionException
- If the expression is too complex to pivot