Package wt.ixb.publicforhandlers
Class IxbHndHelper
java.lang.Object
wt.facade.ixb.IxbHndCommonHelper
wt.ixb.publicforhandlers.IxbHndHelper
- All Implemented Interfaces:
wt.facade.ixb.IxbHndHelperConstants
public class IxbHndHelper
extends wt.facade.ixb.IxbHndCommonHelper
implements wt.facade.ixb.IxbHndHelperConstants
Helper class for Export/Import.
Supported API: true
Extendable: false
Supported API: true
Extendable: false
-
Method Summary
Modifier and TypeMethodDescriptionstatic voidcheckConflictForAttribute(Class attrHandlerClz, Object existingObj, IxbElement fileXML, Importer importer) Check the conflicts for the attribute.static voidexportAttribute(Class attrHandlerClz, Object obj, IxbElement fileXML, Exporter exporter) Exports the attribute.static StringgetIxbProperty(String propertyKey) Gets the value of the property from context.static booleangetIxbProperty(String propertyKey, boolean defaultValue) Gets the value of the property from context.static intgetIxbProperty(String propertyKey, int defaultValue) Gets the value of the property from context.static ObjectimportAttribute(Class attrHandlerClz, Object obj, IxbElement fileXML, Importer importer) imports the attribute.
-
Method Details
-
exportAttribute
public static void exportAttribute(Class attrHandlerClz, Object obj, IxbElement fileXML, Exporter exporter) throws WTException Exports the attribute.
Supported API: true- Parameters:
attrHandlerClz- Attribute Handler Class.obj- The object being exported.fileXML-exporter-- Throws:
WTException
-
checkConflictForAttribute
public static void checkConflictForAttribute(Class attrHandlerClz, Object existingObj, IxbElement fileXML, Importer importer) throws WTException Check the conflicts for the attribute.
Supported API: true- Parameters:
attrHandlerClz- Attribute Handler ClassexistingObj- Object being exportedfileXML-importer-- Throws:
WTException
-
importAttribute
public static Object importAttribute(Class attrHandlerClz, Object obj, IxbElement fileXML, Importer importer) throws WTException imports the attribute.
Supported API: true- Parameters:
attrHandlerClz- Attribute Handler Classobj- Object being importedfileXML-importer-- Returns:
- Throws:
WTException
-
getIxbProperty
Gets the value of the property from context.
Supported API: true- Parameters:
propertyKey-- Returns:
- String
- Throws:
WTException
-
getIxbProperty
Gets the value of the property from context.
Supported API: true- Parameters:
propertyKey-defaultValue-- Returns:
- String
- Throws:
WTException
-
getIxbProperty
Gets the value of the property from context.
Supported API: true- Parameters:
propertyKey-defaultValue-- Returns:
- String
- Throws:
WTException
-