com.sun.tools.xjc.util
Class ReadOnlyAdapter<OnTheWire,InMemory>

java.lang.Object
  extended by javax.xml.bind.annotation.adapters.XmlAdapter<OnTheWire,InMemory>
      extended by com.sun.tools.xjc.util.ReadOnlyAdapter<OnTheWire,InMemory>
Direct Known Subclasses:
BIGlobalBinding.ClassNameAdapter

public abstract class ReadOnlyAdapter<OnTheWire,InMemory>
extends XmlAdapter<OnTheWire,InMemory>

XmlAdapter used inside XJC is almost always unmarshal-only.


Constructor Summary
ReadOnlyAdapter()
           
 
Method Summary
 OnTheWire marshal(InMemory onTheWire)
           
 
Methods inherited from class javax.xml.bind.annotation.adapters.XmlAdapter
unmarshal
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ReadOnlyAdapter

public ReadOnlyAdapter()
Method Detail

marshal

public final OnTheWire marshal(InMemory onTheWire)
Specified by:
marshal in class XmlAdapter<OnTheWire,InMemory>