wt.ixb.handlers.forattributes
Class ExpImpForArchiveAttr
java.lang.Object
wt.ixb.publicforhandlers.AttributeExporterImporterTemplate
wt.ixb.handlers.forattributes.ExpImpForArchiveAttr
- All Implemented Interfaces:
- AttributeExporterImporter
- public class ExpImpForArchiveAttr
- extends AttributeExporterImporterTemplate
Field Summary |
private static boolean |
DEBUG
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
DEBUG
private static boolean DEBUG
ExpImpForArchiveAttr
public ExpImpForArchiveAttr()
exportAttribute
public void exportAttribute(Object o,
IxbElement fileXml,
Exporter exporter)
throws WTException
- Description copied from class:
AttributeExporterImporterTemplate
Supported API: true
- Specified by:
exportAttribute
in interface AttributeExporterImporter
- Specified by:
exportAttribute
in class AttributeExporterImporterTemplate
- Parameters:
o
- fileXml
- exporter
-
- Throws:
WTException
checkConflictForAttribute
public void checkConflictForAttribute(Object o,
IxbElement fileXml,
Importer importer)
throws WTException
- Description copied from class:
AttributeExporterImporterTemplate
- Checks conflicts that can arise while import process for the given attribute and object.
Supported API: true
- Specified by:
checkConflictForAttribute
in interface AttributeExporterImporter
- Overrides:
checkConflictForAttribute
in class AttributeExporterImporterTemplate
- Parameters:
o
- fileXml
- the IxbElement
of the XML file to be imported.importer
- The Importer
instance that represents the context of the import operation.
- Throws:
WTException
importAttribute
public Object importAttribute(Object o,
IxbElement fileXml,
Importer importer)
throws WTException
- Description copied from class:
AttributeExporterImporterTemplate
Supported API: true
- Specified by:
importAttribute
in interface AttributeExporterImporter
- Specified by:
importAttribute
in class AttributeExporterImporterTemplate
- Parameters:
o
- fileXml
- importer
-
- Returns:
- Object
- Throws:
WTException
finalizeCheckConflicts
public void finalizeCheckConflicts(Importer importer)
throws WTException
- Description copied from class:
AttributeExporterImporterTemplate
- Called in the end of conflict check process.
Supported API: true
- Specified by:
finalizeCheckConflicts
in interface AttributeExporterImporter
- Overrides:
finalizeCheckConflicts
in class AttributeExporterImporterTemplate
- Parameters:
importer
- The Importer
instance that represents the context of the import operation.
- Throws:
WTException
printout
private static void printout(String s)
PP
private static void PP(String s)