|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.caucho.quercus.page.QuercusPage
com.caucho.quercus.page.InterpretedPage
public class InterpretedPage
Represents an interpreted Quercus program.
| Constructor Summary | |
|---|---|
InterpretedPage(QuercusProgram program)
|
|
| Method Summary | |
|---|---|
boolean |
equals(java.lang.Object o)
|
Value |
execute(Env env)
Execute the program |
InterpretedClassDef |
findClass(java.lang.String name)
Finds the class |
AbstractFunction |
findFunction(java.lang.String name)
Finds the function |
java.util.HashMap<java.lang.String,ClassDef> |
getClassMap()
Returns the class map. |
QuercusPage |
getCompiledPage()
Returns any profile page. |
QuercusPage |
getProfilePage()
Returns any profile page. |
Path |
getPwd(Env env)
Returns the pwd according to the source page. |
Path |
getSelfPath(Env env)
Returns the pwd according to the source page. |
void |
importDefinitions(Env env)
Imports the page definitions. |
void |
init(Env env)
Imports the page definitions. |
boolean |
isModified()
Returns true if the page is modified. |
boolean |
setRuntimeFunction(AbstractFunction[] funList)
Sets a runtime function array after an env. |
java.lang.String |
toString()
|
| Methods inherited from class com.caucho.quercus.page.QuercusPage |
|---|
addClass, addFunction, executeTop, getUserPath, init, setProfilePage |
| Methods inherited from class java.lang.Object |
|---|
clone, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
public InterpretedPage(QuercusProgram program)
| Method Detail |
|---|
public boolean isModified()
isModified in class QuercusPagepublic QuercusPage getProfilePage()
getProfilePage in class QuercusPagepublic QuercusPage getCompiledPage()
getCompiledPage in class QuercusPagepublic Value execute(Env env)
execute in class QuercusPageenv - the calling environmentpublic Path getPwd(Env env)
getPwd in class QuercusPagepublic Path getSelfPath(Env env)
getSelfPath in class QuercusPagepublic void init(Env env)
init in class QuercusPagepublic void importDefinitions(Env env)
importDefinitions in class QuercusPagepublic AbstractFunction findFunction(java.lang.String name)
findFunction in class QuercusPagepublic InterpretedClassDef findClass(java.lang.String name)
findClass in class QuercusPagepublic java.util.HashMap<java.lang.String,ClassDef> getClassMap()
getClassMap in class QuercusPagepublic boolean setRuntimeFunction(AbstractFunction[] funList)
setRuntimeFunction in class QuercusPagepublic boolean equals(java.lang.Object o)
equals in class java.lang.Objectpublic java.lang.String toString()
toString in class QuercusPage
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||