public static ElementDictionary getElementDictionary( String privateCreator) { if (privateCreator != null) synchronized (loader) { for (ElementDictionary dict : loader) if (privateCreator.equals(dict.getPrivateCreator())) return dict; } return getStandardElementDictionary(); }
public static void fillAttributes(Iterator<Entry<TagW, Object>> iter, Attributes dataset) { if (iter != null && dataset != null) { ElementDictionary dic = ElementDictionary.getStandardElementDictionary(); while (iter.hasNext()) { Entry<TagW, Object> entry = iter.next(); fillAttributes(dataset, entry.getKey(), entry.getValue(), dic); } } }
public static void fillAttributes(Map<TagW, Object> tags, Attributes dataset) { if (tags != null && dataset != null) { ElementDictionary dic = ElementDictionary.getStandardElementDictionary(); for (Entry<TagW, Object> entry : tags.entrySet()) { fillAttributes(dataset, entry.getKey(), entry.getValue(), dic); } } }
private void setDummyValues(String[] optVals) { if (optVals != null) for (int i = 1; i < optVals.length; i++, i++) { int tag = CLIUtils.toTag(optVals[i - 1]); VR vr = ElementDictionary.getStandardElementDictionary().vrOf(tag); deidentifier.setDummyValue(tag, vr, optVals[i]); } }
private void setDummyValues(String[] optVals) { if (optVals != null) for (int i = 1; i < optVals.length; i++, i++) { int tag = CLIUtils.toTag(optVals[i - 1]); VR vr = ElementDictionary.getStandardElementDictionary().vrOf(tag); deidentifier.setDummyValue(tag, vr, optVals[i]); } }
private void initDummyValues(int[] d) { ElementDictionary dict = ElementDictionary.getStandardElementDictionary(); for (int tag : d) initDummyValue(dict.vrOf(tag), tag); initDummyValue(VR.DA, Tag.SeriesDate); initDummyValue(VR.TM, Tag.SeriesTime); }
private static void setSequenceQueryAttrs(QidoRS main, String url, Sequence sequence, String seqKeyWork) { ElementDictionary dict = ElementDictionary.getStandardElementDictionary(); for(Attributes item : sequence) { for(int i=0; i < item.tags().length; i++) { int tag = item.tags()[i]; if(item.getSequence(tag) == null) { url+=(url.endsWith(".")?"":(url.contains("?")?"&":"?")) +keyWordOf(main, dict, tag, main.queryAttrs) +"="+(String) main.queryAttrs.getValue(tag); } else { url+=(url.endsWith(".")?"":(url.contains("?")?"&":"?")) +keyWordOf(main, dict, tag, main.queryAttrs)+"."; setSequenceQueryAttrs(main,url,main.queryAttrs.getSequence(tag) , keyWordOf(main, dict, tag, main.queryAttrs)); } } } }
vr = ElementDictionary.getStandardElementDictionary() .vrOf(tag); handler.readValue(this, attrs);
MediaSeriesGroup study = dicomModel.getParent(dicomSeries, DicomModel.study); MediaSeriesGroup patient = dicomModel.getParent(dicomSeries, DicomModel.patient); ElementDictionary dic = ElementDictionary.getStandardElementDictionary();
private static String addRequestParameters(final QidoRS main, String url) throws UnsupportedEncodingException { ElementDictionary dict = ElementDictionary.getStandardElementDictionary();