Class MixedContentAdapter
- java.lang.Object
-
- javax.xml.bind.annotation.adapters.XmlAdapter<Content,String>
-
- org.opennms.netmgt.config.scriptd.MixedContentAdapter
-
public class MixedContentAdapter extends XmlAdapter<Content,String>
JAXB doesn't allow both @XmlElement and @XmlValue annotations on the same object. This adapter can be used as a work-around.- Author:
- jwhite
-
-
Constructor Summary
Constructors Constructor Description MixedContentAdapter()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Content
marshal(String value)
String
unmarshal(Content content)
-