com.jniwrapper.win32.ie.dom
Class DOMFactory

java.lang.Object
  extended by com.jniwrapper.win32.ie.dom.DOMFactory

public final class DOMFactory
extends java.lang.Object

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.

See Also:
Node, Element, NodeList, Document, Text, NamedNodeMap, Attr

Constructor Summary
DOMFactory(com.jniwrapper.win32.automation.OleMessageLoop messageLoop)
           
 
Method Summary
 org.w3c.dom.Attr createAttr(com.jniwrapper.win32.automation.IDispatch attr)
           
 org.w3c.dom.CDATASection createCDATASection(com.jniwrapper.win32.automation.IDispatch element)
           
 org.w3c.dom.CharacterData createCharacterData(com.jniwrapper.win32.automation.IDispatch characterData)
           
 org.w3c.dom.Comment createComment(com.jniwrapper.win32.automation.IDispatch comment)
           
 org.w3c.dom.Document createDocument(com.jniwrapper.win32.automation.IDispatch document)
           
 org.w3c.dom.DocumentFragment createDocumentFragment(com.jniwrapper.win32.automation.IDispatch element)
           
 org.w3c.dom.DocumentType createDocumentType(com.jniwrapper.win32.automation.IDispatch element)
           
 org.w3c.dom.DOMImplementation createDOMImplementation(com.jniwrapper.win32.automation.IDispatch implementation)
           
 org.w3c.dom.css.DOMImplementationCSS createDOMImplementationCSS(com.jniwrapper.win32.automation.IDispatch element)
           
 org.w3c.dom.Element createElement(com.jniwrapper.win32.automation.IDispatch element)
           
 org.w3c.dom.Entity createEntity(com.jniwrapper.win32.automation.IDispatch element)
           
 org.w3c.dom.EntityReference createEntityReference(com.jniwrapper.win32.automation.IDispatch element)
           
 org.w3c.dom.events.Event createEvent(com.jniwrapper.win32.automation.IDispatch dispatch)
           
 org.w3c.dom.html.HTMLAppletElement createHTMLAppletElement(com.jniwrapper.win32.automation.IDispatch element)
           
 org.w3c.dom.html.HTMLAreaElement createHTMLAreaElement(com.jniwrapper.win32.automation.IDispatch element)
           
 org.w3c.dom.html.HTMLBaseElement createHTMLBaseElement(com.jniwrapper.win32.automation.IDispatch element)
           
 org.w3c.dom.html.HTMLBaseFontElement createHTMLBaseFontElement(com.jniwrapper.win32.automation.IDispatch element)
           
 org.w3c.dom.html.HTMLBRElement createHTMLBRElement(com.jniwrapper.win32.automation.IDispatch element)
           
 org.w3c.dom.html.HTMLButtonElement createHTMLButtonElement(com.jniwrapper.win32.automation.IDispatch element)
           
 org.w3c.dom.html.HTMLCollection createHTMLCollection(com.jniwrapper.win32.automation.IDispatch element)
           
 org.w3c.dom.html.HTMLDirectoryElement createHTMLDirectoryElement(com.jniwrapper.win32.automation.IDispatch element)
           
 org.w3c.dom.html.HTMLDivElement createHTMLDivElement(com.jniwrapper.win32.automation.IDispatch element)
           
 org.w3c.dom.html.HTMLDListElement createHTMLDListElement(com.jniwrapper.win32.automation.IDispatch element)
           
 org.w3c.dom.html.HTMLDocument createHTMLDocument(com.jniwrapper.win32.automation.IDispatch document)
           
 org.w3c.dom.html.HTMLDOMImplementation createHTMLDOMImplementation(com.jniwrapper.win32.automation.IDispatch element)
           
 org.w3c.dom.html.HTMLElement createHTMLElement(com.jniwrapper.win32.automation.IDispatch element)
           
 org.w3c.dom.html.HTMLFontElement createHTMLFontElement(com.jniwrapper.win32.automation.IDispatch element)
           
 org.w3c.dom.html.HTMLFormElement createHTMLFormElement(com.jniwrapper.win32.automation.IDispatch element)
           
 org.w3c.dom.html.HTMLFrameSetElement createHTMLFrameSetElement(com.jniwrapper.win32.automation.IDispatch element)
           
 org.w3c.dom.html.HTMLHeadElement createHTMLHeadElement(com.jniwrapper.win32.automation.IDispatch element)
           
 org.w3c.dom.html.HTMLHeadingElement createHTMLHeadingElement(com.jniwrapper.win32.automation.IDispatch element)
           
 org.w3c.dom.html.HTMLHRElement createHTMLHRElement(com.jniwrapper.win32.automation.IDispatch element)
           
 org.w3c.dom.html.HTMLHtmlElement createHTMLHtmlElement(com.jniwrapper.win32.automation.IDispatch element)
           
 org.w3c.dom.html.HTMLInputElement createHTMLInputElement(com.jniwrapper.win32.automation.IDispatch element)
           
 org.w3c.dom.html.HTMLLabelElement createHTMLLabelElement(com.jniwrapper.win32.automation.IDispatch element)
           
 org.w3c.dom.html.HTMLLegendElement createHTMLLegendElement(com.jniwrapper.win32.automation.IDispatch element)
           
 org.w3c.dom.html.HTMLLIElement createHTMLLIElement(com.jniwrapper.win32.automation.IDispatch element)
           
 org.w3c.dom.html.HTMLMetaElement createHTMLMetaElement(com.jniwrapper.win32.automation.IDispatch element)
           
 org.w3c.dom.html.HTMLModElement createHTMLModElement(com.jniwrapper.win32.automation.IDispatch element)
           
 org.w3c.dom.html.HTMLObjectElement createHTMLObjectElement(com.jniwrapper.win32.automation.IDispatch element)
           
 org.w3c.dom.html.HTMLOptionElement createHTMLOptionElement(com.jniwrapper.win32.automation.IDispatch element)
           
 org.w3c.dom.html.HTMLParagraphElement createHTMLParagraphElement(com.jniwrapper.win32.automation.IDispatch element)
           
 org.w3c.dom.html.HTMLPreElement createHTMLPreElement(com.jniwrapper.win32.automation.IDispatch element)
           
 org.w3c.dom.html.HTMLScriptElement createHTMLScriptElement(com.jniwrapper.win32.automation.IDispatch element)
           
 org.w3c.dom.html.HTMLStyleElement createHTMLStyleElement(com.jniwrapper.win32.automation.IDispatch element)
           
 org.w3c.dom.html.HTMLTableCaptionElement createHTMLTableCaptionElement(com.jniwrapper.win32.automation.IDispatch element)
           
 org.w3c.dom.html.HTMLTableColElement createHTMLTableColElement(com.jniwrapper.win32.automation.IDispatch element)
           
 org.w3c.dom.html.HTMLTableRowElement createHTMLTableRowElement(com.jniwrapper.win32.automation.IDispatch element)
           
 org.w3c.dom.html.HTMLTableSectionElement createHTMLTableSectionElement(com.jniwrapper.win32.automation.IDispatch element)
           
 org.w3c.dom.html.HTMLTitleElement createHTMLTitleElement(com.jniwrapper.win32.automation.IDispatch element)
           
 org.w3c.dom.NamedNodeMap createNamedNodeMap(com.jniwrapper.win32.automation.IDispatch element)
           
 org.w3c.dom.Node createNode(com.jniwrapper.win32.automation.IDispatch node)
           
 org.w3c.dom.NodeList createNodeList(com.jniwrapper.win32.automation.IDispatch element)
           
 org.w3c.dom.Notation createNotation(com.jniwrapper.win32.automation.IDispatch element)
           
 org.w3c.dom.ProcessingInstruction createProcessingInstruction(com.jniwrapper.win32.automation.IDispatch element)
           
 org.w3c.dom.Text createText(com.jniwrapper.win32.automation.IDispatch text)
           
 com.jniwrapper.win32.automation.OleMessageLoop getOleMessageLoop()
           
 DOMResourceCollector getResourceCollector()
           
