Package org.jitterbit.integration.data.entity.document

Examples of org.jitterbit.integration.data.entity.document.TextDocumentValidator


    private void validateStructure(TextStructure struct) {
        TextDocument doc = new TextDocument("X");
        doc.setDelimiter(FieldDelimiter.COMMA);
        doc.setStructure(struct);
        ValidationMessageCollectorImpl collector = new ValidationMessageCollectorImpl(ValidationContext.EMPTY);
        TextDocumentValidator validator = new TextDocumentValidator(doc, collector);
        validator.run();
        assertSame(ValidationStatus.VALID, collector.result().status());
    }
View Full Code Here


        return clone;
    }

    @Override
    protected void validateOtherPropertiesThanTheName(ValidationMessageCollector collector) {
        new TextDocumentValidator(this, collector).run();
    }
View Full Code Here

TOP

Related Classes of org.jitterbit.integration.data.entity.document.TextDocumentValidator

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.