public enum VR extends Enum<VR>
| Modifier and Type | Class and Description |
|---|---|
static class |
VR.Holder |
| Enum Constant and Description |
|---|
AE |
AS |
AT |
CS |
DA |
DS |
DT |
FD |
FL |
IS |
LO |
LT |
OB |
OF |
OW |
PN |
SH |
SL |
SQ |
SS |
ST |
TM |
UI |
UL |
UN |
US |
UT |
| Modifier and Type | Field and Description |
|---|---|
protected int |
code |
protected int |
headerLength |
protected boolean |
inlineBinary |
protected int |
paddingByte |
protected org.dcm4che3.data.ValueType |
valueType |
| Modifier and Type | Method and Description |
|---|---|
int |
code() |
int |
headerLength() |
boolean |
isInlineBinary() |
boolean |
isIntType() |
boolean |
isStringType() |
boolean |
isTemporalType() |
int |
numEndianBytes() |
int |
paddingByte() |
boolean |
prompt(Object val,
boolean bigEndian,
SpecificCharacterSet cs,
int maxChars,
StringBuilder sb) |
byte[] |
toBytes(Object val,
SpecificCharacterSet cs) |
Date |
toDate(Object val,
TimeZone tz,
int valueIndex,
boolean ceil,
Date defVal,
DatePrecision precision) |
Date[] |
toDates(Object val,
TimeZone tz,
boolean ceil,
DatePrecisions precisions) |
byte[] |
toggleEndian(byte[] b,
boolean preserve) |
Object |
toValue(Date[] ds,
TimeZone tz,
DatePrecision precision) |
void |
toXML(Object val,
boolean bigEndian,
SpecificCharacterSet cs,
SAXWriter saxWriter) |
boolean |
useSpecificCharacterSet() |
static VR |
valueOf(int code) |
static VR |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static VR[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
int |
vmOf(Object val) |
public static final VR AE
public static final VR AS
public static final VR AT
public static final VR CS
public static final VR DA
public static final VR DS
public static final VR DT
public static final VR FD
public static final VR FL
public static final VR IS
public static final VR LO
public static final VR LT
public static final VR OB
public static final VR OF
public static final VR OW
public static final VR PN
public static final VR SH
public static final VR SL
public static final VR SQ
public static final VR SS
public static final VR ST
public static final VR TM
public static final VR UI
public static final VR UL
public static final VR UN
public static final VR US
public static final VR UT
protected final int code
protected final int headerLength
protected final int paddingByte
protected final org.dcm4che3.data.ValueType valueType
protected final boolean inlineBinary
public static VR[] values()
for (VR c : VR.values()) System.out.println(c);
public static VR valueOf(String name)
name - the name of the enum constant to be returned.IllegalArgumentException - if this enum type has no constant
with the specified nameNullPointerException - if the argument is nullpublic static VR valueOf(int code)
public int code()
public int headerLength()
public int paddingByte()
public boolean isTemporalType()
public boolean isStringType()
public boolean useSpecificCharacterSet()
public boolean isIntType()
public boolean isInlineBinary()
public int numEndianBytes()
public byte[] toggleEndian(byte[] b,
boolean preserve)
public byte[] toBytes(Object val, SpecificCharacterSet cs)
public Date toDate(Object val, TimeZone tz, int valueIndex, boolean ceil, Date defVal, DatePrecision precision)
public Date[] toDates(Object val, TimeZone tz, boolean ceil, DatePrecisions precisions)
public Object toValue(Date[] ds, TimeZone tz, DatePrecision precision)
public boolean prompt(Object val, boolean bigEndian, SpecificCharacterSet cs, int maxChars, StringBuilder sb)
public void toXML(Object val, boolean bigEndian, SpecificCharacterSet cs, SAXWriter saxWriter) throws SAXException
SAXExceptionpublic int vmOf(Object val)
Copyright © 2014 dcm4che.org. All Rights Reserved.