Package org.fcrepo.client.utility.validate

Examples of org.fcrepo.client.utility.validate.ObjectValidator


            // Get the list of PIDs.
            Iterator<String> pids = getPidIterator(parms, objectSource);

            // Go through the list, validating.
            ObjectValidator validator = new ObjectValidator(objectSource);
            while (pids.hasNext()) {
                results.record(validator.validate(pids.next()));
            }

            // Display the results.
            results.closeResults();
        } catch (ValidatorProcessUsageException e) {
View Full Code Here


    public void initializeSourceAndValidator() {
        objectSource = new MockObjectSource();

        addSeedsToObjectSource(CONTENT_MODEL_EMPTY, OBJECT_SIMPLE_SAMPLE);

        validator = new ObjectValidator(objectSource);
    }
View Full Code Here

        validator = new ObjectValidator(objectSource);
    }

    @Test(expected = NullPointerException.class)
    public void nullArgumentToConstructor() {
        new ObjectValidator(null);
    }
View Full Code Here

TOP

Related Classes of org.fcrepo.client.utility.validate.ObjectValidator

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.