com.sun.xml.bind.v2.runtime
Class SwaRefAdapterMarker

java.lang.Object
  extended by javax.xml.bind.annotation.adapters.XmlAdapter<String,DataHandler>
      extended by com.sun.xml.bind.v2.runtime.SwaRefAdapterMarker

public class SwaRefAdapterMarker
extends XmlAdapter<String,DataHandler>

Marker class used to identify swaref attachments and to generate appropriate annotations later.


Constructor Summary
SwaRefAdapterMarker()
           
 
Method Summary
 String marshal(DataHandler v)
           
 DataHandler unmarshal(String v)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

SwaRefAdapterMarker

public SwaRefAdapterMarker()
Method Detail

unmarshal

public DataHandler unmarshal(String v)
                      throws Exception
Specified by:
unmarshal in class XmlAdapter<String,DataHandler>
Throws:
Exception

marshal

public String marshal(DataHandler v)
               throws Exception
Specified by:
marshal in class XmlAdapter<String,DataHandler>
Throws:
Exception


Copyright © 2005-2015 Oracle Corporation. All Rights Reserved.