Class PathLateBindingValue

  • All Implemented Interfaces:
    ILateBindingValue

    public class PathLateBindingValue
    extends java.lang.Object
    implements ILateBindingValue
    Defines the contract for late bindings, provides document state and enough context to perform the evaluation at a later date such that we can operate on a dynamically changing value. Acts like a lambda function with references, but since we're supporting JDK 6+, we're left doing this...
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      boolean equals​(java.lang.Object o)  
      java.lang.Object get()
      Obtain the value of the parameter at runtime using the parameter state and invocation of other late binding values rather than maintaining cached state which ends up in a global store and won't change as a result of external reference changes.
      • Methods inherited from class java.lang.Object

        clone, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • PathLateBindingValue

        public PathLateBindingValue​(Path path,
                                    java.lang.Object rootDocument,
                                    Configuration configuration)
    • Method Detail

      • get

        public java.lang.Object get()
        Description copied from interface: ILateBindingValue
        Obtain the value of the parameter at runtime using the parameter state and invocation of other late binding values rather than maintaining cached state which ends up in a global store and won't change as a result of external reference changes.
        Specified by:
        get in interface ILateBindingValue
        Returns:
        the late value
      • equals

        public boolean equals​(java.lang.Object o)
        Overrides:
        equals in class java.lang.Object