Top Description Fields Constructors Methods
org.glassfish.jaxb.runtime.v2.runtime

pack-priv final Class BridgeAdapter<OnWire, InMemory>

extends InternalBridge<InMemory>
Class Inheritance
Imports
com.sun.istack.NotNull, org.glassfish.jaxb.runtime.api.Bridge, .TypeReference, org.glassfish.jaxb.runtime.v2.runtime.unmarshaller.UnmarshallerImpl, jakarta.xml.bind.*, jakarta.xml.bind.annotation.adapters.XmlAdapter, org.w3c.dom.Node, org.xml.sax.ContentHandler, .SAXException, javax.xml.namespace.NamespaceContext, javax.xml.stream.XMLStreamException, .XMLStreamReader, .XMLStreamWriter, javax.xml.transform.Result, .Source, java.io.IOException, .InputStream, .OutputStream

Bridge decorator for XmlAdapter.
Author
Kohsuke Kawaguchi

Field Summary

Modifier and TypeField and Description
private final Class<? extends XmlAdapter<OnWire, InMemory>>
private final InternalBridge<OnWire>

Constructor Summary

AccessConstructor and Description
public
BridgeAdapter(InternalBridge<OnWire> core, Class<? extends XmlAdapter<OnWire, InMemory>> adapter)

Method Summary

Modifier and TypeMethod and Description
private OnWire
_adaptM(XMLSerializer serializer, InMemory v)

private OnWire
adaptM(Marshaller m, InMemory v)

private InMemory
adaptU(Unmarshaller _u, OnWire v)

public TypeReference
getTypeReference()

Implements abstract org.glassfish.jaxb.runtime.api.Bridge.getTypeReference.

Gets the TypeReference from which this bridge was created.

public void
marshal(Marshaller m, InMemory inMemory, XMLStreamWriter output)

Implements abstract org.glassfish.jaxb.runtime.api.Bridge.marshal.

public void
marshal(Marshaller m, InMemory inMemory, OutputStream output, NamespaceContext nsc)

Implements abstract org.glassfish.jaxb.runtime.api.Bridge.marshal.

public void
marshal(Marshaller m, InMemory inMemory, Node output)

Implements abstract org.glassfish.jaxb.runtime.api.Bridge.marshal.

public void
marshal(Marshaller context, InMemory inMemory, ContentHandler contentHandler)

Implements abstract org.glassfish.jaxb.runtime.api.Bridge.marshal.

public void
marshal(Marshaller context, InMemory inMemory, Result result)

Implements abstract org.glassfish.jaxb.runtime.api.Bridge.marshal.

pack-priv void
marshal(InMemory o, XMLSerializer out)

Implements abstract org.glassfish.jaxb.runtime.v2.runtime.InternalBridge.marshal.

Called from CompositeStructureBeanInfo to marshal this bridge as a sub-tree.

public InMemory
public InMemory
public InMemory
public InMemory
Inherited from org.glassfish.jaxb.runtime.v2.runtime.InternalBridge:
getContext

Field Detail

adapterback to summary
private final Class<? extends XmlAdapter<OnWire, InMemory>> adapter
coreback to summary
private final InternalBridge<OnWire> core

Constructor Detail

BridgeAdapterback to summary
public BridgeAdapter(InternalBridge<OnWire> core, Class<? extends XmlAdapter<OnWire, InMemory>> adapter)

Method Detail

_adaptMback to summary
private OnWire _adaptM(XMLSerializer serializer, InMemory v) throws MarshalException
adaptMback to summary
private OnWire adaptM(Marshaller m, InMemory v) throws JAXBException
adaptUback to summary
private InMemory adaptU(Unmarshaller _u, OnWire v) throws JAXBException
Annotations
@NotNull
getTypeReferenceback to summary
public TypeReference getTypeReference()

Implements abstract org.glassfish.jaxb.runtime.api.Bridge.getTypeReference.

Doc from org.glassfish.jaxb.runtime.api.Bridge.getTypeReference.

Gets the TypeReference from which this bridge was created.

Annotations
@Override
marshalback to summary
public void marshal(Marshaller m, InMemory inMemory, XMLStreamWriter output) throws JAXBException

Implements abstract org.glassfish.jaxb.runtime.api.Bridge.marshal.

Annotations
@Override
marshalback to summary
public void marshal(Marshaller m, InMemory inMemory, OutputStream output, NamespaceContext nsc) throws JAXBException

Implements abstract org.glassfish.jaxb.runtime.api.Bridge.marshal.

Annotations
@Override
marshalback to summary
public void marshal(Marshaller m, InMemory inMemory, Node output) throws JAXBException

Implements abstract org.glassfish.jaxb.runtime.api.Bridge.marshal.

Annotations
@Override
marshalback to summary
public void marshal(Marshaller context, InMemory inMemory, ContentHandler contentHandler) throws JAXBException

Implements abstract org.glassfish.jaxb.runtime.api.Bridge.marshal.

Annotations
@Override
marshalback to summary
public void marshal(Marshaller context, InMemory inMemory, Result result) throws JAXBException

Implements abstract org.glassfish.jaxb.runtime.api.Bridge.marshal.

Annotations
@Override
marshalback to summary
pack-priv void marshal(InMemory o, XMLSerializer out) throws IOException, SAXException, XMLStreamException

Implements abstract org.glassfish.jaxb.runtime.v2.runtime.InternalBridge.marshal.

Doc from org.glassfish.jaxb.runtime.v2.runtime.InternalBridge.marshal.

Called from CompositeStructureBeanInfo to marshal this bridge as a sub-tree.

Annotations
@Override
unmarshalback to summary
public InMemory unmarshal(Unmarshaller u, XMLStreamReader in) throws JAXBException

Implements abstract org.glassfish.jaxb.runtime.api.Bridge.unmarshal.

Annotations
@NotNull
@Override
unmarshalback to summary
public InMemory unmarshal(Unmarshaller u, Source in) throws JAXBException

Implements abstract org.glassfish.jaxb.runtime.api.Bridge.unmarshal.

Annotations
@NotNull
@Override
unmarshalback to summary
public InMemory unmarshal(Unmarshaller u, InputStream in) throws JAXBException

Implements abstract org.glassfish.jaxb.runtime.api.Bridge.unmarshal.

Annotations
@NotNull
@Override
unmarshalback to summary
public InMemory unmarshal(Unmarshaller u, Node n) throws JAXBException

Implements abstract org.glassfish.jaxb.runtime.api.Bridge.unmarshal.

Annotations
@NotNull
@Override