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