All Downloads are FREE. Search and download functionalities are using the official Maven repository.

org.ehcache.xml.model.Adapter3 Maven / Gradle / Ivy

There is a newer version: 3.10.8
Show newest version

package org.ehcache.xml.model;

import java.math.BigInteger;
import javax.xml.bind.annotation.adapters.XmlAdapter;

public class Adapter3
    extends XmlAdapter
{


    public BigInteger unmarshal(String value) {
        return (org.ehcache.xml.ParsingUtil.parsePropertyOrNonNegativeInteger(value));
    }

    public String marshal(BigInteger value) {
        if (value == null) {
            return null;
        }
        return value.toString();
    }

}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy