wt.ixb.handlers.forattributes
Class ExpImpForIconAttr
java.lang.Object
wt.ixb.publicforhandlers.AttributeExporterImporterTemplate
wt.ixb.handlers.forattributes.ExpImpForIconAttr
- All Implemented Interfaces:
- AttributeExporterImporter, ExpImpForContentAttrtItfc
- public class ExpImpForIconAttr
- extends AttributeExporterImporterTemplate
- implements ExpImpForContentAttrtItfc
Method Summary |
void |
checkConflictForAttribute(Object iconHolder,
IxbElement fileXML,
Importer importer)
Checks conflicts that can arise while import process for the given attribute and object. |
void |
exportAttribute(Object iconedObject,
IxbElement fileXML,
Exporter exporter)
Supported API: true |
void |
exportAttribute(Object iconedObject,
IxbElement fileXML,
Exporter exporter,
int localeCode)
|
void |
exportObjectContents(Object iconedObject,
IxbElement fileXML,
Exporter exporter)
Exports all contents of the content holder "contentHolder". |
private Vector |
getLocale(int localeCode)
|
Object |
importAttribute(Object iconHolder,
IxbElement fileXML,
Importer importer)
Supported API: true |
private static void |
PP(String s)
|
private String |
storeInXMLFileForIcon(String iconName,
String iconFile,
String desc,
IxbElement fileXML,
Locale locale,
Exporter exporter)
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
contentInfoCache
protected Hashtable contentInfoCache
ALL
public static final int ALL
- See Also:
- Constant Field Values
DEFAULT
public static final int DEFAULT
- See Also:
- Constant Field Values
CHINA
public static final int CHINA
- See Also:
- Constant Field Values
FRANCE
public static final int FRANCE
- See Also:
- Constant Field Values
GERMANY
public static final int GERMANY
- See Also:
- Constant Field Values
ITALY
public static final int ITALY
- See Also:
- Constant Field Values
JAPAN
public static final int JAPAN
- See Also:
- Constant Field Values
KOREA
public static final int KOREA
- See Also:
- Constant Field Values
TAIWAN
public static final int TAIWAN
- See Also:
- Constant Field Values
UK
public static final int UK
- See Also:
- Constant Field Values
US
public static final int US
- See Also:
- Constant Field Values
registeredLocales
private static Vector registeredLocales
ExpImpForIconAttr
public ExpImpForIconAttr()
getLocale
private Vector getLocale(int localeCode)
exportAttribute
public void exportAttribute(Object iconedObject,
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:
iconedObject
- fileXML
- exporter
-
- Throws:
WTException
exportAttribute
public void exportAttribute(Object iconedObject,
IxbElement fileXML,
Exporter exporter,
int localeCode)
throws WTException
- Throws:
WTException
storeInXMLFileForIcon
private String storeInXMLFileForIcon(String iconName,
String iconFile,
String desc,
IxbElement fileXML,
Locale locale,
Exporter exporter)
throws WTException
- Throws:
WTException
exportObjectContents
public void exportObjectContents(Object iconedObject,
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:
iconedObject
- fileXML
- exporter
-
Supported API: true
- Throws:
WTException
checkConflictForAttribute
public void checkConflictForAttribute(Object iconHolder,
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:
iconHolder
- 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 iconHolder,
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:
iconHolder
- fileXML
- importer
-
- Returns:
- Object
- Throws:
WTException
PP
private static void PP(String s)