Package org.apache.ws.jaxme.generator

Examples of org.apache.ws.jaxme.generator.Generator.addBindings()


   */
  public void testBindingGenerator() throws Exception {
    Generator g = new GeneratorImpl();
    g.setTargetDirectory(new File("build/tests/binding/src"));
    g.setResourceTargetDirectory(new File("build/tests/binding/src"));
    g.addBindings(new InputSource(new File("src/test/jaxb/bindings/bindings.jxb").toURI().toURL().toExternalForm()));
    SchemaReader sr = new JAXBSchemaReader();
    sr.setGenerator(g);
    g.setSchemaReader(sr);
    g.generate(new File("src/test/jaxb/bindings/bindings.xsd"));
  }
View Full Code Here

TOP
Copyright © 2018 www.massapi.com. 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.