wt.ixb.publicforhandlers
Class IxbHandlersManager

java.lang.Object
  extended bywt.ixb.publicforhandlers.IxbHandlersManager

public class IxbHandlersManager
extends Object


Field Summary
private  ExpImporter expImporter
           
private static Hashtable exportHandlersInfo
           
private  Hashtable handlersTable
           
private static Hashtable importHandlersInfo
           
private static Hashtable registryTable
           
private static String TAG_CLASS
           
private static String TAG_DTD
           
private static String TAG_EXPORT_HANDLER
           
private static String TAG_EXPORT_IMPORT_HANDLER
           
private static String TAG_HANDLER
           
private static String TAG_IMPORT_HANDLER
           
private static String TAG_TAG
           
private static String TAG_TARGET_TAG
           
 
Constructor Summary
IxbHandlersManager()
           
IxbHandlersManager(ExpImporter _expImporter)
           
 
Method Summary
 void finalizeExport()
           
 void finalizeImport()
           
 ClassExporter getClassExporter(String name, String dtd, String tag)
           
 ClassExporter getClassExporterByClass(Class cl)
           
private static Class getClassExporterFromRegistry(String key)
           
 Enumeration getClassHandlers()
           
 ElementImporter getElementImporter(String tag, String dtd)
           
 ElementImporter getElementImporterByClass(Class cl)
           
private  Class getElementImporterFromRegistry(String key)
           
static boolean hasClassExporter(Class cl, String dtd, String tag)
           
private static void initIxbHandlersInfo()
           
private static String makeKey(String s1, String s2)
           
private static String makeKey(String s1, String s2, String s3)
           
private static void PP(String s)
           
 void prepareForImport()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

expImporter

private ExpImporter expImporter

registryTable

private static Hashtable registryTable

handlersTable

private Hashtable handlersTable

TAG_IMPORT_HANDLER

private static final String TAG_IMPORT_HANDLER
See Also:
Constant Field Values

TAG_EXPORT_HANDLER

private static final String TAG_EXPORT_HANDLER
See Also:
Constant Field Values

TAG_EXPORT_IMPORT_HANDLER

private static final String TAG_EXPORT_IMPORT_HANDLER
See Also:
Constant Field Values

TAG_TAG

private static final String TAG_TAG
See Also:
Constant Field Values

TAG_DTD

private static final String TAG_DTD
See Also:
Constant Field Values

TAG_HANDLER

private static final String TAG_HANDLER
See Also:
Constant Field Values

TAG_CLASS

private static final String TAG_CLASS
See Also:
Constant Field Values

TAG_TARGET_TAG

private static final String TAG_TARGET_TAG
See Also:
Constant Field Values

exportHandlersInfo

private static Hashtable exportHandlersInfo

importHandlersInfo

private static Hashtable importHandlersInfo
Constructor Detail

IxbHandlersManager

public IxbHandlersManager(ExpImporter _expImporter)

IxbHandlersManager

public IxbHandlersManager()
Method Detail

makeKey

private static String makeKey(String s1,
                              String s2)

makeKey

private static String makeKey(String s1,
                              String s2,
                              String s3)

initIxbHandlersInfo

private static void initIxbHandlersInfo()
                                 throws WTException
Throws:
WTException

getClassExporter

public ClassExporter getClassExporter(String name,
                                      String dtd,
                                      String tag)
                               throws WTException
Throws:
WTException

getClassExporterByClass

public ClassExporter getClassExporterByClass(Class cl)
                                      throws WTException
Throws:
WTException

hasClassExporter

public static boolean hasClassExporter(Class cl,
                                       String dtd,
                                       String tag)
                                throws WTException
Throws:
WTException

getClassExporterFromRegistry

private static Class getClassExporterFromRegistry(String key)
                                           throws WTException
Throws:
WTException

getElementImporter

public ElementImporter getElementImporter(String tag,
                                          String dtd)
                                   throws WTException
Throws:
WTException

getElementImporterByClass

public ElementImporter getElementImporterByClass(Class cl)
                                          throws WTException
Throws:
WTException

getElementImporterFromRegistry

private Class getElementImporterFromRegistry(String key)
                                      throws WTException
Throws:
WTException

finalizeExport

public void finalizeExport()
                    throws WTException
Throws:
WTException

prepareForImport

public void prepareForImport()
                      throws WTException
Throws:
WTException

finalizeImport

public void finalizeImport()
                    throws WTException
Throws:
WTException

PP

private static void PP(String s)

getClassHandlers

public Enumeration getClassHandlers()