org.scijava.script
Class AbstractScriptHeader
java.lang.Object
org.scijava.AbstractContextual
org.scijava.plugin.AbstractRichPlugin
org.scijava.plugin.AbstractTypedPlugin<D>
org.scijava.plugin.AbstractHandlerPlugin<ScriptLanguage>
org.scijava.script.AbstractScriptHeader
- All Implemented Interfaces:
- Comparable<Prioritized>, Contextual, HandlerPlugin<ScriptLanguage>, HasPluginInfo, RichPlugin, SciJavaPlugin, SingletonPlugin, TypedPlugin<ScriptLanguage>, Prioritized, ScriptHeader, Typed<ScriptLanguage>
public abstract class AbstractScriptHeader
- extends AbstractHandlerPlugin<ScriptLanguage>
- implements ScriptHeader
Abstract superclass for ScriptHeader
implementations.
- Author:
- Mark Hiner
AbstractScriptHeader
public AbstractScriptHeader()
supports
public boolean supports(ScriptLanguage language)
- Description copied from interface:
Typed
- Gets whether this object is compatible with the given data object.
By default, this method will return true
always, since the type is
known to be compatible. But individual implementations may have other
requirements beyond class assignability.
- Specified by:
supports
in interface Typed<ScriptLanguage>
- Overrides:
supports
in class AbstractTypedPlugin<ScriptLanguage>
getType
public Class<ScriptLanguage> getType()
- Description copied from interface:
Typed
- Gets the type associated with the object.
- Specified by:
getType
in interface Typed<ScriptLanguage>
handledType
protected abstract Class<? extends ScriptLanguage> handledType()
Copyright © 2009–2015 SciJava. All rights reserved.