Class AbstractMarshaller<T>

java.lang.Object
com.tangosol.coherence.rest.io.AbstractMarshaller<T>
All Implemented Interfaces:
Marshaller<T>
Direct Known Subclasses:
JacksonJsonMarshaller, JaxbXmlMarshaller

public abstract class AbstractMarshaller<T> extends Object implements Marshaller<T>
Abstract base class for built-in marshallers.
Author:
as 2011.07.10
  • Constructor Details

    • AbstractMarshaller

      public AbstractMarshaller(Class<T> clzRoot)
      Construct a marshaller instance.
      Parameters:
      clzRoot - class of the root object this marshaller is for
  • Method Details

    • getRootClass

      protected Class<T> getRootClass()
      Return class of the root object this marshaller is for.
      Returns:
      root object class