@Test public void testDescribe() { ServiceDescription desc = ids.describe(); System.out.println("Recieved service description: " + desc.toXmlFormatted() ); assertTrue("The ServiceDescription should not be NULL.", desc != null ); }
public ServiceDescription describe() { ServiceDescription.Builder mds = new ServiceDescription.Builder(NAME, Validate.class.getCanonicalName()); mds.description("A validator for ODF file, based on the ODF Toolkit project ODF Validator."); mds.author("Andrew Jackson <Andrew.Jackson@bl.uk>"); try { mds.furtherInfo(new URI("http: } catch (URISyntaxException e) { } mds.classname(this.getClass().getCanonicalName()); return mds.build(); }
ODFValidatorService implements Validate { public ServiceDescription describe() { ServiceDescription.Builder mds = new ServiceDescription.Builder(NAME, Validate.class.getCanonicalName()); mds.description("A validator for ODF file, based on the ODF Toolkit project ODF Validator."); mds.author("Andrew Jackson <Andrew.Jackson@bl.uk>"); try { mds.furtherInfo(new URI("http: } catch (URISyntaxException e) { } mds.classname(this.getClass().getCanonicalName()); return mds.build(); } }
ODFValidatorService implements Validate { public ServiceDescription describe() { ServiceDescription.Builder mds = new ServiceDescription.Builder(NAME, Validate.class.getCanonicalName()); mds.description("A validator for ODF file, based on the ODF Toolkit project ODF Validator."); mds.author("Andrew Jackson <Andrew.Jackson@bl.uk>"); try { mds.furtherInfo(new URI("http: } catch (URISyntaxException e) { } mds.classname(this.getClass().getCanonicalName()); return mds.build(); }  }
ODFValidatorService implements Validate { public ServiceDescription describe() { ServiceDescription.Builder mds = new ServiceDescription.Builder(NAME, Validate.class.getCanonicalName()); mds.description("A validator for ODF file, based on the ODF Toolkit project ODF Validator."); mds.author("Andrew Jackson <Andrew.Jackson@bl.uk>"); try { mds.furtherInfo(new URI("http: } catch (URISyntaxException e) { } mds.classname(this.getClass().getCanonicalName()); return mds.build(); }  ServiceDescription describe(); ValidateResult validate(DigitalObject dob, URI format, List<Parameter> parameters); }
ODFValidatorService implements Validate { public ServiceDescription describe() { ServiceDescription.Builder mds = new ServiceDescription.Builder(NAME, Validate.class.getCanonicalName()); mds.description("A validator for ODF file, based on the ODF Toolkit project ODF Validator."); mds.author("Andrew Jackson <Andrew.Jackson@bl.uk>"); try { mds.furtherInfo(new URI("http: } catch (URISyntaxException e) { } mds.classname(this.getClass().getCanonicalName()); return mds.build(); }  ServiceDescription describe(); ValidateResult validate(DigitalObject dob, URI format, List<Parameter> parameters); static final String NAME; }