j8583.example
Class ProductEncoder

java.lang.Object
  extended by j8583.example.ProductEncoder
All Implemented Interfaces:
CustomField<ProductData>

public class ProductEncoder
extends Object
implements CustomField<ProductData>

This is an example of a CustomField encoder/decoder.

Author:
Enrique Zamudio

Constructor Summary
ProductEncoder()
           
 
Method Summary
 ProductData decodeField(String value)
           
 String encodeField(ProductData value)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ProductEncoder

public ProductEncoder()
Method Detail

decodeField

public ProductData decodeField(String value)
Specified by:
decodeField in interface CustomField<ProductData>

encodeField

public String encodeField(ProductData value)
Specified by:
encodeField in interface CustomField<ProductData>