Skip navigation links

Oracle Fusion Middleware Java API Reference for Oracle TopLink
11g Release 1 (11.1.1)

E28847-01


org.eclipse.persistence.jaxb.attachment
Class AttachmentUnmarshallerAdapter

java.lang.Object
  extended by org.eclipse.persistence.jaxb.attachment.AttachmentUnmarshallerAdapter

All Implemented Interfaces:
XMLAttachmentUnmarshaller

public class AttachmentUnmarshallerAdapter
extends java.lang.Object
implements XMLAttachmentUnmarshaller

INTERNAL:

Purpose:Provide an implementation of the TopLink OX XMLAttachmentUnmarshaller interface that wraps an implementation of the JAXB AttachmentUnmarshaller interface.

Responsibilities:

This class allows TopLink OXM to do attachment unmarshalling callback events to a JAXB 2.0 Listener without adding a dependancy on JAXB 2.0 into core TopLink. The Adapter class wraps a javax.xml.bin.attachment.AttachmentUnmarshaller and passes on the events as they're raised

Since:
Oracle TopLink 11.1.1.0.0
Author:
mmacivor
See Also:
AttachmentUnmarshaller, XMLAttachmentUnmarshaller

Field Summary
private  javax.xml.bind.attachment.AttachmentUnmarshaller attachmentUnmarshaller
           

 

Constructor Summary
AttachmentUnmarshallerAdapter(javax.xml.bind.attachment.AttachmentUnmarshaller at)
           

 

Method Summary
 byte[] getAttachmentAsByteArray(java.lang.String id)
           
 javax.activation.DataHandler getAttachmentAsDataHandler(java.lang.String id)
           
 javax.xml.bind.attachment.AttachmentUnmarshaller getAttachmentUnmarshaller()
           
 boolean isXOPPackage()
           

 

Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait

 

Field Detail

attachmentUnmarshaller

private javax.xml.bind.attachment.AttachmentUnmarshaller attachmentUnmarshaller

Constructor Detail

AttachmentUnmarshallerAdapter

public AttachmentUnmarshallerAdapter(javax.xml.bind.attachment.AttachmentUnmarshaller at)

Method Detail

getAttachmentAsByteArray

public byte[] getAttachmentAsByteArray(java.lang.String id)
Specified by:
getAttachmentAsByteArray in interface XMLAttachmentUnmarshaller

getAttachmentAsDataHandler

public javax.activation.DataHandler getAttachmentAsDataHandler(java.lang.String id)
Specified by:
getAttachmentAsDataHandler in interface XMLAttachmentUnmarshaller

getAttachmentUnmarshaller

public javax.xml.bind.attachment.AttachmentUnmarshaller getAttachmentUnmarshaller()

isXOPPackage

public boolean isXOPPackage()
Specified by:
isXOPPackage in interface XMLAttachmentUnmarshaller

Skip navigation links

Copyright © 1998, 2012, Oracle. All Rights Reserved.