소스 검색

validation methode entfernt

master
taschi 10 년 전
부모
커밋
8473c776b5
1개의 변경된 파일1개의 추가작업 그리고 18개의 파일을 삭제
  1. +1
    -18
      src/main/java/de/uniluebeck/mi/projmi6/hapi/HL7Sender.java

+ 1
- 18
src/main/java/de/uniluebeck/mi/projmi6/hapi/HL7Sender.java 파일 보기

@@ -141,8 +141,7 @@ public class HL7Sender {
} catch (InterruptedException e) {
e.printStackTrace ();
}

/*
/*

* Close the connection when you are done with it.
*/
@@ -178,22 +177,6 @@ public class HL7Sender {
System.out.println (encodedMessage);
}

/**
*
* @param msg
*/

public void validateMessage(Message msg) {
HapiContext context = new DefaultHapiContext();
context.setValidationContext(ValidationContextFactory.defaultValidation());
PipeParser parser = context.getPipeParser();
try {
parser.encode(msg);
} catch (HL7Exception e) {
System.out.println("invaid message!" +e);
}

}


}

불러오는 중...
취소
저장