|
Elexis: Das führende OpenSource-Arztpraxisprogamm im deutschsprachigen Raum Java doc for Elexis version 2.1.7.dev vom 17.03.2013 |
||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectag.ion.noa.internal.script.Script
public class Script
Script of the office scripting framework which can be invoked.
| Field Summary |
|---|
| Fields inherited from interface ag.ion.noa.script.IScript |
|---|
EMPTY_ARRAY |
| Constructor Summary | |
|---|---|
Script(java.lang.String uri,
com.sun.star.script.provider.XScript xScript)
Constructs a Script. |
|
| Method Summary | |
|---|---|
java.lang.String |
getLanguage()
Returns the language of the script. |
java.lang.String |
getLibraryName()
Returns the library name of the script. |
java.lang.String |
getModuleName()
Returns the module name of the script, or null if not TYPE_BASIC. |
java.lang.String |
getName()
Returns the name of the script. |
java.lang.String |
getURI()
Returns the URI of the script as string. |
com.sun.star.script.provider.XScript |
getXScript()
Returns OpenOffice.org XScript interface. |
java.lang.Object |
invoke()
Invokes the script without parameters. |
java.lang.Object |
invoke(java.lang.Object[] parameters,
short[][] outParameterIndices,
java.lang.Object[][] outParameters)
Invokes the script. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public Script(java.lang.String uri,
com.sun.star.script.provider.XScript xScript)
uri - the uri to be usedxScript - OpenOffice.org XScript interface to be used| Method Detail |
|---|
public java.lang.String getName()
getName in interface IScriptpublic java.lang.String getModuleName()
getModuleName in interface IScriptpublic java.lang.String getLibraryName()
getLibraryName in interface IScriptpublic java.lang.String getLanguage()
getLanguage in interface IScriptIScriptProvider.TYPE_BASIC,
IScriptProvider.TYPE_BEAN_SHELL,
IScriptProvider.TYPE_JAVA,
IScriptProvider.TYPE_JAVA_SCRIPT,
IScriptProvider.TYPE_PYTHONpublic java.lang.String getURI()
getURI in interface IScriptpublic com.sun.star.script.provider.XScript getXScript()
getXScript in interface IScript
public java.lang.Object invoke(java.lang.Object[] parameters,
short[][] outParameterIndices,
java.lang.Object[][] outParameters)
throws NOAException
invoke in interface IScriptparameters - parameters to be used for script invocationoutParameterIndices - indices of output related parameters within the parametersoutParameters - storage for out parameters
NOAException - if the script can not be invoked
public java.lang.Object invoke()
throws NOAException
invoke in interface IScriptNOAException - if the script can not be invoked
|
Elexis: Das führende OpenSource-Arztpraxisprogamm im deutschsprachigen Raum Java doc for Elexis version 2.1.7.dev vom 17.03.2013 |
||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||