Class ClauseFactory

java.lang.Object
opendap.servers.ClauseFactory

public class ClauseFactory extends Object
Represents a source of Clause objects for the constraint expression parser. By inheriting from this class and overriding the "newX" methods, you can create a factory that provides your own Clause objects instead of the default ones. This custom factory can be given to the parser via the CEEvaluator interface.
See Also:
  • Field Details

  • Constructor Details

    • ClauseFactory

      public ClauseFactory()
      Creates a new clause factory with a blank function library. This constructor is sufficient for servers with no server side functions.
      See Also:
    • ClauseFactory

      public ClauseFactory(FunctionLibrary functionLibrary)
      Creates a clause factory which uses the specified function library. This constructor allows you to parse CE's using a customized function library.
      Parameters:
      functionLibrary - The function library that will be used when creating clauses that invoke server-side functions.
  • Method Details