|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectwt.ixb.publicforhandlers.AttributeExporterImporterTemplate
public abstract class AttributeExporterImporterTemplate
General template for attribute handlers which defines trivial implementation.
It defines some abstract methods that individual attribute handlers must
implement.
Supported API: true
Extendable: false
| Method Summary | |
|---|---|
void |
checkConflictForAttribute(Object existingOb,
IxbElement fileXML,
Importer importer)
Checks conflicts that can arise while import process for the given attribute and object. |
abstract void |
exportAttribute(Object ob,
IxbElement fileXML,
Exporter exporter)
Supported API: true |
void |
finalizeCheckConflicts(Importer importer)
Called in the end of conflict check process. |
void |
finalizeExport(Exporter exporter)
This method will be called by the application handler after all objects have been exported. |
void |
finalizeImport(Importer importer)
Called in the end of the whole ipport process to execute any import process finalization. |
abstract Object |
importAttribute(Object ob,
IxbElement fileXML,
Importer importer)
Supported API: true |
void |
prepareForCheckConflicts(Importer importer)
Called in the beginning of conflict check process prior to the real import or preview. |
void |
prepareForImport(Importer importer)
Called in the end of conflict check process and prior to the real import process. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Method Detail |
|---|
public abstract void exportAttribute(Object ob,
IxbElement fileXML,
Exporter exporter)
throws WTException
exportAttribute in interface AttributeExporterImporterob - fileXML - exporter -
WTException
public abstract Object importAttribute(Object ob,
IxbElement fileXML,
Importer importer)
throws WTException
importAttribute in interface AttributeExporterImporterob - fileXML - importer -
WTException
public void finalizeExport(Exporter exporter)
throws WTException
finalizeExport in interface AttributeExporterImporterexporter - The Exporter instance that represents the context of the export operation.
WTException
public void prepareForCheckConflicts(Importer importer)
throws WTException
prepareForCheckConflicts in interface AttributeExporterImporterimporter - The Importer instance that represents the context of the import operation.
WTException
public void checkConflictForAttribute(Object existingOb,
IxbElement fileXML,
Importer importer)
throws WTException
checkConflictForAttribute in interface AttributeExporterImporterexistingOb - fileXML - the IxbElement of the XML file to be imported.importer - The Importer instance that represents the context of the import operation.
WTException
public void finalizeCheckConflicts(Importer importer)
throws WTException
finalizeCheckConflicts in interface AttributeExporterImporterimporter - The Importer instance that represents the context of the import operation.
WTException
public void prepareForImport(Importer importer)
throws WTException
prepareForImport in interface AttributeExporterImporterimporter - The Importer instance that represents the context of the import operation.
WTException
public void finalizeImport(Importer importer)
throws WTException
finalizeImport in interface AttributeExporterImporterimporter - The Importer instance that represents the context of the import operation.
WTException
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||