static
<T extends com.jniwrapper.win32.com.IUnknown>
boolean
isInstanceOf(com.jniwrapper.win32.automation.IDispatch dispatch, java.lang.Class<T> type)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

DOMFactory

public DOMFactory(com.jniwrapper.win32.automation.OleMessageLoop messageLoop)
Method Detail

getOleMessageLoop

public com.jniwrapper.win32.automation.OleMessageLoop getOleMessageLoop()

getResourceCollector

public DOMResourceCollector getResourceCollector()

isInstanceOf

public static <T extends com.jniwrapper.win32.com.IUnknown> boolean isInstanceOf(com.jniwrapper.win32.automation.IDispatch dispatch,
                                                                                 java.lang.Class<T> type)

createNode

public org.w3c.dom.Node createNode(com.jniwrapper.win32.automation.IDispatch node)

createDocument

public org.w3c.dom.Document createDocument(com.jniwrapper.win32.automation.IDispatch document)

createHTMLDocument

public org.w3c.dom.html.HTMLDocument createHTMLDocument(com.jniwrapper.win32.automation.IDispatch document)

createElement

public org.w3c.dom.Element createElement(com.jniwrapper.win32.automation.IDispatch element)

createHTMLElement

public org.w3c.dom.html.HTMLElement createHTMLElement(com.jniwrapper.win32.automation.IDispatch element)

