Class AbstractScriptEngineFactory

  • All Implemented Interfaces:
    javax.script.ScriptEngineFactory

    public abstract class AbstractScriptEngineFactory
    extends java.lang.Object
    implements javax.script.ScriptEngineFactory
    This abstract class can be used for own script engine factory implementations.
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      java.lang.String getEngineName()  
      java.lang.String getEngineVersion()  
      java.util.List<java.lang.String> getExtensions()  
      java.lang.String getMethodCallSyntax​(java.lang.String obj, java.lang.String m, java.lang.String... args)  
      java.util.List<java.lang.String> getMimeTypes()  
      java.util.List<java.lang.String> getNames()  
      java.lang.String getOutputStatement​(java.lang.String value)  
      java.lang.Object getParameter​(java.lang.String name)  
      java.lang.String getProgram​(java.lang.String... arg0)  
      • Methods inherited from class java.lang.Object

        equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
      • Methods inherited from interface javax.script.ScriptEngineFactory

        getLanguageName, getLanguageVersion, getScriptEngine
    • Method Detail

      • getEngineName

        public java.lang.String getEngineName()
        Specified by:
        getEngineName in interface javax.script.ScriptEngineFactory
        See Also:
        ScriptEngineFactory.getEngineName()
      • getEngineVersion

        public java.lang.String getEngineVersion()
        Specified by:
        getEngineVersion in interface javax.script.ScriptEngineFactory
        See Also:
        ScriptEngineFactory.getEngineVersion()
      • getExtensions

        public java.util.List<java.lang.String> getExtensions()
        Specified by:
        getExtensions in interface javax.script.ScriptEngineFactory
        See Also:
        ScriptEngineFactory.getExtensions()
      • getMimeTypes

        public java.util.List<java.lang.String> getMimeTypes()
        Specified by:
        getMimeTypes in interface javax.script.ScriptEngineFactory
        See Also:
        ScriptEngineFactory.getMimeTypes()
      • getNames

        public java.util.List<java.lang.String> getNames()
        Specified by:
        getNames in interface javax.script.ScriptEngineFactory
        See Also:
        ScriptEngineFactory.getNames()
      • getMethodCallSyntax

        public java.lang.String getMethodCallSyntax​(java.lang.String obj,
                                                    java.lang.String m,
                                                    java.lang.String... args)
        Specified by:
        getMethodCallSyntax in interface javax.script.ScriptEngineFactory
        See Also:
        ScriptEngineFactory.getMethodCallSyntax(java.lang.String, java.lang.String, java.lang.String[])
      • getOutputStatement

        public java.lang.String getOutputStatement​(java.lang.String value)
        Specified by:
        getOutputStatement in interface javax.script.ScriptEngineFactory
        See Also:
        ScriptEngineFactory.getOutputStatement(java.lang.String)
      • getParameter

        public java.lang.Object getParameter​(java.lang.String name)
        Specified by:
        getParameter in interface javax.script.ScriptEngineFactory
        See Also:
        ScriptEngineFactory.getParameter(java.lang.String)
      • getProgram

        public java.lang.String getProgram​(java.lang.String... arg0)
        Specified by:
        getProgram in interface javax.script.ScriptEngineFactory
        See Also:
        ScriptEngineFactory.getProgram(java.lang.String[])