public abstract class AbstractScriptHeader extends AbstractHandlerPlugin<ScriptLanguage> implements ScriptHeader
ScriptHeader
implementations.Constructor and Description |
---|
AbstractScriptHeader() |
Modifier and Type | Method and Description |
---|---|
protected abstract Class<? extends ScriptLanguage> |
handledType() |
boolean |
supports(ScriptLanguage language)
Gets whether this object is compatible with the given data object.
|
getInfo, getPriority, setInfo, setPriority, toString
context, getContext
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
getHeader, getType
getIdentifier, log
context, getContext, setContext
compareTo, getPriority, setPriority
getInfo, setInfo
getLocation
getVersion
public boolean supports(ScriptLanguage language)
Typed
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.
supports
in interface Typed<ScriptLanguage>
protected abstract Class<? extends ScriptLanguage> handledType()
Copyright © 2009–2017 SciJava. All rights reserved.