org.embl.ebi.escience.scuflui.renderers
Class AbstractRenderer.BySemanticType

java.lang.Object
  extended by org.embl.ebi.escience.scuflui.renderers.AbstractRenderer
      extended by org.embl.ebi.escience.scuflui.renderers.AbstractRenderer.BySemanticType
All Implemented Interfaces:
RendererSPI
Enclosing class:
AbstractRenderer

public abstract class AbstractRenderer.BySemanticType
extends AbstractRenderer


Nested Class Summary
 
Nested classes/interfaces inherited from class org.embl.ebi.escience.scuflui.renderers.AbstractRenderer
AbstractRenderer.ByJavaClass, AbstractRenderer.ByMimeType, AbstractRenderer.ByPattern, AbstractRenderer.BySemanticType
 
Method Summary
 boolean canHandle(RendererRegistry renderers, DataThing dataThing)
          Return true if this SPI can handle the given object with the given mime type, false otherwise.
 
Methods inherited from class org.embl.ebi.escience.scuflui.renderers.AbstractRenderer
getIcon, getName
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface org.embl.ebi.escience.scuflui.spi.RendererSPI
getComponent, isTerminal
 

Method Detail

canHandle

public final boolean canHandle(RendererRegistry renderers,
                               DataThing dataThing)
Description copied from interface: RendererSPI
Return true if this SPI can handle the given object with the given mime type, false otherwise.

Parameters:
renderers - the MimeTypeRendereRegistry to look up sibling renderers
dataThing - the object to render
Returns:
true if we can handle the mime type