com.sun.xml.internal.bind.api.BridgeContext Java Examples

The following examples show how to use com.sun.xml.internal.bind.api.BridgeContext. You can vote up the ones you like or vote down the ones you don't like, and go to the original project or source file by following the links above each example. You may check out the related API usage on the sidebar.
Example #1
Source File: AbstractHeaderImpl.java    From hottub with GNU General Public License v2.0 4 votes vote down vote up
/**
 * @deprecated
 */
public final <T> T readAsJAXB(Bridge<T> bridge, BridgeContext context) throws JAXBException {
    return readAsJAXB(bridge);
}
 
Example #2
Source File: OldBridge.java    From openjdk-8 with GNU General Public License v2.0 4 votes vote down vote up
public final @NotNull T unmarshal(@NotNull BridgeContext context, @NotNull XMLStreamReader in) throws JAXBException {
    return unmarshal( ((BridgeContextImpl)context).unmarshaller, in );
}
 
Example #3
Source File: OldBridge.java    From openjdk-8-source with GNU General Public License v2.0 4 votes vote down vote up
public final void marshal(@NotNull BridgeContext context,T object, ContentHandler contentHandler) throws JAXBException {
    marshal( ((BridgeContextImpl)context).marshaller, object, contentHandler );
}
 
Example #4
Source File: OldBridge.java    From openjdk-8 with GNU General Public License v2.0 4 votes vote down vote up
public final void marshal(@NotNull BridgeContext context,T object,XMLStreamWriter output) throws JAXBException {
    marshal( ((BridgeContextImpl)context).marshaller, object, output );
}
 
Example #5
Source File: OldBridge.java    From openjdk-8 with GNU General Public License v2.0 4 votes vote down vote up
public final void marshal(@NotNull BridgeContext context,T object,OutputStream output, NamespaceContext nsContext) throws JAXBException {
    marshal( ((BridgeContextImpl)context).marshaller, object, output, nsContext );
}
 
Example #6
Source File: AbstractHeaderImpl.java    From openjdk-8 with GNU General Public License v2.0 4 votes vote down vote up
/**
 * @deprecated
 */
public final <T> T readAsJAXB(Bridge<T> bridge, BridgeContext context) throws JAXBException {
    return readAsJAXB(bridge);
}
 
Example #7
Source File: OldBridge.java    From openjdk-8-source with GNU General Public License v2.0 4 votes vote down vote up
public final @NotNull T unmarshal(@NotNull BridgeContext context, @NotNull InputStream in) throws JAXBException {
    return unmarshal( ((BridgeContextImpl)context).unmarshaller, in );
}
 
Example #8
Source File: OldBridge.java    From openjdk-8-source with GNU General Public License v2.0 4 votes vote down vote up
public final @NotNull T unmarshal(@NotNull BridgeContext context, @NotNull Source in) throws JAXBException {
    return unmarshal( ((BridgeContextImpl)context).unmarshaller, in );
}
 
Example #9
Source File: OldBridge.java    From openjdk-8-source with GNU General Public License v2.0 4 votes vote down vote up
public final @NotNull T unmarshal(@NotNull BridgeContext context, @NotNull XMLStreamReader in) throws JAXBException {
    return unmarshal( ((BridgeContextImpl)context).unmarshaller, in );
}
 
Example #10
Source File: OldBridge.java    From openjdk-8 with GNU General Public License v2.0 4 votes vote down vote up
public final void marshal(@NotNull BridgeContext context,T object, Result result) throws JAXBException {
    marshal( ((BridgeContextImpl)context).marshaller, object, result );
}
 
Example #11
Source File: OldBridge.java    From openjdk-8-source with GNU General Public License v2.0 4 votes vote down vote up
public final @NotNull T unmarshal(@NotNull BridgeContext context, @NotNull Node n) throws JAXBException {
    return unmarshal( ((BridgeContextImpl)context).unmarshaller, n );
}
 
Example #12
Source File: OldBridge.java    From hottub with GNU General Public License v2.0 4 votes vote down vote up
public final void marshal(@NotNull BridgeContext context,T object, ContentHandler contentHandler) throws JAXBException {
    marshal( ((BridgeContextImpl)context).marshaller, object, contentHandler );
}
 
Example #13
Source File: OldBridge.java    From hottub with GNU General Public License v2.0 4 votes vote down vote up
public final void marshal(@NotNull BridgeContext context,T object,Node output) throws JAXBException {
    marshal( ((BridgeContextImpl)context).marshaller, object, output );
}
 
Example #14
Source File: OldBridge.java    From hottub with GNU General Public License v2.0 4 votes vote down vote up
public final void marshal(@NotNull BridgeContext context,T object,OutputStream output, NamespaceContext nsContext) throws JAXBException {
    marshal( ((BridgeContextImpl)context).marshaller, object, output, nsContext );
}
 
