Package com.sun.xml.bind.v2.runtime
Class SwaRefAdapterMarker
- java.lang.Object
-
- javax.xml.bind.annotation.adapters.XmlAdapter<java.lang.String,javax.activation.DataHandler>
-
- com.sun.xml.bind.v2.runtime.SwaRefAdapterMarker
-
public class SwaRefAdapterMarker extends javax.xml.bind.annotation.adapters.XmlAdapter<java.lang.String,javax.activation.DataHandler>
Marker class used to identify swaref attachments and to generate appropriate annotations later.
-
-
Constructor Summary
Constructors Constructor Description SwaRefAdapterMarker()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.String
marshal(javax.activation.DataHandler v)
javax.activation.DataHandler
unmarshal(java.lang.String v)
-
-
-
Method Detail
-
unmarshal
public javax.activation.DataHandler unmarshal(java.lang.String v) throws java.lang.Exception
- Specified by:
unmarshal
in classjavax.xml.bind.annotation.adapters.XmlAdapter<java.lang.String,javax.activation.DataHandler>
- Throws:
java.lang.Exception
-
marshal
public java.lang.String marshal(javax.activation.DataHandler v) throws java.lang.Exception
- Specified by:
marshal
in classjavax.xml.bind.annotation.adapters.XmlAdapter<java.lang.String,javax.activation.DataHandler>
- Throws:
java.lang.Exception
-
-