Overview | Package | Class | Use | Tree | Deprecated | Index | Help
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

## com.hp.hpl.jena.reasoner.rulesys
Class GenericRuleReasonerFactory

    java.lang.Object
      com.hp.hpl.jena.reasoner.rulesys.GenericRuleReasonerFactory

All Implemented Interfaces:
  ReasonerFactory

    public class GenericRuleReasonerFactory

extends java.lang.Object
implements ReasonerFactory

Factory object for creating general rule reasoner instances. The specific rule set and mode confriguration can be set either be method calls to the created reasoner or though parameters in the configuration Model.

Version:
  $Revision: 1.13 $ on $Date: 2008/01/02 12:07:47 $
Author:
  Dave Reynolds

Field Summary
`static java.lang.String` | `URI` Static URI for this reasoner type

Constructor Summary
`GenericRuleReasonerFactory()`

Method Summary
`Reasoner` | `create(Resource configuration)` Constructor method that builds an instance of the associated Reasoner
`Model` | `getCapabilities()` Return a description of the capabilities of this reasoner encoded in RDF.
`java.lang.String` | `getURI()` Return the URI labelling this type of reasoner
`static GenericRuleReasonerFactory` | `theInstance()` Return the single global instance of this factory

Methods inherited from class java.lang.Object
`equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait`

Field Detail

### URI

    public static final java.lang.String URI

  Static URI for this reasoner type

  See Also:
    Constant Field Values

Constructor Detail

### GenericRuleReasonerFactory

    public GenericRuleReasonerFactory()

Method Detail

### theInstance

    public static GenericRuleReasonerFactory theInstance()

  Return the single global instance of this factory

### create

    public Reasoner create(Resource configuration)

  Constructor method that builds an instance of the associated Reasoner

  Specified by:
    `create` in interface `ReasonerFactory`
  Parameters:
    `configuration` - 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()

  Return a description of the capabilities of this reasoner encoded in RDF. This method is normally called by the ReasonerRegistry which caches the resulting information so dynamically creating here is not really an overhead.

  Specified by:
    `getCapabilities` in interface `ReasonerFactory`

### getURI

    public java.lang.String getURI()

  Return the URI labelling this type of reasoner

  Specified by:
    `getURI` in interface `ReasonerFactory`

Overview | Package | Class | Use | Tree | Deprecated | Index | Help
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

Copyright © 2000, 2001, 2002, 2003, 2004, 2005, 2006, 2007, 2008 Hewlett-Packard Development Company, LP