45464748495051
* @throws javax.xml.transform.TransformerException */ public XObject operate(XObject left, XObject right) throws javax.xml.transform.TransformerException { return new XNumber(left.num() * right.num()); }
42434445464748
* @throws javax.xml.transform.TransformerException */ public XObject operate(XObject left, XObject right) throws javax.xml.transform.TransformerException { return new XNumber(left.num() - right.num()); }
43444546474849
{ if (XObject.CLASS_NUMBER == right.getType()) return right; else return new XNumber(right.num()); }
39404142434445
* * @throws javax.xml.transform.TransformerException */ public XObject operate(XObject right) throws javax.xml.transform.TransformerException { return new XNumber(-right.num()); }
41424344454647
* @throws javax.xml.transform.TransformerException */ public XObject operate(XObject left, XObject right) throws javax.xml.transform.TransformerException { return new XNumber(left.num() / right.num()); }
* @throws javax.xml.transform.TransformerException */ public XObject operate(XObject left, XObject right) throws javax.xml.transform.TransformerException { return new XNumber((int) (left.num() / right.num())); }
* @throws javax.xml.transform.TransformerException */ public XObject operate(XObject left, XObject right) throws javax.xml.transform.TransformerException { return new XNumber(left.num() % right.num()); }
* * @throws javax.xml.transform.TransformerException */ public XObject execute(XPathContext xctxt) throws javax.xml.transform.TransformerException { return new XNumber(getArg0AsString(xctxt).length()); }
* @throws javax.xml.transform.TransformerException */ public XObject operate(XObject left, XObject right) throws javax.xml.transform.TransformerException { return new XNumber(left.num() + right.num()); }