createHTMLInputElement

public org.w3c.dom.html.HTMLInputElement createHTMLInputElement(com.jniwrapper.win32.automation.IDispatch element)

createEntity

public org.w3c.dom.Entity createEntity(com.jniwrapper.win32.automation.IDispatch element)

createNotation

public org.w3c.dom.Notation createNotation(com.jniwrapper.win32.automation.IDispatch element)

createCharacterData

public org.w3c.dom.CharacterData createCharacterData(com.jniwrapper.win32.automation.IDispatch characterData)

createHTMLFormElement

public org.w3c.dom.html.HTMLFormElement createHTMLFormElement(com.jniwrapper.win32.automation.IDispatch element)

createDocumentType

public org.w3c.dom.DocumentType createDocumentType(com.jniwrapper.win32.automation.IDispatch element)

createAttr

public org.w3c.dom.Attr createAttr(com.jniwrapper.win32.automation.IDispatch attr)

createText

public org.w3c.dom.Text createText(com.jniwrapper.win32.automation.IDispatch text)

createComment

public org.w3c.dom.Comment createComment(com.jniwrapper.win32.automation.IDispatch comment)

createNodeList

public org.w3c.dom.NodeList createNodeList(com.jniwrapper.win32.automation.IDispatch element)

createDocumentFragment

public org.w3c.dom.DocumentFragment createDocumentFragment(com.jniwrapper.win32.automation.IDispatch element)

createCDATASection

public org.w3c.dom.CDATASection createCDATASection(com.jniwrapper.win32.automation.IDispatch element)

createProcessingInstruction

public org.w3c.dom.ProcessingInstruction createProcessingInstruction(com.jniwrapper.win32.automation.IDispatch element)

createEntityReference

public org.w3c.dom.EntityReference createEntityReference(com.jniwrapper.win32.automation.IDispatch element)

createNamedNodeMap

public org.w3c.dom.NamedNodeMap createNamedNodeMap(com.jniwrapper.win32.automation.IDispatch element)

createDOMImplementation

public org.w3c.dom.DOMImplementation createDOMImplementation(com.jniwrapper.win32.automation.IDispatch implementation)

createHTMLDOMImplementation

public org.w3c.dom.html.HTMLDOMImplementation createHTMLDOMImplementation(com.jniwrapper.win32.automation.IDispatch element)

createDOMImplementationCSS

public org.w3c.dom.css.DOMImplementationCSS createDOMImplementationCSS(com.jniwrapper.win32.automation.IDispatch element)

createHTMLCollection

public org.w3c.dom.html.HTMLCollection createHTMLCollection(com.jniwrapper.win32.automation.IDispatch element)

createHTMLTableSectionElement

public org.w3c.dom.html.HTMLTableSectionElement createHTMLTableSectionElement(com.jniwrapper.win32.automation.IDispatch element)

createHTMLTableCaptionElement

public org.w3c.dom.html.HTMLTableCaptionElement createHTMLTableCaptionElement(com.jniwrapper.win32.automation.IDispatch element)

createHTMLHeadingElement

public org.w3c.dom.html.HTMLHeadingElement createHTMLHeadingElement(com.jniwrapper.win32.automation.IDispatch element)

createHTMLMetaElement

public org.w3c.dom.html.HTMLMetaElement createHTMLMetaElement(com.jniwrapper.win32.automation.IDispatch element)

createHTMLButtonElement

public org.w3c.dom.html.HTMLButtonElement createHTMLButtonElement(com.jniwrapper.win32.automation.IDispatch element)

createHTMLHRElement

