javax.xml.bind.annotation.adapters
Class XmlAdapter<ValueType,BoundType>

java.lang.Object
  extended by javax.xml.bind.annotation.adapters.XmlAdapter<ValueType,BoundType>
Direct Known Subclasses:
CollapsedStringAdapter, HexBinaryAdapter, NormalizedStringAdapter

public abstract class XmlAdapter<ValueType,BoundType>
extends Object


Constructor Summary
protected XmlAdapter()
           
 
Method Summary
abstract  ValueType marshal(BoundType v)
           
abstract  BoundType unmarshal(ValueType v)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

XmlAdapter

protected XmlAdapter()
Method Detail

marshal

public abstract ValueType marshal(BoundType v)
                           throws Exception
Throws:
Exception

unmarshal

public abstract BoundType unmarshal(ValueType v)
                             throws Exception
Throws:
Exception


Copyright © 2003-2009 The Apache Software Foundation. All Rights Reserved.