org.apache.xpath.operations
Class Mod

java.lang.Object
  |
  +--org.apache.xpath.Expression
        |
        +--org.apache.xpath.operations.Operation
              |
              +--org.apache.xpath.operations.Mod

public class Mod
extends Operation

The 'mod' operation expression executer.

See Also:
Serialized Form

Constructor Summary
Mod()
           
 
Method Summary
 XObject operate(XObject left, XObject right)
          Apply the operation to two operands, and return the result.
 
Methods inherited from class org.apache.xpath.operations.Operation
canTraverseOutsideSubtree, execute, setLeftRight
 
Methods inherited from class org.apache.xpath.Expression
assertion, error, setSourceLocator, warn
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Mod

public Mod()
Method Detail

operate

public XObject operate(XObject left,
                       XObject right)
                throws TransformerException
Apply the operation to two operands, and return the result.
Parameters:
left - non-null reference to the evaluated left operand.
right - non-null reference to the evaluated right operand.
Returns:
non-null reference to the XObject that represents the result of the operation.
Throws:
TransformerException -  
Overrides:
operate in class Operation


Copyright © 2000 Apache XML Project. All Rights Reserved.