|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectcom.infoengine.object.factory.Webject
com.infoengine.SAK.Webject
com.infoengine.SAK.ExternalWebject
public class ExternalWebject
This class provides methods to construct and execute externally defined webjects in applications and JSP pages.
| Field Summary |
|---|
| Fields inherited from class com.infoengine.object.factory.Webject |
|---|
CLASS, DISPLAY, EXTERNAL, GROUP, GROUP_IN, GROUP_OUT, MESSAGE, OBJECT, OUTPUT, TASK, text, TYPE, UNKNOWN |
| Constructor Summary | |
|---|---|
ExternalWebject()
Constructs an external webject with no name. |
|
ExternalWebject(java.lang.String name)
Constructs an external webject with a specific name. |
|
| Method Summary | |
|---|---|
void |
invoke()
Invokes the webject in the server context. |
void |
invoke(Task task)
Invokes the webject in the server context. |
void |
setOutputStream(java.io.OutputStream os)
Sets the output stream to a specific stream. |
void |
setUseClass(java.lang.String className)
Sets the Java class that implements the webject. |
java.lang.String |
toString()
Returns a string containing the output currently associated with this webject. |
| Methods inherited from class com.infoengine.SAK.Webject |
|---|
addParam, getInputStream, getOutputStream, getProcessor, getProcessorClassName, getService, run, setInputStream, setInputStream, setInputStream, setOutputStream, setParam, setService |
| Methods inherited from class com.infoengine.object.factory.Webject |
|---|
addKey, addMessage, addMeta, addMetaValue, addOutput, addParam, addUniqueKey, addUniqueValue, addValue, addValue, addWebject, clearParams, clone, deepClone, getClassName, getDefinition, getGroupInName, getGroupInNames, getGroupOutName, getGroupOutNames, getKey, getKeys, getMessages, getMetaValue, getName, getNode, getOutput, getParam, getParamNames, getParams, getPassword, getType, getUserName, getValue, getValues, getWebjects, objectParamValue, objectParamValue, paramValue, paramValue, paramValues, printTree, removeAllWebjects, removeParam, removeParams, removeWebject, setClassName, setName, setParam, setPassword, setType, setUserName, setValue, validate |
| Methods inherited from class java.lang.Object |
|---|
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
public ExternalWebject()
public ExternalWebject(java.lang.String name)
name - The name to be assigned to the webject.| Method Detail |
|---|
public void setUseClass(java.lang.String className)
className - The name of the Java class that implements
this webject.public java.lang.String toString()
toString in class Webject
public void invoke()
throws IEException,
java.io.IOException
invoke in class WebjectIEException - if the webject is not executed successfully.
java.io.IOException - if an I/O error occurs while the webject is
generating output.
public void invoke(Task task)
throws IEException,
java.io.IOException
invoke in class Webjecttask - The task associated with the webject.
IEException - if the webject is not executed successfully.
java.io.IOException - if an I/O error occurs while the webject is
generating output.public void setOutputStream(java.io.OutputStream os)
setOutputStream in class Webjectos - The OutputStream to use to catch the webject's output (if any).
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||