|
Oracle® Fusion Middleware Java API Reference for EclipseLink 11g Release 1 (11.1.1) E26376-01 |
||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Object
org.eclipse.persistence.jaxb.attachment.AttachmentUnmarshallerAdapter
public class AttachmentUnmarshallerAdapter
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
AttachmentUnmarshaller, XMLAttachmentUnmarshaller| Constructor Summary | |
|---|---|
AttachmentUnmarshallerAdapter(AttachmentUnmarshaller at) |
|
| Method Summary | |
|---|---|
byte[] |
getAttachmentAsByteArray(java.lang.String id) |
javax.activation.DataHandler |
getAttachmentAsDataHandler(java.lang.String id) |
AttachmentUnmarshaller |
getAttachmentUnmarshaller() |
boolean |
isXOPPackage() |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public AttachmentUnmarshallerAdapter(AttachmentUnmarshaller at)
| Method Detail |
|---|
public byte[] getAttachmentAsByteArray(java.lang.String id)
getAttachmentAsByteArray in interface XMLAttachmentUnmarshallerpublic javax.activation.DataHandler getAttachmentAsDataHandler(java.lang.String id)
getAttachmentAsDataHandler in interface XMLAttachmentUnmarshallerpublic AttachmentUnmarshaller getAttachmentUnmarshaller()
public boolean isXOPPackage()
isXOPPackage in interface XMLAttachmentUnmarshaller
|
Oracle® Fusion Middleware Java API Reference for EclipseLink 11g Release 1 (11.1.1) E26376-01 |
||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||