Ejemplo n.º 1
0
 void marshal(InMemory o, XMLSerializer out) throws IOException, SAXException, XMLStreamException {
   try {
     core.marshal(_adaptM(XMLSerializer.getInstance(), o), out);
   } catch (MarshalException e) {
     // recover from error by not marshalling this element.
   }
 }
Ejemplo n.º 2
0
 public void marshal(Marshaller context, InMemory inMemory, ContentHandler contentHandler)
     throws JAXBException {
   core.marshal(context, adaptM(context, inMemory), contentHandler);
 }
Ejemplo n.º 3
0
 public void marshal(Marshaller m, InMemory inMemory, Node output) throws JAXBException {
   core.marshal(m, adaptM(m, inMemory), output);
 }
Ejemplo n.º 4
0
 public void marshal(Marshaller m, InMemory inMemory, OutputStream output, NamespaceContext nsc)
     throws JAXBException {
   core.marshal(m, adaptM(m, inMemory), output, nsc);
 }
Ejemplo n.º 5
0
 public void marshal(Marshaller m, InMemory inMemory, XMLStreamWriter output)
     throws JAXBException {
   core.marshal(m, adaptM(m, inMemory), output);
 }
Ejemplo n.º 6
0
 public BridgeAdapter(
     InternalBridge<OnWire> core, Class<? extends XmlAdapter<OnWire, InMemory>> adapter) {
   super(core.getContext());
   this.core = core;
   this.adapter = adapter;
 }
Ejemplo n.º 7
0
 public TypeReference getTypeReference() {
   return core.getTypeReference();
 }
Ejemplo n.º 8
0
 public @NotNull InMemory unmarshal(Unmarshaller u, Node n) throws JAXBException {
   return adaptU(u, core.unmarshal(u, n));
 }
Ejemplo n.º 9
0
 public @NotNull InMemory unmarshal(Unmarshaller u, InputStream in) throws JAXBException {
   return adaptU(u, core.unmarshal(u, in));
 }
Ejemplo n.º 10
0
 public void marshal(Marshaller context, InMemory inMemory, Result result) throws JAXBException {
   core.marshal(context, adaptM(context, inMemory), result);
 }