Class Hl7v3ValidationProfile
java.lang.Object
org.openehealth.ipf.commons.ihe.hl7v3.Hl7v3ValidationProfile
- All Implemented Interfaces:
CombinedXmlValidationProfile
- Author:
- Dmytro Rud
-
Nested Class Summary
Nested Classes -
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptiongetCustomSchematronParameters(String rootElementName) getSchematronPath(String rootElementName) getXsdPath(String rootElementName) booleanisValidRootElement(String rootElementName)
-
Field Details
-
DEFAULT_XSD
- See Also:
-
GAZELLE_PIXPDQV3_SCHEMATRON
- See Also:
-
-
Constructor Details
-
Hl7v3ValidationProfile
-
-
Method Details
-
isValidRootElement
- Specified by:
isValidRootElementin interfaceCombinedXmlValidationProfile- Parameters:
rootElementName- local name of root XML element of the document that is being validated.- Returns:
truewhen the given element name is acceptable,falseotherwise
-
getXsdPath
- Specified by:
getXsdPathin interfaceCombinedXmlValidationProfile- Parameters:
rootElementName- local name of root XML element of the document that is being validated (already checked for acceptance).- Returns:
- path to XML Schema definition for the given XML root element,
or
null, when no XML Schema validation should be performed.
-
getSchematronPath
- Specified by:
getSchematronPathin interfaceCombinedXmlValidationProfile- Parameters:
rootElementName- local name of root XML element of the document that is being validated. (already checked for acceptance).- Returns:
- path to Schematron template for the given XML root element,
or
null, when no Schematron validation should be performed.
-
getCustomSchematronParameters
- Specified by:
getCustomSchematronParametersin interfaceCombinedXmlValidationProfile- Parameters:
rootElementName- local name of root XML element of the document that is being validated. (already checked for acceptance).- Returns:
- a map containing custom Schematron validation parameters,
or
null, when such parameters are not necessary.
-