|
|||||||||
| 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.UniqueIdentifierAttribute
public class UniqueIdentifierAttribute
A concrete class specializing Attribute for
Unique Identifier (UI) 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 | |
|---|---|
UniqueIdentifierAttribute(AttributeTag t)
Construct an (empty) attribute. |
|
UniqueIdentifierAttribute(AttributeTag t,
long vl,
DicomInputStream i)
Read an attribute from an input stream. |
|
UniqueIdentifierAttribute(AttributeTag t,
Long vl,
DicomInputStream i)
Read an attribute from an input stream. |
|
| Method Summary | |
|---|---|
protected byte |
getPadByte()
Get the appropriate (0X00) byte for padding UIDS to an even length. |
byte[] |
getVR()
Get the value representation of this attribute (UI). |
static boolean |
isCodingSchemeRelated(AttributeTag t)
|
static boolean |
isPrivateRelated(AttributeTag t)
|
static boolean |
isSOPClassRelated(AttributeTag t)
|
static boolean |
isTransferSyntaxRelated(AttributeTag t)
|
static boolean |
isTransient(AttributeTag t)
|
| Methods inherited from class com.pixelmed.dicom.StringAttribute |
|---|
addValue, addValue, addValue, addValue, addValue, addValue, addValue, getByteValues, getDoubleValues, getFloatValues, getIntegerValues, getLongValues, getOriginalStringValues, 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 UniqueIdentifierAttribute(AttributeTag t)
Construct an (empty) attribute.
t - the tag of the attribute
public UniqueIdentifierAttribute(AttributeTag t,
long vl,
DicomInputStream i)
throws IOException,
DicomException
Read an attribute from an input stream.
t - the tag of the attributevl - the value length of the attributei - the input stream
IOException
DicomException
public UniqueIdentifierAttribute(AttributeTag t,
Long vl,
DicomInputStream i)
throws IOException,
DicomException
Read an attribute from an input stream.
t - the tag of the attributevl - the value length of the attributei - the input stream
IOException
DicomException| Method Detail |
|---|
public byte[] getVR()
Get the value representation of this attribute (UI).
getVR in class AttributeValueRepresentationprotected byte getPadByte()
Get the appropriate (0X00) byte for padding UIDS to an even length.
getPadByte in class StringAttributepublic static boolean isSOPClassRelated(AttributeTag t)
public static boolean isTransferSyntaxRelated(AttributeTag t)
public static boolean isCodingSchemeRelated(AttributeTag t)
public static boolean isPrivateRelated(AttributeTag t)
public static boolean isTransient(AttributeTag t)
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||