|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.jniwrapper.win32.ie.dom.DomFactory
public final class DomFactory
This class creates objects that provide access to DOM structure of HTML document and
implement org.w3c.dom interfaces by IDispatch pointers to native peers.
Node,
Element,
NodeList,
Document,
Text,
NamedNodeMap,
Attr| Method Summary | |
|---|---|
org.w3c.dom.Attr |
createAttribute(com.jniwrapper.win32.automation.IDispatch attribute)
Creates object that represents node attribute. |
org.w3c.dom.Node |
createBestMatch(com.jniwrapper.win32.automation.IDispatch node)
Creates object that represents node in DOM structure of HTML document. |
org.w3c.dom.Comment |
createComment(com.jniwrapper.win32.automation.IDispatch node)
|
HTMLDocument |
createDocument(com.jniwrapper.win32.automation.IDispatch document)
Creates object that represents entire HTML document. |
org.w3c.dom.DocumentFragment |
createDocumentFragment(com.jniwrapper.win32.automation.IDispatch document)
Creates object that represents HTML document fragment. |
HTMLElement |
createElement(com.jniwrapper.win32.automation.IDispatch element)
Creates object that represents tag, comment or text in HTML document. |
java.util.List |
createElementList(com.jniwrapper.win32.automation.IDispatch nodes)
|
ScriptErrorEvent |
createErrorEvent(com.jniwrapper.Parameter[] parameters)
|
org.w3c.dom.events.Event |
createEvent(com.jniwrapper.win32.automation.IDispatch event)
Creates object that represents event in browser. |
HTMLElement |
createFrame(com.jniwrapper.win32.automation.IDispatch element)
Creates object that represents HTML frame. |
org.w3c.dom.NamedNodeMap |
createNamedNodeMap(com.jniwrapper.win32.automation.IDispatch attributes)
Creates map of DOM nodes that represent DOM node attributes. |
org.w3c.dom.NodeList |
createNodeList(com.jniwrapper.win32.automation.IDispatch nodes)
Creates list of DOM nodes. |
org.w3c.dom.Text |
createTextNode(com.jniwrapper.win32.automation.IDispatch node)
Creates object that represents text in HTML document. |
protected WebBrowser |
getBrowser()
Returns web browser associated with factory. |
static DomFactory |
getInstance(WebBrowser browser)
Returns instance of factory. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Method Detail |
|---|
protected WebBrowser getBrowser()
public static DomFactory getInstance(WebBrowser browser)
public HTMLDocument createDocument(com.jniwrapper.win32.automation.IDispatch document)
document - dispatch pointer to native peer
public org.w3c.dom.DocumentFragment createDocumentFragment(com.jniwrapper.win32.automation.IDispatch document)
document - dispatch pointer to native peer
public HTMLElement createElement(com.jniwrapper.win32.automation.IDispatch element)
element - dispatch pointer to native peer
public HTMLElement createFrame(com.jniwrapper.win32.automation.IDispatch element)
element - dispatch pointer to native peer
public org.w3c.dom.NodeList createNodeList(com.jniwrapper.win32.automation.IDispatch nodes)
nodes - dispatch pointer to native peer
public org.w3c.dom.Node createBestMatch(com.jniwrapper.win32.automation.IDispatch node)
node - dispatch pointer to native peer
public org.w3c.dom.Text createTextNode(com.jniwrapper.win32.automation.IDispatch node)
node - dispatch pointer to native peer
public org.w3c.dom.Comment createComment(com.jniwrapper.win32.automation.IDispatch node)
public org.w3c.dom.NamedNodeMap createNamedNodeMap(com.jniwrapper.win32.automation.IDispatch attributes)
attributes - dispatch pointer to native peer
public org.w3c.dom.Attr createAttribute(com.jniwrapper.win32.automation.IDispatch attribute)
attribute - dispatch pointer to native peer
public org.w3c.dom.events.Event createEvent(com.jniwrapper.win32.automation.IDispatch event)
event - dispatch pointer to native peer
public ScriptErrorEvent createErrorEvent(com.jniwrapper.Parameter[] parameters)
public java.util.List createElementList(com.jniwrapper.win32.automation.IDispatch nodes)
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||