org.linguafranca.pwdb.kdbx.jaxb.binding.Adapter3 Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of KeePassJava2-jaxb Show documentation
Show all versions of KeePassJava2-jaxb Show documentation
Contains a JAXB implementation for KDBX.
//
// This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, v2.2.11
// See http://java.sun.com/xml/jaxb
// Any modifications to this file will be lost upon recompilation of the source schema.
// Generated on: 2016.10.14 at 01:48:37 PM BST
//
package org.linguafranca.pwdb.kdbx.jaxb.binding;
import java.util.UUID;
import javax.xml.bind.annotation.adapters.XmlAdapter;
public class Adapter3
extends XmlAdapter
{
public UUID unmarshal(String value) {
return (org.linguafranca.pwdb.kdbx.Helpers.uuidFromBase64(value));
}
public String marshal(UUID value) {
return (org.linguafranca.pwdb.kdbx.Helpers.base64FromUuid(value));
}
}