Example #15
Source File: OldBridge.java    From hottub with GNU General Public License v2.0 4 votes vote down vote up
public final void marshal(@NotNull BridgeContext context,T object,XMLStreamWriter output) throws JAXBException {
    marshal( ((BridgeContextImpl)context).marshaller, object, output );
}
 
Example #16
Source File: OldBridge.java    From hottub with GNU General Public License v2.0 4 votes vote down vote up
public final void marshal(@NotNull BridgeContext context,T object, Result result) throws JAXBException {
    marshal( ((BridgeContextImpl)context).marshaller, object, result );
}
 
Example #17
Source File: JAXBContextImpl.java    From openjdk-jdk9 with GNU General Public License v2.0 4 votes vote down vote up
public @NotNull BridgeContext createBridgeContext() {
    return new BridgeContextImpl(this);
}
 
Example #18
Source File: OldBridge.java    From openjdk-jdk9 with GNU General Public License v2.0 4 votes vote down vote up
public final @NotNull T unmarshal(@NotNull BridgeContext context, @NotNull Node n) throws JAXBException {
    return unmarshal( ((BridgeContextImpl)context).unmarshaller, n );
}
 
Example #19
Source File: OldBridge.java    From openjdk-jdk9 with GNU General Public License v2.0 4 votes vote down vote up
public final @NotNull T unmarshal(@NotNull BridgeContext context, @NotNull InputStream in) throws JAXBException {
    return unmarshal( ((BridgeContextImpl)context).unmarshaller, in );
}
 
Example #20
Source File: OldBridge.java    From openjdk-jdk9 with GNU General Public License v2.0 4 votes vote down vote up
public final @NotNull T unmarshal(@NotNull BridgeContext context, @NotNull Source in) throws JAXBException {
    return unmarshal( ((BridgeContextImpl)context).unmarshaller, in );
}
 
Example #21
Source File: OldBridge.java    From openjdk-jdk9 with GNU General Public License v2.0 4 votes vote down vote up
public final @NotNull T unmarshal(@NotNull BridgeContext context, @NotNull XMLStreamReader in) throws JAXBException {
    return unmarshal( ((BridgeContextImpl)context).unmarshaller, in );
}
 
Example #22
Source File: OldBridge.java    From openjdk-jdk9 with GNU General Public License v2.0 4 votes vote down vote up
public final void marshal(@NotNull BridgeContext context,T object, Result result) throws JAXBException {
    marshal( ((BridgeContextImpl)context).marshaller, object, result );
}
 
Example #23
Source File: OldBridge.java    From openjdk-jdk9 with GNU General Public License v2.0 4 votes vote down vote up
public final void marshal(@NotNull BridgeContext context,T object, ContentHandler contentHandler) throws JAXBException {
    marshal( ((BridgeContextImpl)context).marshaller, object, contentHandler );
}
 
Example #24
Source File: OldBridge.java    From openjdk-jdk9 with GNU General Public License v2.0 4 votes vote down vote up
public final void marshal(@NotNull BridgeContext context,T object,Node output) throws JAXBException {
    marshal( ((BridgeContextImpl)context).marshaller, object, output );
}
 
Example #25
Source File: OldBridge.java    From openjdk-jdk9 with GNU General Public License v2.0 4 votes vote down vote up
public final void marshal(@NotNull BridgeContext context,T object,OutputStream output, NamespaceContext nsContext) throws JAXBException {
    marshal( ((BridgeContextImpl)context).marshaller, object, output, nsContext );
}
 
Example #26
Source File: OldBridge.java    From openjdk-jdk9 with GNU General Public License v2.0 4 votes vote down vote up
public final void marshal(@NotNull BridgeContext context,T object,XMLStreamWriter output) throws JAXBException {
    marshal( ((BridgeContextImpl)context).marshaller, object, output );
}
 
Example #27
Source File: AbstractHeaderImpl.java    From openjdk-jdk9 with GNU General Public License v2.0 4 votes vote down vote up
/**
 * @deprecated
 */
public final <T> T readAsJAXB(Bridge<T> bridge, BridgeContext context) throws JAXBException {
    return readAsJAXB(bridge);
}
 
Example #28
Source File: JAXBContextImpl.java    From openjdk-jdk8u-backup with GNU General Public License v2.0 4 votes vote down vote up
public @NotNull BridgeContext createBridgeContext() {
    return new BridgeContextImpl(this);
}
 
Example #29
Source File: OldBridge.java    From openjdk-jdk8u-backup with GNU General Public License v2.0 4 votes vote down vote up
public final @NotNull T unmarshal(@NotNull BridgeContext context, @NotNull Node n) throws JAXBException {
    return unmarshal( ((BridgeContextImpl)context).unmarshaller, n );
}
 
Example #30
Source File: OldBridge.java    From openjdk-jdk8u-backup with GNU General Public License v2.0 4 votes vote down vote up
public final @NotNull T unmarshal(@NotNull BridgeContext context, @NotNull InputStream in) throws JAXBException {
    return unmarshal( ((BridgeContextImpl)context).unmarshaller, in );
}