XCMS Toolkit

schemajic.codec
Class Decoder

java.lang.Object
  extended by schemajic.codec.Decoder
Direct Known Subclasses:
ASN1Decoder, BXERDecoder

public abstract class Decoder
extends java.lang.Object

Models the abstract concept of an ASN.1 decode transformation.

Version:
1.00 - 2006/01/22
Author:
support@phillipgriffin.com

Constructor Summary
Decoder()
          Constructor for Decoder.
 
Method Summary
abstract  void decode(java.io.InputStream in, ASN1Value value)
          Abstract definition of a method for decoding a value of an ASN.1 type from a source input stream.
 java.io.InputStream getInputStream()
          Gets and returns an input stream of decoded ASN.1 values
 void setInputStream(java.io.InputStream in)
          Sets the current input stream to the provided value.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Decoder

public Decoder()
Constructor for Decoder.

Method Detail

getInputStream

public java.io.InputStream getInputStream()
Gets and returns an input stream of decoded ASN.1 values


setInputStream

public void setInputStream(java.io.InputStream in)
Sets the current input stream to the provided value.

Parameters:
in - provided value to become the current input stream

decode

public abstract void decode(java.io.InputStream in,
                            ASN1Value value)
                     throws DecodingException
Abstract definition of a method for decoding a value of an ASN.1 type from a source input stream.

Parameters:
in - source of a decoding transform
value - the value of an ASN.1 type to be decoded
Throws:
DecodingException

XCMS Toolkit


Copyright © 2005-2006 GRIFFIN Consulting. All Rights Reserved.