php.java.script
Class InvocablePhpScriptEngineFactory

java.lang.Object
  extended by php.java.script.PhpScriptEngineFactory
      extended by php.java.script.InvocablePhpScriptEngineFactory
All Implemented Interfaces:
ScriptEngineFactory
Direct Known Subclasses:
InteractivePhpScriptEngineFactory

public class InvocablePhpScriptEngineFactory
extends PhpScriptEngineFactory

Create a standalone invocable PHP script engines.


Constructor Summary
InvocablePhpScriptEngineFactory()
          Create a new EngineFactory
 
Method Summary
 java.util.List getExtensions()
          Retrieves an array of Strings which are file extensions tipically used for files containing scripts written in the language supported by the ScriptEngine.
 java.lang.String getLanguageName()
          Retrieves the name of the language supported by the ScriptEngine.
 java.util.List getNames()
          Retrieves an array of short descriptive names such as {"javascript", "rhino"} describing the language supported by the Script Engine.
 
Methods inherited from class php.java.script.PhpScriptEngineFactory
getEngineName, getEngineVersion, getLanguageVersion, getMethodCallSyntax, getMimeTypes, getOutputStatement, getParameter, getProgram, getScriptEngine
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

InvocablePhpScriptEngineFactory

public InvocablePhpScriptEngineFactory()
Create a new EngineFactory

Method Detail

getLanguageName

public java.lang.String getLanguageName()
Retrieves the name of the language supported by the ScriptEngine.

Specified by:
getLanguageName in interface ScriptEngineFactory
Overrides:
getLanguageName in class PhpScriptEngineFactory
Returns:
the name of the supported language

getNames

public java.util.List getNames()
Retrieves an array of short descriptive names such as {"javascript", "rhino"} describing the language supported by the Script Engine.

Specified by:
getNames in interface ScriptEngineFactory
Overrides:
getNames in class PhpScriptEngineFactory
Returns:
an array of short descriptive names describing the language supported by the ScriptEngine

getExtensions

public java.util.List getExtensions()
Retrieves an array of Strings which are file extensions tipically used for files containing scripts written in the language supported by the ScriptEngine.

Specified by:
getExtensions in interface ScriptEngineFactory
Overrides:
getExtensions in class PhpScriptEngineFactory
Returns:
string array of supported file extensions