public org.w3c.dom.html.HTMLHRElement createHTMLHRElement(com.jniwrapper.win32.automation.IDispatch element)

createHTMLTableColElement

public org.w3c.dom.html.HTMLTableColElement createHTMLTableColElement(com.jniwrapper.win32.automation.IDispatch element)

createHTMLDivElement

public org.w3c.dom.html.HTMLDivElement createHTMLDivElement(com.jniwrapper.win32.automation.IDispatch element)

createHTMLLabelElement

public org.w3c.dom.html.HTMLLabelElement createHTMLLabelElement(com.jniwrapper.win32.automation.IDispatch element)

createHTMLAreaElement

public org.w3c.dom.html.HTMLAreaElement createHTMLAreaElement(com.jniwrapper.win32.automation.IDispatch element)

createHTMLParagraphElement

public org.w3c.dom.html.HTMLParagraphElement createHTMLParagraphElement(com.jniwrapper.win32.automation.IDispatch element)

createHTMLBaseFontElement

public org.w3c.dom.html.HTMLBaseFontElement createHTMLBaseFontElement(com.jniwrapper.win32.automation.IDispatch element)

createHTMLAppletElement

public org.w3c.dom.html.HTMLAppletElement createHTMLAppletElement(com.jniwrapper.win32.automation.IDispatch element)

createHTMLTableRowElement

public org.w3c.dom.html.HTMLTableRowElement createHTMLTableRowElement(com.jniwrapper.win32.automation.IDispatch element)

createHTMLFontElement

public org.w3c.dom.html.HTMLFontElement createHTMLFontElement(com.jniwrapper.win32.automation.IDispatch element)

createHTMLLegendElement

public org.w3c.dom.html.HTMLLegendElement createHTMLLegendElement(com.jniwrapper.win32.automation.IDispatch element)

createHTMLTitleElement

public org.w3c.dom.html.HTMLTitleElement createHTMLTitleElement(com.jniwrapper.win32.automation.IDispatch element)

createHTMLModElement

public org.w3c.dom.html.HTMLModElement createHTMLModElement(com.jniwrapper.win32.automation.IDispatch element)

createHTMLHeadElement

public org.w3c.dom.html.HTMLHeadElement createHTMLHeadElement(com.jniwrapper.win32.automation.IDispatch element)

createHTMLDListElement

public org.w3c.dom.html.HTMLDListElement createHTMLDListElement(com.jniwrapper.win32.automation.IDispatch element)

createHTMLBRElement

public org.w3c.dom.html.HTMLBRElement createHTMLBRElement(com.jniwrapper.win32.automation.IDispatch element)

createHTMLDirectoryElement

public org.w3c.dom.html.HTMLDirectoryElement createHTMLDirectoryElement(com.jniwrapper.win32.automation.IDispatch element)

createHTMLHtmlElement

public org.w3c.dom.html.HTMLHtmlElement createHTMLHtmlElement(com.jniwrapper.win32.automation.IDispatch element)

createHTMLPreElement

public org.w3c.dom.html.HTMLPreElement createHTMLPreElement(com.jniwrapper.win32.automation.IDispatch element)

createHTMLStyleElement

public org.w3c.dom.html.HTMLStyleElement createHTMLStyleElement(com.jniwrapper.win32.automation.IDispatch element)

createHTMLOptionElement

public org.w3c.dom.html.HTMLOptionElement createHTMLOptionElement(com.jniwrapper.win32.automation.IDispatch element)

createHTMLObjectElement

public org.w3c.dom.html.HTMLObjectElement createHTMLObjectElement(com.jniwrapper.win32.automation.IDispatch element)

createHTMLBaseElement

public org.w3c.dom.html.HTMLBaseElement createHTMLBaseElement(com.jniwrapper.win32.automation.IDispatch element)

createHTMLLIElement

public org.w3c.dom.html.HTMLLIElement createHTMLLIElement(com.jniwrapper.win32.automation.IDispatch element)

createHTMLScriptElement

public org.w3c.dom.html.HTMLScriptElement createHTMLScriptElement(com.jniwrapper.win32.automation.IDispatch element)

createHTMLFrameSetElement

public org.w3c.dom.html.HTMLFrameSetElement createHTMLFrameSetElement(com.jniwrapper.win32.automation.IDispatch element)

createEvent

public org.w3c.dom.events.Event createEvent(com.jniwrapper.win32.automation.IDispatch dispatch)