com.mkdoc.jspider
Class AbstractFileStoreManagerPlugin

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

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

Base class for RDF plugins that use a Manager store interface.

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

Field Summary
protected  FileStoreManager manager
          A reference to a Manager store interface.
 
Fields inherited from class com.mkdoc.jspider.AbstractRdfPlugin
profile
 
Fields inherited from class com.mkdoc.jspider.AbstractMKDocPlugin
log, VENDOR
 
Constructor Summary
AbstractFileStoreManagerPlugin()
           
 
Method Summary
protected abstract  RdfContentHandler getContentHandler(FileStoreManager 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 FileStoreManager manager
A reference to a Manager store interface.

Since:
Version 0.1 2005-05-31
Constructor Detail

AbstractFileStoreManagerPlugin

public AbstractFileStoreManagerPlugin()
Method Detail

getContentHandler

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

Parameters:
manager - A 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