DhObjectFactory Class

DhObjectFactory Class

This Package | All Packages

DhElement
  |
  +--DhBaseContainer
    |
    +--DhObjectFactory
public class DhObjectFactory
extends DhBaseContainer

Creates an object and adds it to the document. To use this, create this class specifying the object's class identifier (CLASSID).

Constructors
Name Description
DhObjectFactory() Constructs a DhObjectFactory object.
DhObjectFactory(String classid) One-step construction.

Methods
Name Description
add(DhElement h) Adds an element as the child of the object tag.
addOnAfterUpdate(DhEventHandler h) Topic under construction.
addOnBeforeUpdate(DhEventHandler h) Topic under construction.
addOnDataAvailable(DhEventHandler h) Topic under construction.
addOnDataSetChanged(DhEventHandler h) Topic under construction.
addOnDataSetComplete(DhEventHandler h) Topic under construction.
addOnError(DhEventHandler h) Topic under construction.
addOnErrorUpdate(DhEventHandler h) Topic under construction.
addOnReadyStateChange(DhEventHandler h) Topic under construction.
addOnRowEnter(DhEventHandler h) Topic under construction.
addOnRowExit(DhEventHandler h) Topic under construction.
addParam(String param, String value) Adds a new parameter.
getClassid() Retrieves the object's current CLASSID.
getClsid() Retrieves the object's current CLASSID.
getCodeBase() Retrieves the object's current CODEBASE.
getCodeClassName() Retrieves the object's current className.
getContent(StringBuffer sb) Retrieves a string representing the HTML of the contents.
getDispatchPeer() Retrieves the IDispatch interface implemented by the OBJECT currently instantiated.
getObjectPeer() Retrieves the object representing the OBJECT instanstiated.
getProgid() Retrieves the object's current PROGID.
getValue(String param) Retrieves the value of the parameter.
removeOnAfterUpdate(DhEventHandler h) Topic under construction.
removeOnBeforeUpdate(DhEventHandler h) Topic under construction.
removeOnDataAvailable(DhEventHandler h) Topic under construction.
removeOnDataSetChanged(DhEventHandler h) Topic under construction.
removeOnDataSetComplete(DhEventHandler h) Topic under construction.
removeOnError(DhEventHandler h) Topic under construction.
removeOnErrorUpdate(DhEventHandler h) Topic under construction.
removeOnReadyStateChange(DhEventHandler h) Topic under construction.
removeOnRowEnter(DhEventHandler h) Topic under construction.
removeOnRowExit(DhEventHandler h) Topic under construction.
removeParam(String param) Removes a parameter from the list.
setClassid(String classid) Sets the object's current CLASSID.
setClsid(_Guid guid) Sets the object's CLASSID.
setCodeBase(String url) Sets the object's CODEBASE.
setCodeClassName(String className) Sets the object's class name.
setProgid(String progid) Sets the object's PROGID.

Constructors

DhObjectFactory.DhObjectFactory

Syntax 1
public DhObjectFactory();
Description

Constructs a DhObjectFactory object.



Syntax 2
public DhObjectFactory( String classid );
Parameters
classid
The class identifier (CLASSID) of an existing object.
Description

One-step construction.

Methods

DhObjectFactory.add

Syntax
protected synchronized void add( DhElement h );
Parameters
h
The DhElement to be added.
Description

Adds an element as the child of the object tag.

DhObjectFactory.addOnAfterUpdate

Syntax
public final void addOnAfterUpdate( DhEventHandler h );
Description

Topic under construction.

DhObjectFactory.addOnBeforeUpdate

Syntax
public final void addOnBeforeUpdate( DhEventHandler h );
Description

Topic under construction.

DhObjectFactory.addOnDataAvailable

Syntax
public final void addOnDataAvailable( DhEventHandler h );
Description

Topic under construction.

DhObjectFactory.addOnDataSetChanged

Syntax
public final void addOnDataSetChanged( DhEventHandler h );
Description

Topic under construction.

DhObjectFactory.addOnDataSetComplete

Syntax
public final void addOnDataSetComplete( DhEventHandler h );
Description

Topic under construction.

DhObjectFactory.addOnError

Syntax
public final void addOnError( DhEventHandler h );
Description

Topic under construction.

DhObjectFactory.addOnErrorUpdate

Syntax
public final void addOnErrorUpdate( DhEventHandler h );
Description

Topic under construction.

DhObjectFactory.addOnReadyStateChange

Syntax
public final void addOnReadyStateChange( DhEventHandler h );
Description

Topic under construction.

DhObjectFactory.addOnRowEnter

Syntax
public final void addOnRowEnter( DhEventHandler h );
Description

