XCMS Toolkit

schemajic.encoder
Class ChoiceValue

java.lang.Object
  extended by schemajic.encoder.TLV
      extended by schemajic.encoder.CompositeValue
          extended by schemajic.encoder.ChoiceValue

public class ChoiceValue
extends CompositeValue

Encodes the value of a choice alternative.

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
ChoiceValue(Type type, TagList tags, int pc, TagEncoder tagEncoder, LengthEncoder lengthEncoder)
          TODO: ???
 
Method Summary
protected  void encodeLength(java.io.OutputStream out)
          TODO: ???
protected  void encodeTags(java.io.OutputStream out)
          TODO: ???
 int getTotalLength()
          TODO: ???
 
Methods inherited from class schemajic.encoder.CompositeValue
add, getValueLength, incrementValueLength
 
Methods inherited from class schemajic.encoder.TLV
encode, getEncodedLength, getEncodedTags, getTagLength, getTags, toString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

ChoiceValue

public ChoiceValue(Type type,
                   TagList tags,
                   int pc,
                   TagEncoder tagEncoder,
                   LengthEncoder lengthEncoder)
TODO: ???

Parameters:
type -
tags -
pc -
tagEncoder -
lengthEncoder -
Method Detail

encodeTags

protected void encodeTags(java.io.OutputStream out)
                   throws EncodingException
TODO: ???

Overrides:
encodeTags in class TLV
Throws:
EncodingException

encodeLength

protected void encodeLength(java.io.OutputStream out)
                     throws EncodingException
TODO: ???

Overrides:
encodeLength in class TLV
Throws:
EncodingException

getTotalLength

public int getTotalLength()
TODO: ???

Overrides:
getTotalLength in class TLV

XCMS Toolkit


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