T - the type that can be converted@Immutable @PublicApi public class MarshallingPair<T> extends Object
Marshaller and Unmarshaller instances.
By convention, the output produced by the Marshaller (retrieved via getMarshaller()) should be able
to be processed by the Unmarshaller (retrieved via getUnmarshaller()).| Constructor and Description |
|---|
MarshallingPair(Marshaller<T> marshaller,
Unmarshaller<T> unmarshaller)
Creates an instance.
|
| Modifier and Type | Method and Description |
|---|---|
Marshaller<T> |
getMarshaller() |
Unmarshaller<T> |
getUnmarshaller() |
public MarshallingPair(Marshaller<T> marshaller, Unmarshaller<T> unmarshaller)
marshaller - the marshaller instance.unmarshaller - the unmarshaller instance.public Marshaller<T> getMarshaller()
public Unmarshaller<T> getUnmarshaller()
Copyright © 2021 Atlassian. All rights reserved.