
package org.smartdeveloperhub.util.xml;

import java.net.URI;

public final class URIConverter {

	private URIConverter() {
	}

	public static URI unmarshal(String rawURI) {
		if(rawURI==null) {
			return null;
		}
		return URI.create(rawURI);
	}

	public static String marshal(URI uri) {
		if(uri==null) {
			return null;
		}
		return uri.toString();
	}

}
