FileDocCategorySizeDatePackage
Quo.javaAPI DocJava SE 6 API1677Tue Jun 10 00:23:16 BST 2008com.sun.org.apache.xpath.internal.operations

Quo

public class Quo extends Operation
The 'quo' operation expression executer. (no longer supported by XPath).
deprecated

Fields Summary
static final long
serialVersionUID
Constructors Summary
Methods Summary
public com.sun.org.apache.xpath.internal.objects.XObjectoperate(com.sun.org.apache.xpath.internal.objects.XObject left, com.sun.org.apache.xpath.internal.objects.XObject right)
Apply the operation to two operands, and return the result.

param
left non-null reference to the evaluated left operand.
param
right non-null reference to the evaluated right operand.
return
non-null reference to the XObject that represents the result of the operation.
throws
javax.xml.transform.TransformerException


  // Actually, this is no longer supported by xpath...

                                                
       
           
  
    return new XNumber((int) (left.num() / right.num()));