Search in sources :

Example 1 with JAXBModel

use of com.sun.tools.ws.processor.model.jaxb.JAXBModel in project metro-jax-ws by eclipse-ee4j.

the class JAXBModelBuilder method bind.

protected void bind() {
    S2JJAXBModel rawJaxbModel = schemaCompiler.bind();
    if (rawJaxbModel == null)
        throw new AbortException();
    options.setCodeModel(rawJaxbModel.generateCode(null, errReceiver));
    jaxbModel = new JAXBModel(rawJaxbModel);
    jaxbModel.setGeneratedClassNames(_classNameAllocator.getJaxbGeneratedClasses());
}
Also used : S2JJAXBModel(com.sun.tools.xjc.api.S2JJAXBModel) JAXBModel(com.sun.tools.ws.processor.model.jaxb.JAXBModel) S2JJAXBModel(com.sun.tools.xjc.api.S2JJAXBModel) AbortException(com.sun.tools.ws.wscompile.AbortException)

Aggregations

JAXBModel (com.sun.tools.ws.processor.model.jaxb.JAXBModel)1 AbortException (com.sun.tools.ws.wscompile.AbortException)1 S2JJAXBModel (com.sun.tools.xjc.api.S2JJAXBModel)1