Class DocumentCalculator


  • public class DocumentCalculator
    extends java.lang.Object
    Author:
    Thomas Gundersen
    • Constructor Summary

      Constructors 
      Constructor Description
      DocumentCalculator​(java.lang.String expression)  
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      java.lang.Number evaluate​(Document doc, java.util.Map<java.lang.String,​java.lang.Object> variables)  
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Method Detail

      • evaluate

        public java.lang.Number evaluate​(Document doc,
                                         java.util.Map<java.lang.String,​java.lang.Object> variables)