private static final Version VERSION_MONEY_SERIALIZER = new Version( 1, 0, 0 );
private final MoneySerializer moneySerializer;
public ExtraSerializer( MoneySerializer moneySerializer ) {
super( "extra", "http://www.cedarsoft.com/test/extra", new VersionRange( new Version( 1, 5, 0 ), new Version( 1, 5, 0 ) ) );
//We choose another version number. Maybe this is an old serializer that has been created within another project.
this.moneySerializer = moneySerializer;
//We verify the version here. This is necessary, to ensure that the file format for the