org.dicom4j.data.elements
Class LongString

java.lang.Object
  extended by org.dicom4j.data.elements.support.DataElement
      extended by org.dicom4j.data.elements.support.StringElement
          extended by org.dicom4j.data.elements.LongString

public class LongString
extends StringElement

Long String (LO) DataElement

Since:
0.0.0
Author:
Laurent Lecomte
See Also:
DataElement

Constructor Summary
LongString(DicomTag t)
           Construct an (empty) attribute.
LongString(DicomTag t, SpecificCharacterSet specificCharacterSet)
           Construct an (empty) attribute.
 
Method Summary
 ValueRepresentation getValueRepresentation()
          Return the value representation of this data element
 byte[] getVR()
          Deprecated. 

Get the value representation of this attribute (LO).

 boolean isValid()
           check is the data of this element is Dicom compliant
 
Methods inherited from class org.dicom4j.data.elements.support.StringElement
addValue, clear, getPaddedVL, getStringValues, getValueLength, getValueMultiplicity, read, setValue, toString, write
 
Methods inherited from class org.dicom4j.data.elements.support.DataElement
addValue, addValue, addValue, addValue, addValue, addValue, getByteValues, getDelimitedStringValues, getDelimitedStringValues, getDelimitedStringValuesOrDefault, getDelimitedStringValuesOrDefault, getDelimitedStringValuesOrDefault, getDelimitedStringValuesOrEmptyString, getDelimitedStringValuesOrEmptyString, getDelimitedStringValuesOrEmptyString, getDelimitedStringValuesOrEmptyString, getDelimitedStringValuesOrNull, getDelimitedStringValuesOrNull, getDelimitedStringValuesOrNull, getDelimitedStringValuesOrNull, getDoubleValues, getDoubleValues, getFloatValues, getIntegerValues, getIntegerValues, getLongValues, getLongValues, getName, getOriginalStringValues, getShortValues, getSingleDoubleValueOrDefault, getSingleDoubleValueOrDefault, getSingleIntegerValue, getSingleIntegerValue, getSingleIntegerValue, getSingleIntegerValueOrDefault, getSingleLongValueOrDefault, getSingleLongValueOrDefault, getSingleStringValue, getSingleStringValue, getSingleStringValueOrDefault, getSingleStringValueOrDefault, getSingleStringValueOrDefault, getSingleStringValueOrEmptyString, getSingleStringValueOrEmptyString, getSingleStringValueOrEmptyString, getSingleStringValueOrNull, getSingleStringValueOrNull, getSingleStringValueOrNull, getSingleStringValueOrNull, getStringValues, getStringValues, getStringValues, getTag, isAvailableAsString, isGroupLength, read, removeValues, setValues, setValues, setValues
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

LongString

public LongString(DicomTag t)

Construct an (empty) attribute.

Parameters:
t - the tag of the attribute

LongString

public LongString(DicomTag t,
                  SpecificCharacterSet specificCharacterSet)

Construct an (empty) attribute.

Parameters:
t - the tag of the attribute
specificCharacterSet - the character set to be used for the text
Method Detail

getValueRepresentation

public ValueRepresentation getValueRepresentation()
Return the value representation of this data element

Specified by:
getValueRepresentation in class DataElement
Returns:
the value representation (LO)

getVR

public byte[] getVR()
Deprecated. 

Get the value representation of this attribute (LO).

Returns:
'L','O' in ASCII as a two byte array; see

isValid

public boolean isValid()
Description copied from class: DataElement

check is the data of this element is Dicom compliant

Overrides:
isValid in class DataElement
Returns:
true is dicom compliant


Copyright © 2009 dicom4j. All Rights Reserved.