Class Context

  • Direct Known Subclasses:
    Context.FieldContext, Context.NodeContext

    public abstract class Context
    extends Object
    Used to store an evaluation context. The context is stored both as an absolute and a relative path. The object also preserves the symbol that was used to create the context as well as the type of that symbol (field or node). This class is declared as abstract because it is only meant to be instantiated through its two subclasses Context.FieldContext and Context.NodeContext. This makes instantiation more readable and adds type safety at compile-time.