|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.openmuc.jsml.structures.ASNObject
public abstract class ASNObject
Field Summary | |
---|---|
protected boolean |
isOptional
true if the Object is Optional |
protected boolean |
isSelected
true if the Object is selected |
Constructor Summary | |
---|---|
ASNObject()
|
Method Summary | |
---|---|
abstract void |
code(java.io.DataOutputStream os)
encodes this object and writes it to the stream os. |
abstract boolean |
decode(java.io.DataInputStream is)
decodes the data from the InputStream and writes it to an object |
boolean |
isOptional()
returns if this object is optional |
boolean |
isSelected()
returns if this object is selected |
abstract void |
print()
prints the content or type of the object to stdout |
void |
setOptional()
marks this object as optional |
void |
setSelected()
marks this object as selected |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
protected boolean isOptional
protected boolean isSelected
Constructor Detail |
---|
public ASNObject()
Method Detail |
---|
public abstract void code(java.io.DataOutputStream os) throws java.io.IOException
os
-
java.io.IOException
- if something went wrong while writing to the streampublic abstract boolean decode(java.io.DataInputStream is) throws java.io.IOException
is
-
java.io.IOException
- if something went wrong while reading from the streampublic abstract void print()
public void setOptional()
public void setSelected()
public boolean isSelected()
public boolean isOptional()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |