org.gedcomx.common
Class URIAdapter

java.lang.Object
  extended by javax.xml.bind.annotation.adapters.XmlAdapter<String,URI>
      extended by org.gedcomx.common.URIAdapter

public class URIAdapter
extends XmlAdapter<String,URI>

Adapts a URI to a string.

Author:
Ryan Heaton

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

Constructor Detail

URIAdapter

public URIAdapter()
Method Detail

marshal

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

unmarshal

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


Copyright © 2015. All rights reserved.