Jiffie: Java InterFace For Internet Explorer

net.sf.jiffie
Interface ElementFactory

Package class diagram package ElementFactory
All Known Implementing Classes:
DefaultElementFactory, TrackingElementFactory

public interface ElementFactory

Classes implementing this interface are used to create object instances representing various HTML elements.


Method Summary
 IDispatch createElement(InternetExplorer parentBrowser, Dispatch dispatch)
          Create an object representing an HTML element.
 IDispatch createElement(InternetExplorer parentBrowser, Variant dispatch)
          Create an object representing an HTML element.
 ElementList createElementList(InternetExplorer parentBrowser, Variant variant)
          Create a class implementing the ElementList interface which may contain, zero, one or many IHTMLElement instances.
 

Method Detail

createElement

IDispatch createElement(InternetExplorer parentBrowser,
                        Dispatch dispatch)
                        throws JiffieException
Create an object representing an HTML element.

Parameters:
parentBrowser - parent browser
dispatch - dispatch interface for HTML element COM object
Returns:
HTML element object
Throws:
JiffieException - if an exception occurs creating the element

createElement

IDispatch createElement(InternetExplorer parentBrowser,
                        Variant dispatch)
                        throws JiffieException
Create an object representing an HTML element.

Parameters:
parentBrowser - parent browser
dispatch - variant representing the dispatch interface for HTML element COM object
Returns:
HTML element object
Throws:
JiffieException - if an exception occurs creating the element

createElementList

ElementList createElementList(InternetExplorer parentBrowser,
                              Variant variant)
                              throws JiffieException
Create a class implementing the ElementList interface which may contain, zero, one or many IHTMLElement instances.

Parameters:
parentBrowser - parent browser
variant - variant representing a dispatch interface
Returns:
object implementing the ElementList interface
Throws:
JiffieException - if an exception occurs creating the list


Copyright © 2004-2009 Packwood Software. All Rights Reserved.