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 ConsumervoidimportDocument(InputStream stream) voidimportDocument(Reader reader) voidimportDocument(Parser parser, InputSource input) abstract voidimportEntries(Enumeration<SearchResult> enumeration) protected voidvoidreadImportDescriptor(InputStream input) voidreadImportDescriptor(Reader input) protected voidreadImportDescriptor(Parser parser, InputSource input) voidsetImportDescriptor(ImportDescriptor importDesc) voidsetImportEventListener(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:
IOExceptionSAXException
-
readImportDescriptor
- Throws:
IOExceptionSAXException
-
readImportDescriptor
protected void readImportDescriptor(Parser parser, InputSource input) throws IOException, SAXException - Throws:
IOExceptionSAXException
-
notify
-
createConsumer
-
importEntries
public abstract void importEntries(Enumeration<SearchResult> enumeration) throws ImportExportException - Throws:
ImportExportException
-