Jiffie: Java InterFace For Internet Explorer

net.sf.jiffie
Class IHTMLAttributeCollection

Package class diagram package IHTMLAttributeCollection
java.lang.Object
  extended by net.sf.jiffie.IDispatch
      extended by net.sf.jiffie.BrowserDispatch
          extended by net.sf.jiffie.IHTMLAttributeCollection
All Implemented Interfaces:
java.lang.Cloneable, Releaseable

public class IHTMLAttributeCollection
extends BrowserDispatch

A collection of attributes for a single Node.


Field Summary
 
Fields inherited from class net.sf.jiffie.IDispatch
IID
 
Constructor Summary
IHTMLAttributeCollection(InternetExplorer parentBrowser, IHTMLDOMNode ownerElement, Dispatch dispatch)
          Constructor.
 
Method Summary
 int getLength()
          Get the length of attribute collection.
 IHTMLDOMAttribute item(int index)
          Get the nth attribute from the list.
 
Methods inherited from class net.sf.jiffie.BrowserDispatch
getElementProperty, getParentBrowser
 
Methods inherited from class net.sf.jiffie.IDispatch
call, call, call, call, call, clone, finalize, getBooleanProperty, getDispatch, getDispatchProperty, getIntegerProperty, getStringProperty, getVariantProperty, isReleased, newDispatch, queryInterface, release, setBooleanProperty, setIntegerProperty, setStringProperty
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

IHTMLAttributeCollection

public IHTMLAttributeCollection(InternetExplorer parentBrowser,
                                IHTMLDOMNode ownerElement,
                                Dispatch dispatch)
Constructor.

Parameters:
parentBrowser - parent browser
ownerElement - the node to which this collection belongs.
dispatch - Jacob dispatch interface
Method Detail

getLength

public int getLength()
Get the length of attribute collection.

Returns:
number of attributes.
See Also:
org.w3c.dom.NamedNodeMap#getLength()

item

public IHTMLDOMAttribute item(int index)
Get the nth attribute from the list.

Parameters:
index - The number of attribute (zero based).
Returns:
attribute.
See Also:
org.w3c.dom.NamedNodeMap#item(int)


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