public class Section8Or11 extends Section
A class to encapsulate the SCP-ECG Textual Diagnosis and Universal Interpretative Statement Codes sections.
bytesRead, header, sectionBytesRemaining, tree
Constructor and Description |
---|
Section8Or11(SectionHeader header) |
Modifier and Type | Method and Description |
---|---|
int |
getConfirmed() |
int |
getDay() |
int |
getHour() |
int |
getMinute() |
int |
getMonth() |
int |
getNumberOfStatements() |
int |
getSecond() |
java.lang.String |
getSectionName()
Get a string name for this section.
|
int[] |
getSequenceNumbers() |
int[] |
getStatementLengths() |
byte[][] |
getStatements() |
SCPTreeRecord |
getTree(SCPTreeRecord parent)
Get the contents of the section as a tree for display, constructing it if not already done.
|
int |
getYear() |
long |
read(BinaryInputStream i)
Read the remainder of the section from a stream.
|
java.lang.String |
toString()
Dump the section as a
String . |
java.lang.String |
validate()
Validate the section against the standard.
|
addNodeOfDecimalAndHex, addNodeOfDecimalWithMissingValues, addSectionHeaderToTree, describeMissingValues, getSectionHeader, getTree, getValueForSectionNodeInTree, makeSection, makeStringFromByteArrayRemovingAnyNulls, skipToEndOfSectionIfNotAlreadyThere
public Section8Or11(SectionHeader header)
public java.lang.String getSectionName()
Get a string name for this section.
getSectionName
in class Section
public int getConfirmed()
public int getYear()
public int getMonth()
public int getDay()
public int getHour()
public int getMinute()
public int getSecond()
public int getNumberOfStatements()
public int[] getSequenceNumbers()
public int[] getStatementLengths()
public byte[][] getStatements()
public long read(BinaryInputStream i) throws java.io.IOException
Section
Read the remainder of the section from a stream.
public java.lang.String toString()
Section
Dump the section as a String
.
public java.lang.String validate()
Section
Validate the section against the standard.
public SCPTreeRecord getTree(SCPTreeRecord parent)
Get the contents of the section as a tree for display, constructing it if not already done.