|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object php.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 ScriptEngineFactory
public java.lang.String getEngineVersion()
getEngineVersion
in interface ScriptEngineFactory
public java.lang.String getLanguageName()
getLanguageName
in interface ScriptEngineFactory
public java.lang.String getLanguageVersion()
getLanguageVersion
in interface ScriptEngineFactory
public java.util.List getExtensions()
getExtensions
in interface ScriptEngineFactory
public java.util.List getMimeTypes()
getMimeTypes
in interface ScriptEngineFactory
public java.util.List getNames()
getNames
in interface ScriptEngineFactory
public ScriptEngine getScriptEngine()
getScriptEngine
in interface ScriptEngineFactory
public java.lang.Object getParameter(java.lang.String key)
getParameter
in interface ScriptEngineFactory
key
- The key
public java.lang.String getMethodCallSyntax(java.lang.String obj, java.lang.String m, java.lang.String[] args)
getMethodCallSyntax
in interface ScriptEngineFactory
obj
- The call objectm
- The methodsargs
- The arguments
public java.lang.String getOutputStatement(java.lang.String toDisplay)
getOutputStatement
in interface ScriptEngineFactory
toDisplay
- The output string
public java.lang.String getProgram(java.lang.String[] statements)
getProgram
in interface ScriptEngineFactory
statements
- The statement sequence
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |