Class AbstractSyntaxValidator
java.lang.Object
ca.uhn.hl7v2.HapiContextSupport
ca.uhn.hl7v2.conf.check.DefaultValidator
org.openehealth.ipf.modules.hl7.validation.support.AbstractSyntaxValidator
- All Implemented Interfaces:
Validator
,GroovyObject
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionvoid
testStructure
(Structure s, ProfileStructure profile, String profileID) Methods inherited from class ca.uhn.hl7v2.conf.check.DefaultValidator
addTableTestResult, checkConstantValue, checkDataType, checkEventType, checkExtraComponents, checkForExtraFields, checkForExtraStructures, checkLength, checkMessageStructure, checkMessageType, doTestComponent, doTestField, doTestGroup, doTestSegment, main, setCodeStore, setValidateChildren, testCardinality, testComponent, testField, testGroup, testLength, testSegment, testType, testTypeAgainstTable, testUsage, testValueAgainstTable
Methods inherited from class ca.uhn.hl7v2.HapiContextSupport
getHapiContext, setHapiContext
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface groovy.lang.GroovyObject
getProperty, invokeMethod, setProperty
-
Constructor Details
-
AbstractSyntaxValidator
public AbstractSyntaxValidator()
-
-
Method Details
-
getMetaClass
- Specified by:
getMetaClass
in interfaceGroovyObject
-
setMetaClass
- Specified by:
setMetaClass
in interfaceGroovyObject
-
validate
public HL7Exception[] validate(Message message, StaticDef profile) throws ProfileException, HL7Exception - Specified by:
validate
in interfaceValidator
- Overrides:
validate
in classDefaultValidator
- Throws:
ProfileException
HL7Exception
-
testStructure
public List<HL7Exception> testStructure(Structure s, ProfileStructure profile, String profileID) throws ProfileException - Overrides:
testStructure
in classDefaultValidator
- Throws:
ProfileException
-