XCMS Toolkit

schemajic.encoder
Class TaggedAnyValue

java.lang.Object
  extended by schemajic.encoder.TLV
      extended by schemajic.encoder.TaggedAnyValue

public class TaggedAnyValue
extends TLV

Extends class TLV to support encoding of tagged "open types".

Version:
1.00 - 2006/02/10
Author:
support@phillipgriffin.com

Field Summary
 
Fields inherited from class schemajic.encoder.TLV
_lengthEncoder, _pc, _tagEncoder, _tagLength, _tags, _type
 
Constructor Summary
TaggedAnyValue(Type type, TagList tags, int pc, byte[] encodedData, TagEncoder tagEncoder, LengthEncoder lengthEncoder)
           
 
Method Summary
 void encode(java.io.OutputStream out)
           
 int getValueLength()
          Models the abstract concept of the lenght of the value component of a TLV encoding.
 java.lang.String toString()
           
 
Methods inherited from class schemajic.encoder.TLV
encodeLength, encodeTags, getEncodedLength, getEncodedTags, getTagLength, getTags, getTotalLength
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

TaggedAnyValue

public TaggedAnyValue(Type type,
                      TagList tags,
                      int pc,
                      byte[] encodedData,
                      TagEncoder tagEncoder,
                      LengthEncoder lengthEncoder)
Method Detail

getValueLength

public int getValueLength()
Description copied from class: TLV
Models the abstract concept of the lenght of the value component of a TLV encoding.

Specified by:
getValueLength in class TLV

encode

public void encode(java.io.OutputStream out)
            throws EncodingException
Overrides:
encode in class TLV
Throws:
EncodingException

toString

public java.lang.String toString()
Overrides:
toString in class TLV

XCMS Toolkit


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