|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectca.uhn.hl7v2.validation.app.TestApplication
ca.uhn.hl7v2.validation.app.ProfileTestApplication
public class ProfileTestApplication
Tests messages against conformance profiles. A constant profile can be used, or each message can be tested against the profiles that it declares.
Note that profiles are referenced by ID, and that the ca.uhn.hl7v2.conf.store package is used to get the actual profiles.
| Constructor Summary | |
|---|---|
ProfileTestApplication()
Deprecated. Creates a new instance of ProfileTestApplication that tests using profiles declared in each message (if any) |
|
ProfileTestApplication(String profileID)
Deprecated. Creates a new instance of ProfileTestApplication. |
|
| Method Summary | |
|---|---|
boolean |
canProcess(Message in)
Deprecated. Returns true if this Application wishes to accept the message. |
String |
getProfileID()
Deprecated. |
HL7Exception[] |
test(Message in)
Deprecated. Tests the message against a profile or profiles. |
| Methods inherited from class ca.uhn.hl7v2.validation.app.TestApplication |
|---|
processMessage |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public ProfileTestApplication()
public ProfileTestApplication(String profileID)
profileID - the ID of the profile against which to test messages;
null means use profiles declared in the message (if any)| Method Detail |
|---|
public boolean canProcess(Message in)
canProcess in interface ApplicationcanProcess in class TestApplication
public HL7Exception[] test(Message in)
throws HL7Exception
test in class TestApplicationHL7Exception - if the message can't be tested (not for errors disovered
during testing)public String getProfileID()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||