Class MixedContentAdapter
- java.lang.Object
-
- javax.xml.bind.annotation.adapters.XmlAdapter<Content,java.lang.String>
-
- org.opennms.netmgt.config.scriptd.MixedContentAdapter
-
public class MixedContentAdapter extends javax.xml.bind.annotation.adapters.XmlAdapter<Content,java.lang.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(java.lang.String value)
java.lang.String
unmarshal(Content content)
-