|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectwt.ixb.publicforhandlers.AttributeExporterImporterTemplate
wt.ixb.handlers.forattributes.ExpImpForIBAAttr
Nested Class Summary | |
private static class |
ExpImpForIBAAttr.AttrDefInfo
|
private class |
ExpImpForIBAAttr.AttrValueInfo
|
Field Summary | |
private static String |
IBA_ATTR_DEF_INFO
|
private ExpImpForIBADefinition |
ibaDefHandler
|
Fields inherited from class wt.ixb.publicforhandlers.AttributeExporterImporterTemplate |
CONFLICT_RESOURCE |
Constructor Summary | |
ExpImpForIBAAttr()
|
Method Summary | |
void |
addIBAttribute(IBAHolder holder,
String attrPath,
String attrType,
String attrValueImage,
Importer importer)
|
void |
checkConflictForAttribute(Object existingOb,
IxbElement fileXML,
Importer importer)
Check conflicts for iba values. |
void |
exportAttribute(Object obj,
IxbElement fileXML,
Exporter exporter)
Export the IBA values of the obj. |
static void |
exportIBAReferenceable(String objectID,
Exporter exporter)
Export the IBAReferenceable object. |
private Enumeration |
getAllIbas(IxbElement fileXML,
Importer importer)
|
private static ExpImpForIBAAttr.AttrDefInfo |
getAttrDefInfo(String path,
ExpImporter expImporter)
|
private ExpImpForIBAAttr.AttrDefInfo |
getAttrDefInfoByPathAndType(String name,
String type,
Importer importer)
|
private Vector |
getExcludedIBAs(IBAHolder existingOb,
IxbElement fileXML,
Importer importer)
|
static AbstractAttributeDefinition |
getIBADefOfHierarchyID(String hierarchyID)
Get AbstractAttributeDefinition instance by hierarchyID. |
static String |
getIbaDefOid(String path,
ExpImporter expImporter)
|
static String |
getIbaDefType(String name,
ExpImporter expImporter)
Get the IBA type given the IBA name or path. |
private Hashtable |
getIBAttributes(IBAHolder holder)
|
static String |
getPathOfAttribute_DefinitionOrOrganizer(AttributeHierarchyParent ad,
boolean withOrganizer)
Get the IBA definition path with or without the information of the path of the associated AttributeOrganizer instance. |
static String |
getPathOfAttributeDefinition_WithoutOrganizer(AttributeHierarchyParent ad)
Get the IBA definition path without the information of the path of the associated AttributeOrganizer instance. |
Object |
importAttribute(Object obj,
IxbElement fileXML,
Importer importer)
Import the IBA values into the attribute container. |
private IBAHolder |
importIBA(IBAHolder holder,
IxbElement fileXML,
Importer importer)
|
private static void |
PP(String s)
|
IBAHolder |
prepareForImportOfIBA(IBAHolder holder)
|
private void |
storeExcludedIbasFromTypeDef(IxbElement fileXML,
Exporter exporter,
Vector typeIbas)
|
private void |
storeInXMLFile_IBAttributes(IBAHolder holder,
IxbElement fileXML,
Exporter exporter)
|
Methods inherited from class wt.ixb.publicforhandlers.AttributeExporterImporterTemplate |
finalizeCheckConflicts, finalizeExport, finalizeImport, prepareForCheckConflicts, prepareForImport |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
private static final String IBA_ATTR_DEF_INFO
private ExpImpForIBADefinition ibaDefHandler
Constructor Detail |
public ExpImpForIBAAttr()
Method Detail |
public void exportAttribute(Object obj, IxbElement fileXML, Exporter exporter) throws WTException
IBAHolder
instance.
Also since obj as an IBAHolder
instance, if it is Typed
, then it may not contain all
IBA values from its associated soft type or hard type; in this case those IBAs will be explicitly written into the XML file
under the tag <exportAttribute
in interface AttributeExporterImporter
exportAttribute
in class AttributeExporterImporterTemplate
obj
- fileXML
- exporter
-
WTException
- private void storeInXMLFile_IBAttributes(IBAHolder holder, IxbElement fileXML, Exporter exporter) throws WTException
WTException
public static void exportIBAReferenceable(String objectID, Exporter exporter) throws WTException
objectID
- Object Identifier of the IBAReferenceable objectexporter
-
WTException
- private void storeExcludedIbasFromTypeDef(IxbElement fileXML, Exporter exporter, Vector typeIbas) throws WTException
WTException
public void checkConflictForAttribute(Object existingOb, IxbElement fileXML, Importer importer) throws WTException
checkConflictForAttribute
in interface AttributeExporterImporter
checkConflictForAttribute
in class AttributeExporterImporterTemplate
existingOb
- fileXML
- importer
-
WTException
- public Object importAttribute(Object obj, IxbElement fileXML, Importer importer) throws WTException
IBAHolder
.
importAttribute
in interface AttributeExporterImporter
importAttribute
in class AttributeExporterImporterTemplate
obj
- fileXML
- importer
-
WTException
- public IBAHolder prepareForImportOfIBA(IBAHolder holder) throws WTException
holder
-
WTException
- public void addIBAttribute(IBAHolder holder, String attrPath, String attrType, String attrValueImage, Importer importer) throws WTException
holder
- attrPath
- attrType
- attrValueImage
- importer
-
WTException
- private IBAHolder importIBA(IBAHolder holder, IxbElement fileXML, Importer importer) throws WTException
WTException
public static AbstractAttributeDefinition getIBADefOfHierarchyID(String hierarchyID) throws WTException
AbstractAttributeDefinition
instance by hierarchyID.
hierarchyID
-
WTException
public static String getPathOfAttributeDefinition_WithoutOrganizer(AttributeHierarchyParent ad) throws WTException
AttributeOrganizer
instance.
ad
-
WTException
- public static String getPathOfAttribute_DefinitionOrOrganizer(AttributeHierarchyParent ad, boolean withOrganizer) throws WTException
AttributeOrganizer
instance.
ad
-
WTException
- private Hashtable getIBAttributes(IBAHolder holder) throws WTException
WTException
public static String getIbaDefType(String name, ExpImporter expImporter) throws WTException
name
- expImporter
-
WTException
- public static String getIbaDefOid(String path, ExpImporter expImporter) throws WTException
WTException
private static ExpImpForIBAAttr.AttrDefInfo getAttrDefInfo(String path, ExpImporter expImporter) throws WTException
WTException
private ExpImpForIBAAttr.AttrDefInfo getAttrDefInfoByPathAndType(String name, String type, Importer importer) throws WTException
WTException
private Enumeration getAllIbas(IxbElement fileXML, Importer importer) throws WTException
WTException
private static void PP(String s)
private Vector getExcludedIBAs(IBAHolder existingOb, IxbElement fileXML, Importer importer) throws WTException
WTException
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |