public class Hl7v3ValidationProfile extends Object implements CombinedXmlValidationProfile
Modifier and Type | Field and Description |
---|---|
static String |
DEFAULT_XSD |
static String |
GAZELLE_PIXPDQV3_SCHEMATRON |
Constructor and Description |
---|
Hl7v3ValidationProfile(org.openehealth.ipf.commons.ihe.hl7v3.Hl7v3ValidationProfile.Row... rows) |
Modifier and Type | Method and Description |
---|---|
Map<String,Object> |
getCustomSchematronParameters(String rootElementName) |
String |
getSchematronPath(String rootElementName) |
String |
getXsdPath(String rootElementName) |
boolean |
isValidRootElement(String rootElementName) |
public static final String DEFAULT_XSD
public static final String GAZELLE_PIXPDQV3_SCHEMATRON
public Hl7v3ValidationProfile(org.openehealth.ipf.commons.ihe.hl7v3.Hl7v3ValidationProfile.Row... rows)
public boolean isValidRootElement(String rootElementName)
isValidRootElement
in interface CombinedXmlValidationProfile
rootElementName
- local name of root XML element of the document that is being validated.true
when the given element name is acceptable,
false
otherwisepublic String getXsdPath(String rootElementName)
getXsdPath
in interface CombinedXmlValidationProfile
rootElementName
- local name of root XML element of the document that is being validated
(already checked for acceptance).null
, when no XML Schema validation should be performed.public String getSchematronPath(String rootElementName)
getSchematronPath
in interface CombinedXmlValidationProfile
rootElementName
- local name of root XML element of the document that is being validated.
(already checked for acceptance).null
, when no Schematron validation should be performed.public Map<String,Object> getCustomSchematronParameters(String rootElementName)
getCustomSchematronParameters
in interface CombinedXmlValidationProfile
rootElementName
- local name of root XML element of the document that is being validated.
(already checked for acceptance).null
, when such parameters are not necessary.Copyright © 2018 Open eHealth Foundation. All rights reserved.