wt.ixb.handlers.forattributes
Class ExpImpForContentAttr
java.lang.Object
wt.ixb.publicforhandlers.AttributeExporterImporterTemplate
wt.ixb.handlers.forattributes.ExpImpForContentAttr
- All Implemented Interfaces:
- AttributeExporterImporter, ExpImpForContentAttrtItfc
- public class ExpImpForContentAttr
- extends AttributeExporterImporterTemplate
- implements ExpImpForContentAttrtItfc
Method Summary |
void |
exportAttribute(Object obj,
IxbElement fileXML,
Exporter exporter)
Supported API: true |
void |
exportObjectContents(Object contentHolder,
IxbElement fileXML,
Exporter exporter)
Exports all contents of the content holder "contentHolder". |
Object |
importAttribute(Object obj,
IxbElement fileXML,
Importer importer)
Supported API: true |
void |
importContentHolder(ContentHolder holder,
Importer importer,
IxbElement fileXML)
|
private ContentHolder |
initImportContentHolder(ContentHolder holder)
|
void |
insertContentItem(IxbElement fileXML,
String id,
String type,
String category,
String isPrimary,
String role,
String fileNameAndExt,
String descr,
String locationURL)
|
private static void |
PP(String s)
|
void |
storeInXMLFile_Content(ContentHolder holder,
IxbElement fileXML,
Exporter exporter)
|
String |
storeInXMLFileContentItem(ContentItem item,
boolean isPrimary,
IxbElement fileXML,
Exporter exporter)
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
contentInfoCache
protected Hashtable contentInfoCache
ExpImpForContentAttr
public ExpImpForContentAttr()
exportAttribute
public void exportAttribute(Object obj,
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:
obj
- fileXML
- exporter
-
- Throws:
WTException
storeInXMLFile_Content
public void storeInXMLFile_Content(ContentHolder holder,
IxbElement fileXML,
Exporter exporter)
throws WTException
- Throws:
WTException
storeInXMLFileContentItem
public String storeInXMLFileContentItem(ContentItem item,
boolean isPrimary,
IxbElement fileXML,
Exporter exporter)
throws WTException
- Throws:
WTException
insertContentItem
public void insertContentItem(IxbElement fileXML,
String id,
String type,
String category,
String isPrimary,
String role,
String fileNameAndExt,
String descr,
String locationURL)
throws WTException
- Throws:
WTException
importAttribute
public Object importAttribute(Object obj,
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:
obj
- fileXML
- importer
-
- Returns:
- Object
- Throws:
WTException
importContentHolder
public void importContentHolder(ContentHolder holder,
Importer importer,
IxbElement fileXML)
throws WTException
- Throws:
WTException
initImportContentHolder
private ContentHolder initImportContentHolder(ContentHolder holder)
throws WTException
- Throws:
WTException
exportObjectContents
public void exportObjectContents(Object contentHolder,
IxbElement fileXML,
Exporter exporter)
throws WTException
- Description copied from interface:
ExpImpForContentAttrtItfc
- Exports all contents of the content holder "contentHolder".
- Specified by:
exportObjectContents
in interface ExpImpForContentAttrtItfc
- Parameters:
contentHolder
- fileXML
- exporter
-
Supported API: true
- Throws:
WTException
PP
private static void PP(String s)