|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.openmuc.jsml.structures.ASNObject
org.openmuc.jsml.structures.Choice
public abstract class Choice
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 |
---|
protected Unsigned8 tag
protected ASNObject choice
Constructor Detail |
---|
public Choice()
Method Detail |
---|
public void code(java.io.DataOutputStream os) throws java.io.IOException
ASNObject
code
in class ASNObject
java.io.IOException
- if something went wrong while writing to the streampublic void print()
print
in class ASNObject
public ASNObject getChoice()
public Unsigned8 getTag()
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |