|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||

java.lang.Objectnet.sf.jiffie.IDispatch
net.sf.jiffie.BrowserDispatch
net.sf.jiffie.IHTMLDOMNode
net.sf.jiffie.ElementContainer
net.sf.jiffie.IHTMLDocument2
public class IHTMLDocument2
Implementation of the IHTMLDocument2 interface.
| Field Summary | |
|---|---|
static java.lang.String |
IID
|
| Constructor Summary | |
|---|---|
IHTMLDocument2(InternetExplorer parentBrowser,
Dispatch object)
Constructor |
|
| Method Summary | |
|---|---|
IHTMLElement |
createElement(java.lang.String tagName)
Creates an element given the tagName. |
boolean |
execCommand(java.lang.String command,
boolean showUI,
Variant argument)
Executes a command against the current page. |
IHTMLBodyElement |
getBody()
Retrieve the body of the document. |
java.lang.String |
getCookie()
Retrieves the cookie associated with this document. |
IHTMLElement |
getDocumentElement()
Retrieve the document element. |
java.lang.String |
getDomain()
Retrieves the security domain of the document. |
ElementList |
getFrames()
Retrieves a list of frames if the current document contains a frameset tag, or a list of iframes if this document contains a body tag. |
java.lang.String |
getTitle()
Retrieves the document title. |
java.lang.String |
getUrl()
Retrieves the document url. |
void |
setCookie(java.lang.String cookie)
Sets the cookie associated with this document. |
void |
setDomain(java.lang.String domain)
Sets the security domain of the document. |
void |
waitWhileIncomplete()
This method is called to wait until the document is complete. |
void |
write(java.lang.String html)
Writes HTML text into the document. |
void |
writeln(java.lang.String html)
Writes HTML text into the document. |
| Methods inherited from class net.sf.jiffie.ElementContainer |
|---|
getElementById, getElementByName, getElementByNameAndTag, getElementByTag, getElementList, getElementListByName, getElementListByNameAndTag, getElementListByTag |
| 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 |
|---|
public static final java.lang.String IID
| Constructor Detail |
|---|
public IHTMLDocument2(InternetExplorer parentBrowser,
Dispatch object)
parentBrowser - parent browserobject - Jacob dispatch interface| Method Detail |
|---|
public java.lang.String getTitle()
public java.lang.String getUrl()
public IHTMLBodyElement getBody()
public void write(java.lang.String html)
html - HTML textpublic void writeln(java.lang.String html)
html - HTML textpublic java.lang.String getCookie()
public void setCookie(java.lang.String cookie)
cookie - document cookiepublic java.lang.String getDomain()
public void setDomain(java.lang.String domain)
domain - security domain of the document
public IHTMLElement getDocumentElement()
throws JiffieException
JiffieException
public IHTMLElement createElement(java.lang.String tagName)
throws JiffieException
tagName - tag name of the element to be created.
JiffieException
public boolean execCommand(java.lang.String command,
boolean showUI,
Variant argument)
command - name of the command to executeshowUI - flag indicating if the user interface associated with the command should be shownargument - argument data
public ElementList getFrames()
throws JiffieException
JiffieException
public void waitWhileIncomplete()
throws JiffieException
JiffieException
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||