org.rhq.enterprise.server.jaxb.adapter
Class MeasurementDataNumericHighLowCompositeAdapter
java.lang.Object
javax.xml.bind.annotation.adapters.XmlAdapter<java.util.ArrayList<java.util.ArrayList<MeasurementDataNumericHighLowComposite>>,java.util.List<java.util.List<MeasurementDataNumericHighLowComposite>>>
org.rhq.enterprise.server.jaxb.adapter.MeasurementDataNumericHighLowCompositeAdapter
public class MeasurementDataNumericHighLowCompositeAdapter
- extends javax.xml.bind.annotation.adapters.XmlAdapter<java.util.ArrayList<java.util.ArrayList<MeasurementDataNumericHighLowComposite>>,java.util.List<java.util.List<MeasurementDataNumericHighLowComposite>>>
See the javadoc for the XmlAdapter itself for a more complete explanation, but simply
put the adapter maps types that JAXB has difficulty serializing(Ex. Map)
to java types that JAXB can actually serialize. From a JAXB perspective think of the
problematic types as opaque to JAXB and the map to type in a marshal as the serializable
type.
- Author:
- Simeon Pinder
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
MeasurementDataNumericHighLowCompositeAdapter
public MeasurementDataNumericHighLowCompositeAdapter()
marshal
public java.util.ArrayList<java.util.ArrayList<MeasurementDataNumericHighLowComposite>> marshal(java.util.List<java.util.List<MeasurementDataNumericHighLowComposite>> opaque)
throws java.lang.Exception
- Specified by:
marshal in class javax.xml.bind.annotation.adapters.XmlAdapter<java.util.ArrayList<java.util.ArrayList<MeasurementDataNumericHighLowComposite>>,java.util.List<java.util.List<MeasurementDataNumericHighLowComposite>>>
- Throws:
java.lang.Exception
unmarshal
public java.util.List<java.util.List<MeasurementDataNumericHighLowComposite>> unmarshal(java.util.ArrayList<java.util.ArrayList<MeasurementDataNumericHighLowComposite>> marshallable)
throws java.lang.Exception
- Specified by:
unmarshal in class javax.xml.bind.annotation.adapters.XmlAdapter<java.util.ArrayList<java.util.ArrayList<MeasurementDataNumericHighLowComposite>>,java.util.List<java.util.List<MeasurementDataNumericHighLowComposite>>>
- Throws:
java.lang.Exception
Copyright © 2008-2009 Red Hat, Inc.. All Rights Reserved.