|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectphp.java.script.PhpScriptEngineFactory
public class PhpScriptEngineFactory
Create a standalone PHP script engines.
| Constructor Summary | |
|---|---|
PhpScriptEngineFactory()
Create a new EngineFactory |
|
| Method Summary | |
|---|---|
java.lang.String |
getEngineName()
Retrieves the full name of the ScriptEngine. |
java.lang.String |
getEngineVersion()
Retrieves the version of the Script Engine. |
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.lang.String |
getLanguageVersion()
Retrieves the version of the language supported by the ScriptEngine. |
java.lang.String |
getMethodCallSyntax(java.lang.String obj,
java.lang.String m,
java.lang.String[] args)
Return a syntax string for method calls |
java.util.List |
getMimeTypes()
Retrieves an array of Strings containing MIME types describing the content which can be processed using the Script Engine. |
java.util.List |
getNames()
Retrieves an array of short descriptive names such as {"javascript", "rhino"} describing the language supported by the Script Engine. |
java.lang.String |
getOutputStatement(java.lang.String toDisplay)
Return the output syntax |
java.lang.Object |
getParameter(java.lang.String key)
Retrieves an associated value for the specified key. |
java.lang.String |
getProgram(java.lang.String[] statements)
Return the program syntax |
ScriptEngine |
getScriptEngine()
Retrieves an instance of the associated ScriptEngine. |
| Methods inherited from class java.lang.Object |
|---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public PhpScriptEngineFactory()
| Method Detail |
|---|
public java.lang.String getEngineName()
getEngineName in interface ScriptEngineFactorypublic java.lang.String getEngineVersion()
getEngineVersion in interface ScriptEngineFactorypublic java.lang.String getLanguageName()
getLanguageName in interface ScriptEngineFactorypublic java.lang.String getLanguageVersion()
getLanguageVersion in interface ScriptEngineFactorypublic java.util.List getExtensions()
getExtensions in interface ScriptEngineFactorypublic java.util.List getMimeTypes()
getMimeTypes in interface ScriptEngineFactorypublic java.util.List getNames()
getNames in interface ScriptEngineFactorypublic ScriptEngine getScriptEngine()
getScriptEngine in interface ScriptEngineFactorypublic java.lang.Object getParameter(java.lang.String key)
getParameter in interface ScriptEngineFactorykey - The key
public java.lang.String getMethodCallSyntax(java.lang.String obj,
java.lang.String m,
java.lang.String[] args)
getMethodCallSyntax in interface ScriptEngineFactoryobj - The call objectm - The methodsargs - The arguments
public java.lang.String getOutputStatement(java.lang.String toDisplay)
getOutputStatement in interface ScriptEngineFactorytoDisplay - The output string
public java.lang.String getProgram(java.lang.String[] statements)
getProgram in interface ScriptEngineFactorystatements - The statement sequence
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||