Package com.tangosol.coherence.rest.io
Class AbstractMarshaller<T>
java.lang.Object
com.tangosol.coherence.rest.io.AbstractMarshaller<T>
- All Implemented Interfaces:
Marshaller<T>
- Direct Known Subclasses:
JacksonJsonMarshaller
,JaxbXmlMarshaller
Abstract base class for built-in marshallers.
- Author:
- as 2011.07.10
-
Field Summary
Fields inherited from interface com.tangosol.coherence.rest.io.Marshaller
FORMAT_OUTPUT
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionReturn class of the root object this marshaller is for.Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface com.tangosol.coherence.rest.io.Marshaller
marshal, marshalAsFragment, unmarshal
-
Constructor Details
-
AbstractMarshaller
Construct a marshaller instance.- Parameters:
clzRoot
- class of the root object this marshaller is for
-
-
Method Details
-
getRootClass
Return class of the root object this marshaller is for.- Returns:
- root object class
-