jasp.vbs
Class vbclass
java.lang.Object
|
+--jasp.vbs.vbclass
- public class vbclass
- extends java.lang.Object
This class implements the VBScript Class Module, including set or get
the properties of the class module, invoke the subroutine of the class
module etc.
Method Summary |
void |
destroy()
Destroys the class module object. |
variant |
get(java.lang.String name)
Returns the property of the class module (GET PROPERTY statement). |
variant |
get(java.lang.String name,
pVector pars)
Returns the property of the class module (GET PROPERTY statement). |
variant |
invoke(java.lang.String methodname,
pVector pars)
Invokes the subroutine of the class. |
void |
set(java.lang.String name,
java.lang.Object value)
Sets the value of the property in the class module (SET PROPERTY statement) |
void |
set(java.lang.String name,
pVector pars,
java.lang.Object value)
Sets the value of the proprety in the class module (SET PROPERTY statement). |
Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
vbclass
public vbclass()
destroy
public void destroy()
throws java.lang.Exception
- Destroys the class module object.
invoke
public variant invoke(java.lang.String methodname,
pVector pars)
throws java.lang.Exception
- Invokes the subroutine of the class.
- Parameters:
methodname
- the name of the subroutine.pars
- the parameters of the subroutine.- Returns:
- return a variant value.
get
public variant get(java.lang.String name)
throws java.lang.Exception
- Returns the property of the class module (GET PROPERTY statement).
- Parameters:
the
- name of the property.- Returns:
- the value of the property.
get
public variant get(java.lang.String name,
pVector pars)
throws java.lang.Exception
- Returns the property of the class module (GET PROPERTY statement).
- Parameters:
name
- the name of the property.pars
- the parameters of the property.- Returns:
- a variant.
set
public void set(java.lang.String name,
java.lang.Object value)
throws java.lang.Exception
- Sets the value of the property in the class module (SET PROPERTY statement)
- Parameters:
name
- the name of the property.value
- an object.
set
public void set(java.lang.String name,
pVector pars,
java.lang.Object value)
throws java.lang.Exception
- Sets the value of the proprety in the class module (SET PROPERTY statement).
- Parameters:
name
- the name of the property.pars
- the parameters of the property.value
- the new value of the property.