eu.ihe.util
Class HL7_IHE_Validation

java.lang.Object
  extended by eu.ihe.util.HL7_IHE_Validation

public class HL7_IHE_Validation
extends java.lang.Object


Field Summary
private  boolean conversion
           
private  java.lang.String default_tablepath
           
private  java.lang.String logfile
           
private  java.lang.String messagefile
           
private  java.lang.String outputfile
           
private  boolean parsing
           
private  java.lang.String profilefile
           
private  java.lang.String tablepath
           
 java.lang.String user
           
private  boolean validation
           
 
Constructor Summary
HL7_IHE_Validation()
           
 
Method Summary
private  void checkRequired()
          Ensures that all required parameters were specified and successfully parsed.
static void main(java.lang.String[] args)
          The main Class to launch the application
private  void parseCommandLine(java.lang.String[] args)
          Parse the command Line
private  void printUsage(java.io.PrintStream out)
          Print usage of the command line
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

user

public java.lang.String user

profilefile

private java.lang.String profilefile

messagefile

private java.lang.String messagefile

outputfile

private java.lang.String outputfile

logfile

private java.lang.String logfile

tablepath

private java.lang.String tablepath

default_tablepath

private java.lang.String default_tablepath

validation

private boolean validation

parsing

private boolean parsing

conversion

private boolean conversion
Constructor Detail

HL7_IHE_Validation

public HL7_IHE_Validation()
Method Detail

parseCommandLine

private void parseCommandLine(java.lang.String[] args)
                       throws java.lang.Exception
Parse the command Line

Parameters:
args: - the arguments
Throws:
java.lang.Exception

checkRequired

private void checkRequired()
                    throws java.lang.Exception
Ensures that all required parameters were specified and successfully parsed.

Throws:
java.lang.Exception

printUsage

private void printUsage(java.io.PrintStream out)
Print usage of the command line

Parameters:
out - : the output line for the usage for parsing: java -jar ~/Validation.jar -x -m ~/message.hl7 (or .xml) -o ~/message.xml(or .hl7) -l ~/logfile.xml -d ~/default_tablepath -t ~/tablepath for validation: java -jar ~/Validation.jar -v -m ~/message.hl7 (or .xml) -p ~/profile.xml -l ~/logfile.xml

main

public static void main(java.lang.String[] args)
                 throws java.lang.Exception
The main Class to launch the application

Parameters:
args -
Throws:
java.lang.Exception