Produced by Araxis Merge on 12/5/2017 12:06:42 PM Central Standard Time. See www.araxis.com for information about Merge. This report uses XHTML and CSS2, and is best viewed with a modern standards-compliant browser. For optimum results when printing this report, use landscape orientation and enable printing of background images and colours in your browser.
| # | Location | File | Last Modified |
|---|---|---|---|
| 1 | IV-eHMP_CIF.zip\IMAG_Source\VISA\Java\ImagingBaseWebFacade\main\src\java\gov\va\med\imaging\exchange\business\taglib\image | AbstractImagePropertyTag.java | Mon Dec 4 21:35:30 2017 UTC |
| 2 | IV-eHMP_CIF.zip\IMAG_Source\VISA\Java\ImagingBaseWebFacade\main\src\java\gov\va\med\imaging\exchange\business\taglib\image | AbstractImagePropertyTag.java | Mon Dec 4 22:01:16 2017 UTC |
| Description | Between Files 1 and 2 |
|
|---|---|---|
| Text Blocks | Lines | |
| Unchanged | 3 | 236 |
| Changed | 2 | 4 |
| Inserted | 0 | 0 |
| Removed | 0 | 0 |
| Whitespace | |
|---|---|
| Character case | Differences in character case are significant |
| Line endings | Differences in line endings (CR and LF characters) are ignored |
| CR/LF characters | Not shown in the comparison detail |
No regular expressions were active.
| 1 | /** | |
| 2 | * Package : MAG - Vi stA Imagin g | |
| 3 | * WARNING : Per VHA Directive 2004-038, this routi ne should not be mod ified. | |
| 4 | * Date Cr eated: Jan 30, 2008 | |
| 5 | * Site Na me: Washi ngton OI F ield Offic e, Silver Spring, MD | |
| 6 | * @author
|
|
| 7 | * @versio n 1.0 | |
| 8 | * | |
| 9 | * ------- ---------- ---------- ---------- ---------- ---------- ------- | |
| 10 | * Propert y of the U S Governme nt. | |
| 11 | * No perm ission to copy or re distribute this soft ware is gi ven. | |
| 12 | * Use of unreleased versions of this so ftware req uires the user | |
| 13 | * to exec ute a writ ten test a greement w ith the Vi stA Imagin g | |
| 14 | * Develop ment Offic e of the D epartment of Veteran s Affairs, | |
| 15 | * telepho ne (301) 7 34-0100. | |
| 16 | * | |
| 17 | * The Foo d and Drug Administr ation clas sifies thi s software as | |
| 18 | * a Class II medica l device. As such, it may not be change d | |
| 19 | * in any way. Modi fications to this so ftware may result in an | |
| 20 | * adulter ated medic al device under 21CF R820, the use of whi ch | |
| 21 | * is cons idered to be a viola tion of US Federal S tatutes. | |
| 22 | * ------- ---------- ---------- ---------- ---------- ---------- ------- | |
| 23 | */ | |
| 24 | package go v.va.med.i maging.exc hange.busi ness.tagli b.image; | |
| 25 | ||
| 26 | import gov .va.med.im aging.exch ange.busin ess.Image; | |
| 27 | ||
| 28 | import jav a.io.IOExc eption; | |
| 29 | import jav a.io.Write r; | |
| 30 | import jav a.text.Dat eFormat; | |
| 31 | ||
| 32 | import jav ax.servlet .jsp.JspEx ception; | |
| 33 | import jav ax.servlet .jsp.tagex t.Tag; | |
| 34 | import jav ax.servlet .jsp.tagex t.TagSuppo rt; | |
| 35 | ||
| 36 | import org .apache.lo gging.log4 j.LogManag er; | |
| 37 | import org .apache.lo gging.log4 j.Logger; | |
| 38 | ||
| 39 | /** | |
| 40 | * The par ent class of tags th at display Study pro perties. | |
| 41 | * Derivat ions of th is class M UST reside within a StudyPrese ntationTag | |
| 42 | * element . | |
| 43 | * | |
| 44 | * @author
|
|
| 45 | * | |
| 46 | */ | |
| 47 | public abs tract clas s Abstract ImagePrope rtyTag | |
| 48 | extends Ta gSupport | |
| 49 | { | |
| 50 | pr ivate fina l Logger l ogger = Lo gManager.g etLogger(t his.getCla ss()); | |
| 51 | ||
| 52 | pr otected Da teFormat g etDateForm at() | |
| 53 | { | |
| 54 | retu rn DateFor mat.getDat eInstance( ); | |
| 55 | } | |
| 56 | ||
| 57 | pr ivate Abst ractImageT ag getPare ntImageTag () | |
| 58 | th rows JspEx ception | |
| 59 | { | |
| 60 | try | |
| 61 | { | |
| 62 | return (Abstract ImageTag)T agSupport. findAncest orWithClas s(this, Ab stractImag eTag.class ); | |
| 63 | } | |
| 64 | catc h (ClassCa stExceptio n e) | |
| 65 | { | |
| 66 | throw new JspExc eption("Pa rent tag o f Abstract ImagePrope rtyTag mus t be of ty pe Abstrac tImageTag" ); | |
| 67 | } | |
| 68 | } | |
| 69 | ||
| 70 | /* * | |
| 71 | * @re turn the l ogger | |
| 72 | */ | |
| 73 | protec ted Logger getLogger () | |
| 74 | { | |
| 75 | re turn logge r; | |
| 76 | } | |
| 77 | ||
| 78 | pr otected Im age getIma ge() | |
| 79 | th rows JspEx ception | |
| 80 | { | |
| 81 | retu rn getPare ntImageTag ().getImag e(); | |
| 82 | } | |
| 83 | ||
| 84 | pr otected Wr iter getWr iter() | |
| 85 | th rows IOExc eption | |
| 86 | { | |
| 87 | retu rn pageCon text.getOu t(); | |
| 88 | } | |
| 89 | ||
| 90 | /* * | |
| 91 | * Derived c lasses sho uld return the value of their element by implement ing | |
| 92 | * this meth od. | |
| 93 | * | |
| 94 | * @return | |
| 95 | * @throws J spExceptio n | |
| 96 | * / | |
| 97 | pr otected ab stract Str ing getEle mentValue( ) | |
| 98 | th rows JspEx ception; | |
| 99 | ||
| 100 | /* * | |
| 101 | * @se e javax.se rvlet.jsp. tagext.Tag Support#do EndTag() | |
| 102 | */ | |
| 103 | @Overr ide | |
| 104 | public int doEnd Tag() | |
| 105 | throws JspExcept ion | |
| 106 | { | |
| 107 | tr y | |
| 108 | { | |
| 109 | getW riter().wr ite(getEle mentValue( )); | |
| 110 | } | |
| 111 | ca tch (IOExc eption e) | |
| 112 | { | |
| 113 | thro w new JspE xception(e ); | |
| 114 | } | |
| 115 | ||
| 116 | re turn Tag.E VAL_PAGE; | |
| 117 | } | |
| 118 | ||
| 119 | ||
| 120 | } |
Araxis Merge (but not the data content of this report) is Copyright © 1993-2016 Araxis Ltd (www.araxis.com). All rights reserved.