wt.ixb.publicforapps
Class ExpImporter

java.lang.Object
  extended bywt.ixb.publicforapps.ExpImporter
Direct Known Subclasses:
Exporter, Importer

public abstract class ExpImporter
extends Object

This abstract class represents common part of Exporter and Importer classes.

Supported API: true

Extendable: false


Field Summary
 AttributeExporterImporterManager attributeExporterImporterManager
          Represents manager for export/import attribute handlers

Supported API: true
private static String CLASSNAME
           
protected  String dtd
           
 Hashtable generalContext
          Represents general export/import context

Supported API: true
 IxbHandlersManager ixbHandlersManager
          Represents manager for export/import handlers

Supported API: true
private static String RESOURCE
           
protected  Tuner tuner
           
 
Constructor Summary
protected ExpImporter(String importOrExport, IxbElement localMappingRules)
          

Supported API: false
protected ExpImporter(String importOrExport, String ruleFileName)
          

Supported API: false
 
Method Summary
 String getDTD()
           
private  void initializeTuner(String importOrExport, IxbElement localMappingRules)
           
private  void loadLocalProperties(IxbElement localMappingRules)
           
abstract  void logMessage(String resourceBundle, String messageKey, Object[] textInserts)
          Sends log message to export/import application

Supported API: true
abstract  void logMessage(String resourceBundle, String messageKey, Object[] textInserts, int importanceLevel)
          Sends log message to export/import application

Supported API: true
private static void PP(String s)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

RESOURCE

private static final String RESOURCE
See Also:
Constant Field Values

CLASSNAME

private static final String CLASSNAME

dtd

protected String dtd

tuner

protected Tuner tuner

generalContext

public Hashtable generalContext
Represents general export/import context

Supported API: true


ixbHandlersManager

public IxbHandlersManager ixbHandlersManager
Represents manager for export/import handlers

Supported API: true


attributeExporterImporterManager

public AttributeExporterImporterManager attributeExporterImporterManager
Represents manager for export/import attribute handlers

Supported API: true

Constructor Detail

ExpImporter

protected ExpImporter(String importOrExport,
                      IxbElement localMappingRules)
               throws WTException


Supported API: false

Parameters:
importOrExport -
localMappingRules -
Throws:
WTException

ExpImporter

protected ExpImporter(String importOrExport,
                      String ruleFileName)
               throws WTException


Supported API: false

Parameters:
importOrExport -
ruleFileName -
Throws:
WTException
Method Detail

logMessage

public abstract void logMessage(String resourceBundle,
                                String messageKey,
                                Object[] textInserts)
                         throws WTException
Sends log message to export/import application

Supported API: true

Parameters:
resourceBundle -
messageKey -
textInserts -
Throws:
WTException

logMessage

public abstract void logMessage(String resourceBundle,
                                String messageKey,
                                Object[] textInserts,
                                int importanceLevel)
                         throws WTException
Sends log message to export/import application

Supported API: true

Parameters:
resourceBundle -
messageKey -
textInserts -
importanceLevel -
Throws:
WTException

loadLocalProperties

private void loadLocalProperties(IxbElement localMappingRules)
                          throws Exception
Throws:
Exception

initializeTuner

private void initializeTuner(String importOrExport,
                             IxbElement localMappingRules)
                      throws Exception
Throws:
Exception

getDTD

public String getDTD()

PP

private static void PP(String s)