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

Examples of org.jitterbit.integration.data.structure.text.TextStructureValidator


            validateComplexStructure((ComplexTextStructure) structure, validatorFactory);
        }
    }

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


        validateSegments(structure, validatorFactory);
        validateSegmentFields(structure, validatorFactory);
    }

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

TOP

Related Classes of org.jitterbit.integration.data.structure.text.TextStructureValidator

Copyright © 2018 www.massapicom. 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.