org.openmuc.jsml.structures
Class SequenceOf

java.lang.Object
  extended by org.openmuc.jsml.structures.ASNObject
      extended by org.openmuc.jsml.structures.ListOf
          extended by org.openmuc.jsml.structures.SequenceOf
Direct Known Subclasses:
List_of_SML_ObjReqEntry, List_of_SML_PeriodEntry, List_of_SML_ProfObjHeaderEntry, List_of_SML_ProfObjPeriodEntry, List_of_SML_Tree, List_of_SML_ValueEntry, SML_List, SML_TreePath

public abstract class SequenceOf
extends ListOf


Field Summary
 
Fields inherited from class org.openmuc.jsml.structures.ListOf
seqArray
 
Fields inherited from class org.openmuc.jsml.structures.ASNObject
isOptional, isSelected
 
Constructor Summary
SequenceOf()
           
 
Method Summary
protected abstract  void createElements(int length)
           
 boolean decode(java.io.DataInputStream is)
          decodes the data from the InputStream and writes it to an object
 void print()
          prints the content or type of the object to stdout
 
Methods inherited from class org.openmuc.jsml.structures.ListOf
code, seqArray
 
Methods inherited from class org.openmuc.jsml.structures.ASNObject
isOptional, isSelected, setOptional, setSelected
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

SequenceOf

public SequenceOf()
Method Detail

createElements

protected abstract void createElements(int length)

decode

public boolean decode(java.io.DataInputStream is)
               throws java.io.IOException
Description copied from class: ASNObject
decodes the data from the InputStream and writes it to an object

Specified by:
decode in class ASNObject
Returns:
true if successfully decoded
Throws:
java.io.IOException - if something went wrong while reading from the stream

print

public void print()
Description copied from class: ASNObject
prints the content or type of the object to stdout

Specified by:
print in class ASNObject


Copyright © 2011. All Rights Reserved.