org.rhq.enterprise.server.jaxb.adapter
Class MeasurementDataNumericHighLowCompositeAdapter

java.lang.Object
  extended by javax.xml.bind.annotation.adapters.XmlAdapter<java.util.ArrayList<java.util.ArrayList<MeasurementDataNumericHighLowComposite>>,java.util.List<java.util.List<MeasurementDataNumericHighLowComposite>>>
      extended by 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

Constructor Summary
MeasurementDataNumericHighLowCompositeAdapter()
           
 
Method Summary
 java.util.ArrayList<java.util.ArrayList<MeasurementDataNumericHighLowComposite>> marshal(java.util.List<java.util.List<MeasurementDataNumericHighLowComposite>> opaque)
           
 java.util.List<java.util.List<MeasurementDataNumericHighLowComposite>> unmarshal(java.util.ArrayList<java.util.ArrayList<MeasurementDataNumericHighLowComposite>> marshallable)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

MeasurementDataNumericHighLowCompositeAdapter

public MeasurementDataNumericHighLowCompositeAdapter()
Method Detail

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.