Top Fields Constructors Methods
com.fasterxml.jackson.datatype.jodamoney

public Class JodaMoneyModule

extends Module
implements Serializable
Class Inheritance
All Implemented Interfaces
java.io.Serializable
Imports
org.joda.money.CurrencyUnit, .Money, com.fasterxml.jackson.core.Version, com.fasterxml.jackson.databind.Module, com.fasterxml.jackson.databind.module.SimpleDeserializers, .SimpleSerializers

Field Summary

Modifier and TypeField and Description
private final AmountConverter
private static final long

Constructor Summary

AccessConstructor and Description
private
public

Method Summary

Modifier and TypeMethod and Description
public String
getModuleName()

Implements abstract com.fasterxml.jackson.databind.Module.getModuleName.

Method that returns a display that can be used by Jackson for informational purposes, as well as in associating extensions with module that provides them.

public void
setupModule(Module.SetupContext context)

Implements abstract com.fasterxml.jackson.databind.Module.setupModule.

Method called by ObjectMapper when module is registered.

public Version
version()

Implements abstract com.fasterxml.jackson.databind.Module.version.

Implements com.fasterxml.jackson.core.Versioned.version.

Method that returns version of this module.

public JodaMoneyModule
Inherited from com.fasterxml.jackson.databind.Module:
getDependenciesgetTypeId

Field Detail

amountConverterback to summary
private final AmountConverter amountConverter
serialVersionUIDback to summary
private static final long serialVersionUID

Constructor Detail

JodaMoneyModuleback to summary
private JodaMoneyModule(AmountConverter amountConverter)
JodaMoneyModuleback to summary
public JodaMoneyModule()

Method Detail

getModuleNameback to summary
public String getModuleName()

Implements abstract com.fasterxml.jackson.databind.Module.getModuleName.

Doc from com.fasterxml.jackson.databind.Module.getModuleName.

Method that returns a display that can be used by Jackson for informational purposes, as well as in associating extensions with module that provides them.

Annotations
@Override
setupModuleback to summary
public void setupModule(Module.SetupContext context)

Implements abstract com.fasterxml.jackson.databind.Module.setupModule.

Doc from com.fasterxml.jackson.databind.Module.setupModule.

Method called by ObjectMapper when module is registered. It is called to let module register functionality it provides, using callback methods passed-in context object exposes.

Annotations
@Override
versionback to summary
public Version version()

Implements abstract com.fasterxml.jackson.databind.Module.version.

Implements com.fasterxml.jackson.core.Versioned.version.

Doc from com.fasterxml.jackson.databind.Module.version.

Method that returns version of this module. Can be used by Jackson for informational purposes.

Returns:Version

Doc from com.fasterxml.jackson.core.Versioned.version.

Version of the component

Annotations
@Override
withAmountRepresentationback to summary
public JodaMoneyModule withAmountRepresentation(final AmountRepresentation representation)