Class WrappedReasonerFactory

  • All Implemented Interfaces:
    ReasonerFactory

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

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      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).
      Model getCapabilities()
      Answer the capabilities of the underlying ReasonerFactory.
      java.lang.String getURI()
      Answer the URI of the underlying ReasonerFactory.
      • Methods inherited from class java.lang.Object

        equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Field Detail

      • schemaURL

        public static final Property schemaURL
    • Method Detail

      • 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
        Parameters:
        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.
      • getURI

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