Topic under construction.

DhObjectFactory.addOnRowExit

Syntax
public final void addOnRowExit( DhEventHandler h );
Description

Topic under construction.

DhObjectFactory.addParam

Syntax
public synchronized void addParam( String param, String value );
Parameters
param
The name of the parameter.
value
The value of the parameter.
Description

Adds a new parameter.

DhObjectFactory.getClassid

Syntax
public String getClassid();
Return Value

Returns the object's class identifier.

Description

Retrieves the object's current CLASSID.

DhObjectFactory.getClsid

Syntax
public _Guid getClsid();
Return Value

Returns the object's class identifier.

Description

Retrieves the object's current CLASSID.

DhObjectFactory.getCodeBase

Syntax
public String getCodeBase();
Return Value

Returns the object's code base.

Description

Retrieves the object's current CODEBASE.

DhObjectFactory.getCodeClassName

Syntax
public String getCodeClassName();
Return Value

Returns the object's className.

Description

Retrieves the object's current className.

DhObjectFactory.getContent

Syntax
protected synchronized StringBuffer getContent( StringBuffer sb );
Parameters
sb
Topic under construction.
Return Value

Returns the StringBuffer representing the HTML of the contents.

Description

Retrieves a string representing the HTML of the contents.

DhObjectFactory.getDispatchPeer

Syntax
public Object getDispatchPeer();
Return Value

Returns the object representing the IDispatch interface of the OBJECT.

Description

Retrieves the IDispatch interface implemented by the OBJECT currently instantiated. This object can be used along with the com.ms.com.Dispatch class to invoke methods exposed through the controls' IDispatch.

DhObjectFactory.getObjectPeer

Syntax
public Object getObjectPeer();
Return Value

Returns the object representing the OBJECT instanstiated.

Description

Retrieves the object representing the OBJECT instanstiated.

DhObjectFactory.getProgid

Syntax
public String getProgid();
Return Value

Returns the object's PROGID.

Description

Retrieves the object's current PROGID.

DhObjectFactory.getValue

Syntax
public synchronized String getValue( String param );
Parameters
param
The name of the parameter.
Description

Retrieves the value of the parameter.

DhObjectFactory.removeOnAfterUpdate

Syntax
public final void removeOnAfterUpdate( DhEventHandler h );
Description

Topic under construction.

DhObjectFactory.removeOnBeforeUpdate

Syntax
public final void removeOnBeforeUpdate( DhEventHandler h );
Description

Topic under construction.

DhObjectFactory.removeOnDataAvailable

Syntax
public final void removeOnDataAvailable( DhEventHandler h );
Description

Topic under construction.

DhObjectFactory.removeOnDataSetChanged

Syntax
public final void removeOnDataSetChanged( DhEventHandler h );
Description

Topic under construction.

DhObjectFactory.removeOnDataSetComplete

Syntax
public final void removeOnDataSetComplete( DhEventHandler h );
Description

Topic under construction.

DhObjectFactory.removeOnError

Syntax
public final void removeOnError( DhEventHandler h );
Description

Topic under construction.

DhObjectFactory.removeOnErrorUpdate

Syntax
public final void removeOnErrorUpdate( DhEventHandler h );
Description

Topic under construction.

DhObjectFactory.removeOnReadyStateChange

Syntax
public final void removeOnReadyStateChange( DhEventHandler h );
Description

Topic under construction.

DhObjectFactory.removeOnRowEnter

Syntax
public final void removeOnRowEnter( DhEventHandler h );
Description

Topic under construction.

DhObjectFactory.removeOnRowExit

Syntax
public final void removeOnRowExit( DhEventHandler h );
Description

Topic under construction.

DhObjectFactory.removeParam

Syntax
public synchronized void removeParam( String param );
Parameters
param
The name of the parameter to remove.
Description

Removes a parameter from the list.

DhObjectFactory.setClassid

Syntax
public void setClassid( String classid );
Parameters
classid
The object's class identifier.
Description

Sets the object's current CLASSID.

DhObjectFactory.setClsid

Syntax
public void setClsid( _Guid guid );
Parameters
guid
The GUID representing the object.
Description

Sets the object's CLASSID.

DhObjectFactory.setCodeBase

Syntax
public void setCodeBase( String url );
Parameters
url
The object's code base.
Description

Sets the object's CODEBASE.

DhObjectFactory.setCodeClassName

Syntax
public void setCodeClassName( String className );
Parameters
className
The new object's class name.
Description

Sets the object's class name.

DhObjectFactory.setProgid

Syntax
public void setProgid( String progid );
Parameters
progid
The PROGID representing the object.
Description

Sets the object's PROGID.