org.openmuc.jsml.structures
Class Choice

java.lang.Object
  extended by org.openmuc.jsml.structures.ASNObject
      extended by org.openmuc.jsml.structures.Choice
Direct Known Subclasses:
SML_ProcParValue, SML_Time

public abstract class Choice
extends ASNObject


Field Summary
protected  ASNObject choice
          data of the choice-object
protected  Unsigned8 tag
          tag defines the type of the choice object
 
Fields inherited from class org.openmuc.jsml.structures.ASNObject
isOptional, isSelected
 
Constructor Summary
Choice()
           
 
Method Summary
 void code(java.io.DataOutputStream os)
          encodes this object and writes it to the stream os.
 ASNObject getChoice()
           
 Unsigned8 getTag()
           
 void print()
          General print method, which prints the classname of derived classes
 
Methods inherited from class org.openmuc.jsml.structures.ASNObject
decode, isOptional, isSelected, setOptional, setSelected
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

tag

protected Unsigned8 tag
tag defines the type of the choice object


choice

protected ASNObject choice
data of the choice-object

Constructor Detail

Choice

public Choice()
Method Detail

code

public void code(java.io.DataOutputStream os)
          throws java.io.IOException
Description copied from class: ASNObject
encodes this object and writes it to the stream os.

Specified by:
code in class ASNObject
Throws:
java.io.IOException - if something went wrong while writing to the stream

print

public void print()
General print method, which prints the classname of derived classes

Specified by:
print in class ASNObject

getChoice

public ASNObject getChoice()

getTag

public Unsigned8 getTag()


Copyright © 2011. All Rights Reserved.