XmlValidationConfig
Configuration class for XML validation that can be passed to other methods for validating the xml.
Methods
schema
schema(
pSchema?):XmlValidationConfig
Sets the XML Schema for XML validation.
Parameters
pSchema?
anyThe XML Schema to be used for validation. This can be either a string or XML-Object (or null). Any other types raise a AditoIllegalArgumentRuntimeException.
Returns
XmlValidationConfigThe instance of XmlValidationConfig with the updated XML Schema.
xml
xml(
pXml?):XmlValidationConfig
Sets the XML string that should be validated later.
Parameters
pXml?
anyThe XML string that should be set as the XML string to be validated later. This can be either a string or XML-Object (or null). Any other types raise a AditoIllegalArgumentRuntimeException.
Returns
XmlValidationConfigThe instance of XmlValidationConfig with the updated XML string.