Class WrappedReasonerFactory

All Implemented Interfaces:

public final class WrappedReasonerFactory extends Object implements ReasonerFactory
WrappedReasonerFactory - a wrapper round ReasonerFactories that accepts a Resource configuring initial rules, schemas, etc.
  • Field Details

    • schemaURL

      public static final Property schemaURL
  • Constructor Details

  • Method Details

    • create

      public Reasoner create(Resource ignored)
      Answer a Reasoner created according to the underlying factory, and then loaded with this Wrapper's rules (if the Reasoner is a RuleReasoner) and bound to this Wrapper's schemas (in an unspecified order).
      Specified by:
      create in interface ReasonerFactory
      ignored - a set of arbitrary configuration information to be passed the reasoner, encoded as RDF properties of a base configuration resource, can be null in no custom configuration is required.
    • getCapabilities

      public Model getCapabilities()
      Answer the capabilities of the underlying ReasonerFactory.
      Specified by:
      getCapabilities in interface ReasonerFactory
    • getURI

      public String getURI()
      Answer the URI of the underlying ReasonerFactory.
      Specified by:
      getURI in interface ReasonerFactory