diff options
Diffstat (limited to 'src/org/uic/barcode/asn1/uper/Decoder.java')
-rw-r--r-- | src/org/uic/barcode/asn1/uper/Decoder.java | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/src/org/uic/barcode/asn1/uper/Decoder.java b/src/org/uic/barcode/asn1/uper/Decoder.java new file mode 100644 index 0000000..947a752 --- /dev/null +++ b/src/org/uic/barcode/asn1/uper/Decoder.java @@ -0,0 +1,10 @@ +package org.uic.barcode.asn1.uper; + +import java.lang.annotation.Annotation; +import java.lang.reflect.Field; + +public interface Decoder { + <T> boolean canDecode(Class<T> classOfT, Annotation[] extraAnnotations); + <T> T decode(BitBuffer bitbuffer, Class<T> classOfT,Field f, Annotation[] extraAnnotations); + <T> T getDefault(Class<T> classOfT, Annotation[] extraAnnotations); +} |