9192939495969798
if (model.getFactory() != null) { writer.writeAttribute("factory", model.getFactory()); } writer.writeEndElement(); } catch (XMLStreamException e) { throw new ContributionWriteException(e); } }
424425426427428429430431
} writeEndDocument(writer); } catch (XMLStreamException e) { throw new ContributionWriteException(e); } }
210211212213214215216217
} writer.writeEndElement(); } catch (XMLStreamException e) { throw new ContributionWriteException(e); } }
9899100101102103104105
writer.writeAttribute(CALLBACK_INTERFACE, javaCallbackInterface.getName()); } writer.writeEndElement(); } catch (XMLStreamException e) { throw new ContributionWriteException(e); } }
152153154155156157158159
writer.writeAttribute(LOCATION, springImplementation.getSpringLocation()); } writer.writeEndElement(); } catch (XMLStreamException e) { throw new ContributionWriteException(e); } } // end write
979899100101102103104
writer.writeAttribute(CLASS, javaImplementation.getName()); } writer.writeEndElement(); } catch (XMLStreamException e) { throw new ContributionWriteException(e); } }
84858687888990919293
StAXArtifactProcessor processor = processors.getProcessor(model.getClass()); if (processor != null) { try { processor.write(model, outputSource); } catch (XMLStreamException e) { throw new ContributionWriteException(e); } } } }
162163164165166167168169
XMLStreamWriter writer = outputFactory.createXMLStreamWriter(os); write(model, writer); writer.flush(); writer.close(); } catch (XMLStreamException e) { throw new ContributionWriteException(e); } }
248249250251252253254255
135136137138139140141142