wt.ixb.publicforhandlers
Class IxbObjectRefHelper

java.lang.Object
  extended bywt.ixb.publicforhandlers.IxbObjectRefHelper

public class IxbObjectRefHelper
extends Object


Field Summary
static String XML_OBJECT_JAVA_CLASS
           
 
Constructor Summary
IxbObjectRefHelper()
           
 
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
 

Field Detail

XML_OBJECT_JAVA_CLASS

public static final String XML_OBJECT_JAVA_CLASS
See Also:
Constant Field Values
Constructor Detail

IxbObjectRefHelper

public IxbObjectRefHelper()
Method Detail

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)