com.mkdoc.jspider
Class AbstractStoreManagerPlugin

java.lang.Object
  |
  +--com.mkdoc.jspider.AbstractMKDocPlugin
        |
        +--com.mkdoc.jspider.AbstractRdfPlugin
              |
              +--com.mkdoc.jspider.AbstractStoreManagerPlugin
All Implemented Interfaces:
net.javacoding.jspider.api.event.EventSink, net.javacoding.jspider.spi.Plugin
Direct Known Subclasses:
MetaStoreWriterPlugin, XhtmlStoreWriterPlugin

public abstract class AbstractStoreManagerPlugin
extends AbstractRdfPlugin
implements net.javacoding.jspider.spi.Plugin

A base class for RDF plugins that use a SubjectManager store.

Version:
0.3 2005-11-02
Author:
Philip Shaw

Field Summary
protected  StoreManager manager
          A reference to a SubjectManager store interface.
 
Fields inherited from class com.mkdoc.jspider.AbstractRdfPlugin
profile
 
Fields inherited from class com.mkdoc.jspider.AbstractMKDocPlugin
log, VENDOR
 
Constructor Summary
AbstractStoreManagerPlugin()
           
 
Method Summary
protected abstract  RdfContentHandler getContentHandler(StoreManager manager, java.net.URL url)
          Get a pre-configured content handler.
 void shutdown()
          Shut down the plugin.
 
Methods inherited from class com.mkdoc.jspider.AbstractRdfPlugin
configureHandler, getInputSource, getXmlReader, loadApplicationProfile, notify, parse, setXhtmlTidy, setXmlReader
 
Methods inherited from class com.mkdoc.jspider.AbstractMKDocPlugin
getApplicationContext, getVendor, initialize, setLog
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface net.javacoding.jspider.spi.Plugin
getDescription, getName, getVendor, getVersion
 
Methods inherited from interface net.javacoding.jspider.api.event.EventSink
initialize, notify
 

Field Detail

manager

protected StoreManager manager
A reference to a SubjectManager store interface.

Since:
Version 0.1 2005-05-31
Constructor Detail

AbstractStoreManagerPlugin

public AbstractStoreManagerPlugin()
Method Detail

getContentHandler

protected abstract RdfContentHandler getContentHandler(StoreManager manager,
                                                       java.net.URL url)
Get a pre-configured content handler.

Parameters:
manager - A subject manager interface the content handler will write the document metadata to.
url - An initial URI subject.
Returns:
An RdfContentHandler instance with custom Schema if configured.
Since:
Version 0.1 2005-05-31

shutdown

public final void shutdown()
Shut down the plugin.

Specified by:
shutdown in interface net.javacoding.jspider.api.event.EventSink
Overrides:
shutdown in class AbstractMKDocPlugin
Since:
Version 0.1 2005-05-31