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, toStringcontext, getContext, setContextclone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitgetHeadercontext, getContext, setContextgetPriority, setPrioritycompareTogetInfo, setInfopublic 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()
TypedgetType in interface Typed<ScriptLanguage>protected abstract Class<? extends ScriptLanguage> handledType()
Copyright © 2009–2016 SciJava. All rights reserved.