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; } }