com.mkdoc.jspider
Class AbstractSubjectManagerPlugin

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

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

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

Version:
0.1 2005-05-31
Author:
Philip Shaw

Field Summary
protected  SubjectManager 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
AbstractSubjectManagerPlugin()
           
 
Method Summary
protected abstract  RdfContentHandler getContentHandler(SubjectManager 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, loadApplicationProfile, notify, parse
 
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 SubjectManager manager
A reference to a SubjectManager store interface.

Since:
Version 0.1 2005-05-31
Constructor Detail

AbstractSubjectManagerPlugin

public AbstractSubjectManagerPlugin()
Method Detail

getContentHandler

protected abstract RdfContentHandler getContentHandler(SubjectManager 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