Class MarshallingContextable

java.lang.Object
org.apache.juneau.marshall.Context
org.apache.juneau.marshall.MarshallingContextable
Direct Known Subclasses:
BaseHttpPartParser, BaseHttpPartSerializer, MarshallingTraverseContext, Parser, RestClient

public abstract class MarshallingContextable extends Context
Context class for classes that use MarshallingContext objects.

This abstraction exists to allow different kinds of subclasses (e.g. JsonSerilalizer, XmlParser...) to share bean context objects since bean context objects are heavyweight objects that cache metadata about encountered beans.

Notes:
  • This class is thread safe and reusable.