public class WebImageHandler extends ImageHandler
ImageHandler for web specific views.loglongfmt, nf| Constructor and Description | 
|---|
WebImageHandler()
Default Constructor 
 | 
| Modifier and Type | Method and Description | 
|---|---|
Obs | 
getObs(Obs obs,
      java.lang.String view)
Returns the ComplexData for an Obs depending on the view. 
 | 
saveObsgetComplexDataFile, getExtension, getOutputFileToWrite, purgeComplexDataclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitpurgeComplexDatapublic Obs getObs(Obs obs, java.lang.String view)
WebConstants.HYPERLINK_VIEW: a lightweight alternative to returning the
 ComplexData from the parent class since this does not require access to the service layer.
 Gives a link to the ComplexServlet for this obs
 WebConstants.HTML_VIEW: An html tag that will display this complex data. For this
 ImageHandler, its an html img tag.
 getObs in interface ComplexObsHandlergetObs in class ImageHandlerobs - an obs without complex data filled inview - nullable view type. This is defined by the ui and view/handlerorg.openmrs.obs.handler.ImageHandler#getComplexData(org.openmrs.Obs, java.lang.String)Copyright © 2018 OpenMRS Inc.. All Rights Reserved.