|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectorg.dicom4j.data.elements.support.DataElement
org.dicom4j.data.elements.support.StringElement
org.dicom4j.data.elements.ShortString
public class ShortString
Concrete class specializing DataElement for Short String (SH) attributes.
Though an instance of this class may be created using its constructors, there
is also a factory class,
AttributeFactory.
DataElement,
DataElementFactory| Constructor Summary | |
|---|---|
ShortString(DicomTag t)
Construct an (empty) attribute. |
|
ShortString(DicomTag t,
SpecificCharacterSet specificCharacterSet)
Construct an (empty) attribute. |
|
| Method Summary | |
|---|---|
ValueRepresentation |
getValueRepresentation()
Return the ValueRepresentation of this element |
byte[] |
getVR()
Get the value representation of this attribute (SH). |
| Methods inherited from class org.dicom4j.data.elements.support.StringElement |
|---|
addValue, clear, getPaddedVL, getStringValues, getValueLength, getValueMultiplicity, read, setValue, toString, write |
| Methods inherited from class java.lang.Object |
|---|
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
public ShortString(DicomTag t)
Construct an (empty) attribute.
t - the tag of the attribute
public ShortString(DicomTag t,
SpecificCharacterSet specificCharacterSet)
Construct an (empty) attribute.
t - the tag of the attributespecificCharacterSet - the character set to be used for the text| Method Detail |
|---|
public ValueRepresentation getValueRepresentation()
DataElementValueRepresentation of this element
getValueRepresentation in class DataElementValueRepresentationpublic byte[] getVR()
Get the value representation of this attribute (SH).
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||