net.sf.exorcist.midgard
Class MidgardExporter

java.lang.Object
  extended by net.sf.exorcist.midgard.MidgardExporter
All Implemented Interfaces:
ContentExporter

public class MidgardExporter
extends java.lang.Object
implements ContentExporter


Constructor Summary
MidgardExporter()
           
 
Method Summary
 void exportContent(ContentState state)
          Exports content from a source content repository.
 void setDatabase(java.lang.String database)
           
 void setFilepath(java.lang.String filepath)
           
 void setPassword(java.lang.String password)
           
 void setSchema(java.lang.String file)
           
 void setSitegroup(int sitegroup)
           
 void setUsername(java.lang.String username)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

MidgardExporter

public MidgardExporter()
Method Detail

setSitegroup

public void setSitegroup(int sitegroup)

setSchema

public void setSchema(java.lang.String file)
               throws java.io.IOException,
                      javax.xml.parsers.ParserConfigurationException,
                      org.xml.sax.SAXException
Throws:
java.io.IOException
javax.xml.parsers.ParserConfigurationException
org.xml.sax.SAXException

setFilepath

public void setFilepath(java.lang.String filepath)

setDatabase

public void setDatabase(java.lang.String database)

setUsername

public void setUsername(java.lang.String username)

setPassword

public void setPassword(java.lang.String password)

exportContent

public void exportContent(ContentState state)
                   throws ContentException
Description copied from interface: ContentExporter
Exports content from a source content repository. The exported content is used to populate the content state instance passed by the Exorcist framework as the argument.

Specified by:
exportContent in interface ContentExporter
Parameters:
state - the content state snapshot to be populated
Throws:
ContentException - if the selected content could not be exported


Copyright © 2005 The Exorcist Team @ SourceForge. All Rights Reserved.