
z11.rs.WriteOnlyXmlAdapter Maven / Gradle / Ivy
/*
* To change this license header, choose License Headers in Project Properties.
* To change this template file, choose Tools | Templates
* and open the template in the editor.
*/
package z11.rs;
import javax.xml.bind.annotation.adapters.XmlAdapter;
/**
*
* @author danny
*/
public class WriteOnlyXmlAdapter extends XmlAdapter {
@Override
public String unmarshal(String value) throws Exception {
return value;
}
@Override
public String marshal(String value) throws Exception {
//ignore marshall so you have half duplex
return null;
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy