|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectcom.pixelmed.dicom.Attribute
com.pixelmed.dicom.StringAttribute
com.pixelmed.dicom.StringAttributeAffectedBySpecificCharacterSet
com.pixelmed.dicom.ShortStringAttribute
public class ShortStringAttribute
A concrete class specializing Attribute for
Short String (SH) attributes.
Though an instance of this class may be created
using its constructors, there is also a factory class, AttributeFactory.
Attribute,
AttributeFactory,
AttributeList| Field Summary |
|---|
| Fields inherited from class com.pixelmed.dicom.StringAttribute |
|---|
specificCharacterSet |
| Fields inherited from class com.pixelmed.dicom.Attribute |
|---|
valueLength, valueMultiplicity |
| Constructor Summary | |
|---|---|
ShortStringAttribute(AttributeTag t)
Construct an (empty) attribute. |
|
ShortStringAttribute(AttributeTag t,
long vl,
DicomInputStream i,
SpecificCharacterSet specificCharacterSet)
Read an attribute from an input stream. |
|
ShortStringAttribute(AttributeTag t,
Long vl,
DicomInputStream i,
SpecificCharacterSet specificCharacterSet)
Read an attribute from an input stream. |
|
ShortStringAttribute(AttributeTag t,
SpecificCharacterSet specificCharacterSet)
Construct an (empty) attribute. |
|
| Method Summary | |
|---|---|
byte[] |
getVR()
Get the value representation of this attribute (SH). |
| Methods inherited from class com.pixelmed.dicom.StringAttribute |
|---|
addValue, addValue, addValue, addValue, addValue, addValue, addValue, getByteValues, getDoubleValues, getFloatValues, getIntegerValues, getLongValues, getOriginalStringValues, getPadByte, getPaddedVL, getShortValues, getSpecificCharacterSet, getStringValues, removeValues, setSpecificCharacterSet, toString, translateByteArrayToString, translateStringToByteArray, write |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
public ShortStringAttribute(AttributeTag t)
Construct an (empty) attribute.
t - the tag of the attribute
public ShortStringAttribute(AttributeTag t,
SpecificCharacterSet specificCharacterSet)
Construct an (empty) attribute.
t - the tag of the attributespecificCharacterSet - the character set to be used for the text
public ShortStringAttribute(AttributeTag t,
long vl,
DicomInputStream i,
SpecificCharacterSet specificCharacterSet)
throws IOException,
DicomException
Read an attribute from an input stream.
t - the tag of the attributevl - the value length of the attributei - the input streamspecificCharacterSet - the character set to be used for the text
IOException
DicomException
public ShortStringAttribute(AttributeTag t,
Long vl,
DicomInputStream i,
SpecificCharacterSet specificCharacterSet)
throws IOException,
DicomException
Read an attribute from an input stream.
t - the tag of the attributevl - the value length of the attributei - the input streamspecificCharacterSet - the character set to be used for the text
IOException
DicomException| Method Detail |
|---|
public byte[] getVR()
Get the value representation of this attribute (SH).
getVR in class AttributeValueRepresentation
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||