private void appendTo( int tag, String privateCreator, int index, String valueOrItem, String suffix, StringBuilder sb) { sb.append("DicomAttribute[@tag=\"").append(TagUtils.toHexString(tag)); if (privateCreator != null) sb.append("\" and @privateCreator=\"").append(privateCreator); if (vr != null) sb.append("\" and @vr=\"").append(vr); sb.append(valueOrItem).append(index + 1).append(suffix); }
public void setNull(String attrPath) { int[] tagPath = TagUtils.parseTagPath(attrPath); int tag = tagPath[tagPath.length - 1]; nestedKeys(tagPath).setNull(tag, DICT.vrOf(tag)); }
public void setString(String attrPath, String... ss) { int[] tagPath = TagUtils.parseTagPath(attrPath); int tag = tagPath[tagPath.length - 1]; nestedKeys(tagPath).setString(tag, DICT.vrOf(tag), ss); }