wt.ixb.publicforhandlers
Class IxbObjectRefHelper
java.lang.Object
wt.ixb.publicforhandlers.IxbObjectRefHelper
- public class IxbObjectRefHelper
- extends Object
Method Summary |
static void |
checkValidityOfExportType(Class exportType,
Class actualType)
|
static void |
checkValidityOfImportType(Class importType,
String actualTypeStr)
|
private static IxbElement |
createTypeElement(Class objectType,
IxbElement element)
|
private static String |
createTypeTag(Class objectType)
|
static void |
exportIfcObjectRef(Class exportType,
Object object,
IxbElement element,
Exporter exporter)
|
static void |
exportObjectRef(Object object,
Class exportType,
IxbElement element,
Exporter exporter)
|
static Object |
findObjectFromIfcXML(Class importType,
IxbElement element,
Importer importer)
|
static Object |
findObjectFromXML(Class importType,
IxbElement element,
Importer importer)
|
private static IxbElement |
getTypeElement(Class objectType,
IxbElement element)
|
static boolean |
ifcObjectExistPriorImport(Class importType,
IxbElement element,
Importer importer)
|
private static void |
logAndThrowWTException(WTException e,
String logMessage)
|
private static void |
logWTException(WTException e,
String logMessage)
|
static boolean |
objectExistPriorImport(Class importType,
IxbElement element,
Importer importer)
|
protected static void |
printLog(String message)
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
XML_OBJECT_JAVA_CLASS
public static final String XML_OBJECT_JAVA_CLASS
- See Also:
- Constant Field Values
IxbObjectRefHelper
public IxbObjectRefHelper()
exportObjectRef
public static void exportObjectRef(Object object,
Class exportType,
IxbElement element,
Exporter exporter)
throws WTException
- Throws:
WTException
findObjectFromXML
public static Object findObjectFromXML(Class importType,
IxbElement element,
Importer importer)
throws WTException
- Throws:
WTException
objectExistPriorImport
public static boolean objectExistPriorImport(Class importType,
IxbElement element,
Importer importer)
throws WTException
- Throws:
WTException
exportIfcObjectRef
public static void exportIfcObjectRef(Class exportType,
Object object,
IxbElement element,
Exporter exporter)
throws WTException
- Throws:
WTException
findObjectFromIfcXML
public static Object findObjectFromIfcXML(Class importType,
IxbElement element,
Importer importer)
throws WTException
- Throws:
WTException
ifcObjectExistPriorImport
public static boolean ifcObjectExistPriorImport(Class importType,
IxbElement element,
Importer importer)
throws WTException
- Throws:
WTException
checkValidityOfExportType
public static void checkValidityOfExportType(Class exportType,
Class actualType)
throws WTException
- Throws:
WTException
checkValidityOfImportType
public static void checkValidityOfImportType(Class importType,
String actualTypeStr)
throws WTException
- Throws:
WTException
createTypeTag
private static String createTypeTag(Class objectType)
throws WTException
- Throws:
WTException
createTypeElement
private static IxbElement createTypeElement(Class objectType,
IxbElement element)
throws WTException
- Throws:
WTException
getTypeElement
private static IxbElement getTypeElement(Class objectType,
IxbElement element)
throws WTException
- Throws:
WTException
logWTException
private static void logWTException(WTException e,
String logMessage)
throws WTException
- Throws:
WTException
logAndThrowWTException
private static void logAndThrowWTException(WTException e,
String logMessage)
throws WTException
- Throws:
WTException
printLog
protected static void printLog(String message)