|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectcom.pixelmed.scpecg.Section
com.pixelmed.scpecg.Section1
public class Section1
A class to encapsulate the SCP-ECG Patient and ECG Acquisition Data section.
| Field Summary |
|---|
| Fields inherited from class com.pixelmed.scpecg.Section |
|---|
bytesRead, header, sectionBytesRemaining, tree |
| Constructor Summary | |
|---|---|
Section1(SectionHeader header)
|
|
| Method Summary | |
|---|---|
String |
getConcatenatedStringValuesOfAllOccurencesOfNamedField(String fieldName)
Get the value of multiple instances of the same field (tag) as a single string. |
String |
getSectionName()
Get a string name for this section. |
SCPTreeRecord |
getTree(SCPTreeRecord parent)
Get the contents of the section as a tree for display, constructing it if not already done. |
long |
read(BinaryInputStream i)
Read the remainder of the section from a stream. |
String |
toString()
Dump the section as a String. |
String |
validate()
Validate the section against the standard. |
| Methods inherited from class com.pixelmed.scpecg.Section |
|---|
addNodeOfDecimalAndHex, addNodeOfDecimalWithMissingValues, addSectionHeaderToTree, describeMissingValues, getSectionHeader, getTree, getValueForSectionNodeInTree, makeSection, makeStringFromByteArrayRemovingAnyNulls, skipToEndOfSectionIfNotAlreadyThere |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
public Section1(SectionHeader header)
| Method Detail |
|---|
public String getSectionName()
Get a string name for this section.
getSectionName in class Section
public long read(BinaryInputStream i)
throws IOException
SectionRead the remainder of the section from a stream.
read in class Sectioni - the input stream
IOExceptionpublic String toString()
SectionDump the section as a String.
toString in class SectionStringpublic String validate()
SectionValidate the section against the standard.
validate in class SectionStringpublic String getConcatenatedStringValuesOfAllOccurencesOfNamedField(String fieldName)
Get the value of multiple instances of the same field (tag) as a single string.
fieldName - the name of the field
public SCPTreeRecord getTree(SCPTreeRecord parent)
Get the contents of the section as a tree for display, constructing it if not already done.
getTree in class Sectionparent - the node to which this section is to be added if it needs to be created de novo
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||