Jiffie: Java InterFace For Internet Explorer

net.sf.jiffie
Class IHTMLDOMAttribute

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

public class IHTMLDOMAttribute
extends IHTMLDOMNode

Implementation of the IHTMLDOMAttribute interface.


Field Summary
static java.lang.String IID
           
 
Constructor Summary
IHTMLDOMAttribute(InternetExplorer parentBrowser, IHTMLDOMNode ownerElement, Dispatch dispatch)
          Constructor.
 
Method Summary
 java.lang.String getName()
          Get the name of this attribute.
 IHTMLDOMNode getOwnerElement()
          Get the Node to which the attribute belongs.
 boolean getSpecified()
          Has the attribute value been specified (otherwise it is implied).
 java.lang.String getValue()
          Get the value of this attribute.
 
Methods inherited from class net.sf.jiffie.IHTMLDOMNode
appendChild, createNodeFromProperty, getAttributes, getFirstChild, getLastChild, getNextSibling, getNodeName, getNodeValue, getOwnerDocument, getParentNode, getPreviousSibling
 
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
 

Field Detail

IID

public static final java.lang.String IID
See Also:
Constant Field Values
Constructor Detail

IHTMLDOMAttribute

public IHTMLDOMAttribute(InternetExplorer parentBrowser,
                         IHTMLDOMNode ownerElement,
                         Dispatch dispatch)
Constructor. Because InternetExplorer's DOM model does not implement ownerElement on attributes, we have to record the owner when the attribute is recorded.

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

getSpecified

public boolean getSpecified()
Has the attribute value been specified (otherwise it is implied).

Returns:
was the attribute's value explicitely specified.
See Also:
org.w3c.dom.Attr#getSpecified()

getName

public java.lang.String getName()
Get the name of this attribute.

Returns:
name.
See Also:
org.w3c.dom.Attr#getName()

getValue

public java.lang.String getValue()
Get the value of this attribute.

Returns:
name.
See Also:
org.w3c.dom.Attr#getValue()

getOwnerElement

public IHTMLDOMNode getOwnerElement()
Get the Node to which the attribute belongs.

Returns:
node.
See Also:
org.w3c.dom.Attr#getOwnerElement()


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