Class ChPpq1RequestValidationProfile
java.lang.Object
org.openehealth.ipf.commons.ihe.xacml20.chppq1.ChPpq1RequestValidationProfile
- All Implemented Interfaces:
CombinedXmlValidationProfile
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptiongetCustomSchematronParameters
(String rootElementName) getSchematronPath
(String rootElementName) getXsdPath
(String rootElementName) boolean
isValidRootElement
(String rootElementName)
-
Constructor Details
-
ChPpq1RequestValidationProfile
public ChPpq1RequestValidationProfile()
-
-
Method Details
-
isValidRootElement
- Specified by:
isValidRootElement
in interfaceCombinedXmlValidationProfile
- Parameters:
rootElementName
- local name of root XML element of the document that is being validated.- Returns:
true
when the given element name is acceptable,false
otherwise
-
getXsdPath
- Specified by:
getXsdPath
in 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:
getSchematronPath
in 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:
getCustomSchematronParameters
in 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.
-