![JAR search and dependency download from the Maven repository](/logo.png)
com.dft.api.shopify.model.adapters.EscapedStringAdapter Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of shopify-admin-rest Show documentation
Show all versions of shopify-admin-rest Show documentation
Shopify Admin REST API using JDK 11 and Reactive Programming
The newest version!
package com.dft.api.shopify.model.adapters;
import javax.xml.bind.annotation.adapters.XmlAdapter;
import org.apache.commons.text.StringEscapeUtils;
public class EscapedStringAdapter extends XmlAdapter {
@Override
public String unmarshal(final String escapedString) throws Exception {
return StringEscapeUtils.unescapeHtml4(escapedString);
}
@Override
public String marshal(final String unescapedString) throws Exception {
return unescapedString;
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy