Jiffie: Java InterFace For Internet Explorer

net.sf.jiffie
Class IHTMLCommentElement

Package class diagram package IHTMLCommentElement
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.IHTMLCommentElement
All Implemented Interfaces:
java.lang.Cloneable, Releaseable

public class IHTMLCommentElement
extends IHTMLDOMNode

Implementation of the IHTMLCommentElement interface.


Field Summary
 
Fields inherited from class net.sf.jiffie.IDispatch
IID
 
Constructor Summary
IHTMLCommentElement(InternetExplorer parentBrowser, Dispatch dispatch)
          Constructor.
 
Method Summary
 java.lang.String getData()
          Returns the comment text in a comment, including white space around the tag.
 java.lang.String getText()
          Returns the full text of the comment, including the tag parts of the comment.
 
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
 

Constructor Detail

IHTMLCommentElement

public IHTMLCommentElement(InternetExplorer parentBrowser,
                           Dispatch dispatch)
Constructor.

Parameters:
parentBrowser - parent browser
dispatch - Jacob dispatch interface
Method Detail

getData

public java.lang.String getData()
Returns the comment text in a comment, including white space around the tag. For example, <!-- This is a comment --> would return " This is a comment ".

Returns:
text inside the comment
See Also:
org.w3c.dom.CharacterData#getData()

getText

public java.lang.String getText()
Returns the full text of the comment, including the tag parts of the comment. For example, <!-- This is a comment -->.

Returns:
full text of the comment


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