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

me.chanjar.weixin.util.xml.AdapterCDATA Maven / Gradle / Ivy

package me.chanjar.weixin.util.xml;

import javax.xml.bind.annotation.adapters.XmlAdapter;

/**
 * 
 * http://stackoverflow.com/questions/14193944/jaxb-marshalling-unmarshalling-with-cdata
 * 
 * @author chanjarster
 *
 */
public class AdapterCDATA extends XmlAdapter {

    @Override
    public String marshal(String arg0) throws Exception {
        return "";
    }
    
    @Override
    public String unmarshal(String arg0) throws Exception {
        return arg0;
    }
    
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy