Package org.exolab.castor.dsml
Class Importer
java.lang.Object
org.exolab.castor.dsml.Importer
- Direct Known Subclasses:
JNDIImporter
,MozillaImporter
- Version:
- $Revision: 8145 $ $Date: 2006-04-10 16:39:24 -0600 (Mon, 10 Apr 2006) $
- Author:
- Assaf Arkin
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected abstract Consumer
void
importDocument
(InputStream stream) void
importDocument
(Reader reader) void
importDocument
(Parser parser, InputSource input) abstract void
importEntries
(Enumeration<SearchResult> enumeration) protected void
void
readImportDescriptor
(InputStream input) void
readImportDescriptor
(Reader input) protected void
readImportDescriptor
(Parser parser, InputSource input) void
setImportDescriptor
(ImportDescriptor importDesc) void
setImportEventListener
(ImportEventListener listener)
-
Constructor Details
-
Importer
public Importer()
-
-
Method Details
-
setImportDescriptor
-
getImportDescriptor
-
setImportEventListener
- Throws:
TooManyListenersException
-
getImportEventListener
-
importDocument
- Throws:
ImportExportException
-
importDocument
- Throws:
ImportExportException
-
importDocument
- Throws:
ImportExportException
-
readImportDescriptor
- Throws:
IOException
SAXException
-
readImportDescriptor
- Throws:
IOException
SAXException
-
readImportDescriptor
protected void readImportDescriptor(Parser parser, InputSource input) throws IOException, SAXException - Throws:
IOException
SAXException
-
notify
-
createConsumer
-
importEntries
public abstract void importEntries(Enumeration<SearchResult> enumeration) throws ImportExportException - Throws:
ImportExportException
-