@Test public void testValidate() throws MalformedURLException, URISyntaxException { testValidateThis(new DigitalObject.Builder( Content.byValue(new File("tests/test-files/documents/test_odt/v11/test_file_v11.odt") ) ).build() , new URI("planets:fmt/ext/odf"), true); testValidateThis(new DigitalObject.Builder( Content.byReference(new File("PC/odf-toolkit/src/test/resources/HelloWorld.doc") ) ).build() , new URI("planets:fmt/ext/odf"), true); testValidateThis(new DigitalObject.Builder( Content.byReference(new File("PC/odf-toolkit/src/test/resources/HelloWorld.sxw") ) ).build() , new URI("planets:fmt/ext/odf"), false); testValidateThis(null, new URI("http: testValidateThis(new DigitalObject.Builder( Content.byReference(new URL("http: true); }
public ValidateResult validate(DigitalObject dob, URI format, List<Parameter> parameters) { return ODFValidatorWrapper.validateODF(dob,format); }
ODFValidatorService implements Validate { public ValidateResult validate(DigitalObject dob, URI format, List<Parameter> parameters) { return ODFValidatorWrapper.validateODF(dob,format); } }
ODFValidatorService implements Validate { public ValidateResult validate(DigitalObject dob, URI format, List<Parameter> parameters) { return ODFValidatorWrapper.validateODF(dob,format); }  }
ODFValidatorService implements Validate { public ValidateResult validate(DigitalObject dob, URI format, List<Parameter> parameters) { return ODFValidatorWrapper.validateODF(dob,format); }  ServiceDescription describe(); ValidateResult validate(DigitalObject dob, URI format, List<Parameter> parameters); }
ODFValidatorService implements Validate { public ValidateResult validate(DigitalObject dob, URI format, List<Parameter> parameters) { return ODFValidatorWrapper.validateODF(dob,format); }  ServiceDescription describe(); ValidateResult validate(DigitalObject dob, URI format, List<Parameter> parameters); static final String NAME; }