com.sun.xml.bind.v2.runtime
Class InternalBridge<T>

java.lang.Object
  extended by com.sun.xml.bind.api.Bridge<T>
      extended by com.sun.xml.bind.v2.runtime.InternalBridge<T>
Direct Known Subclasses:
BridgeAdapter, BridgeImpl

abstract class InternalBridge<T>
extends Bridge<T>

Additional methods on Bridge that are only available for the JAXB runtime.


Field Summary
 
Fields inherited from class com.sun.xml.bind.api.Bridge
context
 
Constructor Summary
protected InternalBridge(JAXBContextImpl context)
           
 
Method Summary
 JAXBContextImpl getContext()
          Gets the JAXBRIContext to which this object belongs.
(package private) abstract  void marshal(T o, XMLSerializer out)
          Called from CompositeStructureBeanInfo to marshal this bridge as a sub-tree.
 
Methods inherited from class com.sun.xml.bind.api.Bridge
getTypeReference, marshal, marshal, marshal, marshal, marshal, marshal, marshal, marshal, marshal, marshal, marshal, marshal, marshal, marshal, marshal, marshal, marshal, marshal, unmarshal, unmarshal, unmarshal, unmarshal, unmarshal, unmarshal, unmarshal, unmarshal, unmarshal, unmarshal, unmarshal, unmarshal, unmarshal, unmarshal, unmarshal
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

InternalBridge

protected InternalBridge(JAXBContextImpl context)
Method Detail

getContext

public JAXBContextImpl getContext()
Description copied from class: Bridge
Gets the JAXBRIContext to which this object belongs.

Overrides:
getContext in class Bridge<T>

marshal

abstract void marshal(T o,
                      XMLSerializer out)
               throws IOException,
                      SAXException,
                      javax.xml.stream.XMLStreamException
Called from CompositeStructureBeanInfo to marshal this bridge as a sub-tree.

Throws:
IOException
SAXException
javax.xml.stream.XMLStreamException