org.tridas.adapters
Class IntegerAdapter

java.lang.Object
  extended by javax.xml.bind.annotation.adapters.XmlAdapter<String,Integer>
      extended by org.tridas.adapters.IntegerAdapter

public class IntegerAdapter
extends XmlAdapter<String,Integer>


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

Constructor Detail

IntegerAdapter

public IntegerAdapter()
Method Detail

marshal

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

unmarshal

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


Copyright © 2011 TRiDaS. All Rights Reserved.