org.gedcomx.common
Class URIAdapter
java.lang.Object
javax.xml.bind.annotation.adapters.XmlAdapter<String,URI>
org.gedcomx.common.URIAdapter
public class URIAdapter
- extends XmlAdapter<String,URI>
Adapts a URI to a string.
- Author:
- Ryan Heaton
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
URIAdapter
public URIAdapter()
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.