Package org.jitterbit.integration.data.structure.text

Examples of org.jitterbit.integration.data.structure.text.TextStructureValidator.validate()


        }
    }

    private void validateFields(Iterable<Field> fields, TextValidatorFactory validatorFactory) {
        TextStructureValidator validator = validatorFactory.createFieldValidator(fields);
        for (ValidationIssue issue : validator.validate()) {
            fatal(issue.getDescription());
        }
    }

    private void validateComplexStructure(ComplexTextStructure structure, TextValidatorFactory validatorFactory) {
View Full Code Here


        validateSegmentFields(structure, validatorFactory);
    }

    private void validateSegments(ComplexTextStructure structure, TextValidatorFactory validatorFactory) {
        TextStructureValidator validator = validatorFactory.createSegmentValidator(structure);
        for (ValidationIssue issue : validator.validate()) {
            fatal(issue.getDescription());
        }
    }

    private void validateSegmentFields(ComplexTextStructure structure, TextValidatorFactory validatorFactory) {
View Full Code Here

TOP
Copyright © 2018 www.massapi.com. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.