Package ca.uhn.hl7v2.util
Class ReflectionUtil
java.lang.Object
ca.uhn.hl7v2.util.ReflectionUtil
-
Method Summary
Modifier and TypeMethodDescriptionstatic <T> Tinstantiate(Class<T> theType) static <T extends Message>
TinstantiateMessage(Class<T> theType, ModelClassFactory theModelClassFactory) static <T extends Structure>
TinstantiateStructure(Class<T> theType, Group parent, ModelClassFactory theModelClassFactory)
-
Method Details
-
instantiateStructure
public static <T extends Structure> T instantiateStructure(Class<T> theType, Group parent, ModelClassFactory theModelClassFactory) throws HL7Exception - Throws:
HL7Exception
-
instantiateMessage
public static <T extends Message> T instantiateMessage(Class<T> theType, ModelClassFactory theModelClassFactory) throws HL7Exception - Throws:
HL7Exception
-
instantiate
- Throws:
HL7Exception
-