mbeckerle commented on a change in pull request #431:
URL: https://github.com/apache/incubator-daffodil/pull/431#discussion_r512711937
##########
File path:
daffodil-runtime1/src/main/scala/org/apache/daffodil/processors/DataProcessor.scala
##########
@@ -243,6 +250,18 @@ class DataProcessor private (
def withValidationMode(mode:ValidationMode.Type): DataProcessor =
copy(validationMode = mode)
+ def withValidator(validator: Validator): DataProcessor = copy(validationMode
= ValidationMode.Custom(validator))
+
+ lazy val validator: Validator = {
Review comment:
This is the validator factory right? rename.
----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
For queries about this service, please contact Infrastructure at:
[email protected]