com.mkdoc.jspider
Class RdfStoreWriterPlugin

java.lang.Object
  |
  +--com.mkdoc.jspider.AbstractMKDocPlugin
        |
        +--com.mkdoc.jspider.AbstractRdfPlugin
              |
              +--com.mkdoc.jspider.RdfStoreWriterPlugin
All Implemented Interfaces:
net.javacoding.jspider.api.event.EventSink, net.javacoding.jspider.spi.Plugin

public class RdfStoreWriterPlugin
extends AbstractRdfPlugin
implements net.javacoding.jspider.spi.Plugin

A plugin for adding native RDF documents to a repository.

manager
The fully qualified class name of a com.mkdoc.store.StoreManager implementation, required. May be com.mkdoc.store.LocalStoreManager or com.mkdoc.store.DatabaseStoreManager, for example.
output.absolute
Whether the output directory configuration specifies an absolute directory path. If not set, a relative path is assumed.
output.folder
The base file output directory, which may be relative to the JSpider installation directory. If not set, the default output directory beneath the JSpider installation directory is assumed.
profile
The fully qualified class name of a com.mkdoc.schema.ApplicationProfile implementation to override the default Dublin Core profile.

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

Field Summary
protected  StoreManager manager
          A reference to a StoreManager store interface.
 
Fields inherited from class com.mkdoc.jspider.AbstractRdfPlugin
profile
 
Fields inherited from class com.mkdoc.jspider.AbstractMKDocPlugin
log, VENDOR
 
Constructor Summary
RdfStoreWriterPlugin(net.javacoding.jspider.core.util.config.PropertySet propertySet)
          Obtain the output configuration.
 
Method Summary
 java.lang.String getDescription()
          Get the plugin description.
 java.lang.String getName()
          Get the plugin name.
 java.lang.String getVersion()
          Get the plugin version.
protected  void parse(java.io.InputStream inStream, java.net.URL url)
          Add a resource to the repository from an input stream.
 void shutdown()
          Shut down the plugin.
 
Methods inherited from class com.mkdoc.jspider.AbstractRdfPlugin
configureHandler, getInputSource, getXmlReader, loadApplicationProfile, notify, 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
getVendor
 
Methods inherited from interface net.javacoding.jspider.api.event.EventSink
initialize, notify
 

Field Detail

manager

protected StoreManager manager
A reference to a StoreManager store interface.

Since:
Version 0.1 2005-05-31
Constructor Detail

RdfStoreWriterPlugin

public RdfStoreWriterPlugin(net.javacoding.jspider.core.util.config.PropertySet propertySet)
Obtain the output configuration.

Parameters:
propertySet - The configuration property set for this plugin.
Since:
Version 0.1 2005-05-31
Method Detail

parse

protected final void parse(java.io.InputStream inStream,
                           java.net.URL url)
Add a resource to the repository from an input stream.

Specified by:
parse in class AbstractRdfPlugin
Parameters:
inStream - The input stream source for the metadata.
url - The URL of the source document.
Since:
Version 0.2 2005-04-27

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

getDescription

public final java.lang.String getDescription()
Get the plugin description.

Specified by:
getDescription in interface net.javacoding.jspider.spi.Plugin
Returns:
A short description of this plugin.
Since:
Version 0.2 2005-05-31

getName

public final java.lang.String getName()
Get the plugin name.

Specified by:
getName in interface net.javacoding.jspider.spi.Plugin
Returns:
The name of this plugin.
Since:
Version 0.2 2005-05-31

getVersion

public final java.lang.String getVersion()
Get the plugin version.

Specified by:
getVersion in interface net.javacoding.jspider.spi.Plugin
Returns:
The version information for this plugin.
Since:
Version 0.2 2005-05-31