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

pack-priv final Class BridgeImpl<T>

extends InternalBridge<T>
Class Inheritance
Imports
com.sun.istack.NotNull, org.glassfish.jaxb.core.marshaller.SAX2DOMEx, org.glassfish.jaxb.runtime.api.Bridge, .TypeReference, org.glassfish.jaxb.runtime.v2.runtime.output.SAXOutput, .XMLStreamWriterOutput, org.glassfish.jaxb.runtime.v2.runtime.unmarshaller.UnmarshallerImpl, jakarta.xml.bind.JAXBElement, .JAXBException, .Marshaller, .Unmarshaller, 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 implementaiton.
Author
Kohsuke Kawaguchi

Field Summary

Modifier and TypeField and Description
private final JaxBeanInfo<T>
private final Name
tagName

Tag name associated with this Bridge.

private final TypeReference

Constructor Summary

AccessConstructor and Description
public
BridgeImpl(JAXBContextImpl context, Name tagName, JaxBeanInfo<T> bi, TypeReference typeRef)

Method Summary

Modifier and TypeMethod and Description
public TypeReference
getTypeReference()

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

Gets the TypeReference from which this bridge was created.

public void
public void
public void
public void
public void
public void
marshal(T value, XMLSerializer out)

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

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

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

Field Detail

biback to summary
private final JaxBeanInfo<T> bi
tagNameback to summary
private final Name tagName

Tag name associated with this Bridge. Used for marshalling.

typeRefback to summary
private final TypeReference typeRef

Constructor Detail

BridgeImplback to summary
public BridgeImpl(JAXBContextImpl context, Name tagName, JaxBeanInfo<T> bi, TypeReference typeRef)

Method Detail

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, T t, XMLStreamWriter output) throws JAXBException

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

Annotations
@Override
marshalback to summary
public void marshal(Marshaller _m, T t, OutputStream output, NamespaceContext nsContext) throws JAXBException

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

Annotations
@Override
marshalback to summary
public void marshal(Marshaller _m, T t, Node output) throws JAXBException

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

Annotations
@Override
marshalback to summary
public void marshal(Marshaller _m, T t, ContentHandler contentHandler) throws JAXBException

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

Annotations
@Override
marshalback to summary
public void marshal(Marshaller _m, T t, Result result) throws JAXBException

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

Annotations
@Override
marshalback to summary
public void marshal(T value, 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 T unmarshal(Unmarshaller _u, XMLStreamReader in) throws JAXBException

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

Annotations
@Override
@SuppressWarnings:unchecked
@NotNull
unmarshalback to summary
public T unmarshal(Unmarshaller _u, Source in) throws JAXBException

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

Annotations
@Override
@SuppressWarnings:unchecked
@NotNull
unmarshalback to summary
public T unmarshal(Unmarshaller _u, InputStream in) throws JAXBException

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

Annotations
@Override
@SuppressWarnings:unchecked
@NotNull
unmarshalback to summary
public T unmarshal(Unmarshaller _u, Node n) throws JAXBException

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

Annotations
@Override
@SuppressWarnings:unchecked
@NotNull