@Test public void schemaGeneration(){ ServiceDescription.main(null); }
public static void main(final String[] args) { try { Class<ServiceDescription> clazz = ServiceDescription.class; JAXBContext context = JAXBContext.newInstance(clazz); context.generateSchema(new Resolver()); System.out.println("Generated XML schema for " + clazz.getSimpleName() + " at " + new java.io.File(baseDir, schemaFileName) .getAbsolutePath()); } catch (JAXBException e) { e.printStackTrace(); } catch (IOException e) { e.printStackTrace(); } }
ServiceDescription { public static void main(final String[] args) { try { Class<ServiceDescription> clazz = ServiceDescription.class; JAXBContext context = JAXBContext.newInstance(clazz); context.generateSchema(new Resolver()); System.out.println("Generated XML schema for " + clazz.getSimpleName() + " at " + new java.io.File(baseDir, schemaFileName) .getAbsolutePath()); } catch (JAXBException e) { e.printStackTrace(); } catch (IOException e) { e.printStackTrace(); } } }
ServiceDescription { public static void main(final String[] args) { try { Class<ServiceDescription> clazz = ServiceDescription.class; JAXBContext context = JAXBContext.newInstance(clazz); context.generateSchema(new Resolver()); System.out.println("Generated XML schema for " + clazz.getSimpleName() + " at " + new java.io.File(baseDir, schemaFileName) .getAbsolutePath()); } catch (JAXBException e) { e.printStackTrace(); } catch (IOException e) { e.printStackTrace(); } } protected  ServiceDescription(final Builder builder); private  ServiceDescription(); }
ServiceDescription { public static void main(final String[] args) { try { Class<ServiceDescription> clazz = ServiceDescription.class; JAXBContext context = JAXBContext.newInstance(clazz); context.generateSchema(new Resolver()); System.out.println("Generated XML schema for " + clazz.getSimpleName() + " at " + new java.io.File(baseDir, schemaFileName) .getAbsolutePath()); } catch (JAXBException e) { e.printStackTrace(); } catch (IOException e) { e.printStackTrace(); } } protected  ServiceDescription(final Builder builder); private  ServiceDescription(); static ServiceDescription.Builder create(final String name,
            final String type); static ServiceDescription.Builder copy(
            final ServiceDescription serviceDescription); @Queryable String getName(); @Queryable String getClassname(); @Queryable String getType(); @Queryable URL getEndpoint(); @Queryable List<Parameter> getParameters(); @Queryable Tool getTool(); @Queryable String getDescription(); @Queryable String getVersion(); @Queryable String getAuthor(); @Queryable String getServiceProvider(); @Queryable String getInstructions(); @Queryable URI getFurtherInfo(); @Queryable URI getLogo(); @Queryable String getIdentifier(); @Queryable List<MigrationPath> getPaths(); @Queryable List<URI> getInputFormats(); @Queryable List<Property> getProperties(); @Override int hashCode(); @Override boolean equals(final Object obj); static ServiceDescription of(final String xml); String toXml(); String toXmlFormatted(); @Override String toString(); static void main(final String[] args); }
ServiceDescription { public static void main(final String[] args) { try { Class<ServiceDescription> clazz = ServiceDescription.class; JAXBContext context = JAXBContext.newInstance(clazz); context.generateSchema(new Resolver()); System.out.println("Generated XML schema for " + clazz.getSimpleName() + " at " + new java.io.File(baseDir, schemaFileName) .getAbsolutePath()); } catch (JAXBException e) { e.printStackTrace(); } catch (IOException e) { e.printStackTrace(); } } protected  ServiceDescription(final Builder builder); private  ServiceDescription(); static ServiceDescription.Builder create(final String name,
            final String type); static ServiceDescription.Builder copy(
            final ServiceDescription serviceDescription); @Queryable String getName(); @Queryable String getClassname(); @Queryable String getType(); @Queryable URL getEndpoint(); @Queryable List<Parameter> getParameters(); @Queryable Tool getTool(); @Queryable String getDescription(); @Queryable String getVersion(); @Queryable String getAuthor(); @Queryable String getServiceProvider(); @Queryable String getInstructions(); @Queryable URI getFurtherInfo(); @Queryable URI getLogo(); @Queryable String getIdentifier(); @Queryable List<MigrationPath> getPaths(); @Queryable List<URI> getInputFormats(); @Queryable List<Property> getProperties(); @Override int hashCode(); @Override boolean equals(final Object obj); static ServiceDescription of(final String xml); String toXml(); String toXmlFormatted(); @Override String toString(); static void main(final String[] args); static final URI PROPERTY; static final String AUTHORIZED_ROLES; }