com.sun.tools.xjc.util
Class ReadOnlyAdapter<OnTheWire,InMemory>
java.lang.Object
javax.xml.bind.annotation.adapters.XmlAdapter<OnTheWire,InMemory>
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.
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
ReadOnlyAdapter
public ReadOnlyAdapter()
marshal
public final OnTheWire marshal(InMemory onTheWire)
- Specified by:
marshal
in class XmlAdapter<OnTheWire,InMemory>