public void marshal(Marshaller _m, T t, OutputStream output, NamespaceContext nsContext) throws JAXBException { MarshallerImpl m = (MarshallerImpl)_m; Runnable pia = null; if(nsContext!=null) pia = new StAXPostInitAction(nsContext,m.serializer); m.write(tagName,bi,t,m.createWriter(output),pia); }
@Override public void marshal(Object obj, XMLStreamWriter writer) throws JAXBException { write(obj, XMLStreamWriterOutput.create(writer,context, escapeHandler), new StAXPostInitAction(writer,serializer)); }
/** * Marshals to {@link OutputStream} with the given in-scope namespaces * taken into account. * * @since 2.1.5 */ public void marshal(Object obj, OutputStream out, NamespaceContext inscopeNamespace) throws JAXBException { write(obj, createWriter(out), new StAXPostInitAction(inscopeNamespace,serializer)); }
@Override public void marshal(Object obj, XMLEventWriter writer) throws JAXBException { write(obj, new XMLEventWriterOutput(writer), new StAXPostInitAction(writer,serializer)); }
public void marshal(Marshaller _m, T t, XMLStreamWriter output) throws JAXBException { MarshallerImpl m = (MarshallerImpl)_m; m.write(tagName,bi,t,XMLStreamWriterOutput.create(output,context, m.getEscapeHandler()),new StAXPostInitAction(output,m.serializer)); }
public void marshal(Marshaller _m, T t, OutputStream output, NamespaceContext nsContext) throws JAXBException { MarshallerImpl m = (MarshallerImpl)_m; Runnable pia = null; if(nsContext!=null) pia = new StAXPostInitAction(nsContext,m.serializer); m.write(tagName,bi,t,m.createWriter(output),pia); }
@Override public void marshal(Object obj, XMLStreamWriter writer) throws JAXBException { write(obj, XMLStreamWriterOutput.create(writer,context, escapeHandler), new StAXPostInitAction(writer,serializer)); }
@Override public void marshal(Object obj, XMLEventWriter writer) throws JAXBException { write(obj, new XMLEventWriterOutput(writer), new StAXPostInitAction(writer,serializer)); }
/** * Marshals to {@link OutputStream} with the given in-scope namespaces * taken into account. * * @since 2.1.5 */ public void marshal(Object obj, OutputStream out, NamespaceContext inscopeNamespace) throws JAXBException { write(obj, createWriter(out), new StAXPostInitAction(inscopeNamespace,serializer)); }
public void marshal(Marshaller _m, T t, XMLStreamWriter output) throws JAXBException { MarshallerImpl m = (MarshallerImpl)_m; m.write(tagName,bi,t,XMLStreamWriterOutput.create(output,context, m.getEscapeHandler()),new StAXPostInitAction(output,m.serializer)); }
/** * Marshals to {@link OutputStream} with the given in-scope namespaces * taken into account. * * @since 2.1.5 */ public void marshal(Object obj, OutputStream out, NamespaceContext inscopeNamespace) throws JAXBException { write(obj, createWriter(out), new StAXPostInitAction(inscopeNamespace,serializer)); }
@Override public void marshal(Object obj, XMLStreamWriter writer) throws JAXBException { write(obj, XMLStreamWriterOutput.create(writer,context), new StAXPostInitAction(writer,serializer)); }
@Override public void marshal(Object obj, XMLEventWriter writer) throws JAXBException { write(obj, new XMLEventWriterOutput(writer), new StAXPostInitAction(writer,serializer)); }
public void marshal(Marshaller _m, T t, OutputStream output, NamespaceContext nsContext) throws JAXBException { MarshallerImpl m = (MarshallerImpl)_m; Runnable pia = null; if(nsContext!=null) pia = new StAXPostInitAction(nsContext,m.serializer); m.write(tagName,bi,t,m.createWriter(output),pia); }
/** * Marshals to {@link OutputStream} with the given in-scope namespaces * taken into account. * * @since 2.1.5 */ public void marshal(Object obj, OutputStream out, NamespaceContext inscopeNamespace) throws JAXBException { write(obj, createWriter(out), new StAXPostInitAction(inscopeNamespace,serializer)); }
public void marshal(Marshaller _m, T t, OutputStream output, NamespaceContext nsContext) throws JAXBException { MarshallerImpl m = (MarshallerImpl)_m; Runnable pia = null; if(nsContext!=null) pia = new StAXPostInitAction(nsContext,m.serializer); m.write(tagName,bi,t,m.createWriter(output),pia); }
@Override public void marshal(Object obj, XMLStreamWriter writer) throws JAXBException { write(obj, XMLStreamWriterOutput.create(writer,context, escapeHandler), new StAXPostInitAction(writer,serializer)); }
public void marshal(Marshaller _m, T t, XMLStreamWriter output) throws JAXBException { MarshallerImpl m = (MarshallerImpl)_m; m.write(tagName,bi,t,XMLStreamWriterOutput.create(output,context),new StAXPostInitAction(output,m.serializer)); }
@Override public void marshal(Object obj, XMLEventWriter writer) throws JAXBException { write(obj, new XMLEventWriterOutput(writer), new StAXPostInitAction(writer,serializer)); }
public void marshal(Marshaller _m, T t, XMLStreamWriter output) throws JAXBException { MarshallerImpl m = (MarshallerImpl)_m; m.write(tagName,bi,t,XMLStreamWriterOutput.create(output,context, m.getEscapeHandler()),new StAXPostInitAction(output,m.serializer)); }