public class Plus extends Operation
| Constructor and Description | 
|---|
| Plus() | 
| Modifier and Type | Method and Description | 
|---|---|
| double | num(XPathContext xctxt)Evaluate this operation directly to a double. | 
| XObject | operate(XObject left,
       XObject right)Apply the operation to two operands, and return the result. | 
callVisitors, canTraverseOutsideSubtree, deepEquals, execute, fixupVariables, getExpression, getLeftOperand, getRightOperand, setExpression, setLeftRightasIterator, asIteratorRaw, asNode, assertion, bool, error, execute, execute, execute, executeCharsToContentHandler, exprAddChild, exprGetChild, exprGetNumChildren, exprGetParent, exprSetParent, getColumnNumber, getExpressionOwner, getLineNumber, getPublicId, getSystemId, isNodesetExpr, isSameClass, isStableNumber, warn, xstrpublic XObject operate(XObject left, XObject right) throws TransformerException
operate in class Operationleft - non-null reference to the evaluated left operand.right - non-null reference to the evaluated right operand.TransformerExceptionpublic double num(XPathContext xctxt) throws TransformerException
num in class Expressionxctxt - The runtime execution context.TransformerExceptionCopyright © 2018 JBoss by Red Hat. All rights reserved.