Package ca.uhn.hl7v2

Examples of ca.uhn.hl7v2.Version.available()


    ModelClassFactory mcf = getParser() != null ?
        getParser().getFactory() :
        new DefaultModelClassFactory();
    Version version = Version.versionOf(getVersion());
    Message out = null;
    if (version != null && version.available()) {
      Class<? extends Message> clazz = mcf.getMessageClass("ACK", version.getVersion(), false);
      if (clazz != null) {
          out = ReflectionUtil.instantiateMessage(clazz, mcf);
      }
    }
View Full Code Here


    ModelClassFactory mcf = getParser() != null ?
        getParser().getFactory() :
        new DefaultModelClassFactory();
    Version version = Version.versionOf(getVersion());
    Message out = null;
    if (version != null && version.available()) {
      Class<? extends Message> clazz = mcf.getMessageClass("ACK", version.getVersion(), false);
      if (clazz != null) {
          out = ReflectionUtil.instantiateMessage(clazz, mcf);
      }
    }
View Full Code Here

TOP
Copyright © 2018 www.massapi.com. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.