ReactOS 0.4.16-dev-197-g92996da
nsIDOMDocument Interface Reference
Inheritance diagram for nsIDOMDocument:
Collaboration diagram for nsIDOMDocument:

Public Member Functions

nsresult GetDoctype (nsIDOMDocumentType **aDoctype)
 
nsresult GetImplementation (nsIDOMDOMImplementation **aImplementation)
 
nsresult GetDocumentElement (nsIDOMElement **aDocumentElement)
 
nsresult CreateElement (const nsAString *tagName, nsIDOMElement **_retval)
 
nsresult CreateDocumentFragment (nsIDOMDocumentFragment **_retval)
 
nsresult CreateTextNode (const nsAString *data, nsIDOMText **_retval)
 
nsresult CreateComment (const nsAString *data, nsIDOMComment **_retval)
 
nsresult CreateCDATASection (const nsAString *data, nsIDOMCDATASection **_retval)
 
nsresult CreateProcessingInstruction (const nsAString *target, const nsAString *data, nsIDOMProcessingInstruction **_retval)
 
nsresult CreateAttribute (const nsAString *name, nsIDOMAttr **_retval)
 
nsresult GetElementsByTagName (const nsAString *tagname, nsIDOMNodeList **_retval)
 
nsresult ImportNode (nsIDOMNode *importedNode, bool deep, uint8_t _argc, nsIDOMNode **_retval)
 
nsresult CreateElementNS (const nsAString *namespaceURI, const nsAString *qualifiedName, nsIDOMElement **_retval)
 
nsresult CreateAttributeNS (const nsAString *namespaceURI, const nsAString *qualifiedName, nsIDOMAttr **_retval)
 
nsresult GetElementsByTagNameNS (const nsAString *namespaceURI, const nsAString *localName, nsIDOMNodeList **_retval)
 
nsresult GetElementById (const nsAString *elementId, nsIDOMElement **_retval)
 
nsresult GetInputEncoding (nsAString *aInputEncoding)
 
nsresult GetDocumentURI (nsAString *aDocumentURI)
 
nsresult GetURL (nsAString *aURL)
 
nsresult AdoptNode (nsIDOMNode *source, nsIDOMNode **_retval)
 
nsresult CreateRange (nsIDOMRange **_retval)
 
nsresult CreateNodeIterator (nsIDOMNode *root, uint32_t whatToShow, nsIDOMNodeFilter *filter, uint8_t _argc, nsIDOMNodeIterator **_retval)
 
nsresult CreateTreeWalker (nsIDOMNode *root, uint32_t whatToShow, nsIDOMNodeFilter *filter, uint8_t _argc, nsIDOMTreeWalker **_retval)
 
nsresult CreateEvent (const nsAString *eventType, nsIDOMEvent **_retval)
 
nsresult GetDefaultView (nsIDOMWindow **aDefaultView)
 
nsresult GetCharacterSet (nsAString *aCharacterSet)
 
nsresult GetDir (nsAString *aDir)
 
nsresult SetDir (const nsAString *aDir)
 
nsresult GetLocation (nsIDOMLocation **aLocation)
 
nsresult GetTitle (nsAString *aTitle)
 
nsresult SetTitle (const nsAString *aTitle)
 
nsresult GetReadyState (nsAString *aReadyState)
 
nsresult GetLastModified (nsAString *aLastModified)
 
nsresult GetReferrer (nsAString *aReferrer)
 
nsresult HasFocus (bool *_retval)
 
nsresult GetActiveElement (nsIDOMElement **aActiveElement)
 
nsresult GetElementsByClassName (const nsAString *classes, nsIDOMNodeList **_retval)
 
nsresult GetStyleSheets (nsIDOMStyleSheetList **aStyleSheets)
 
nsresult GetPreferredStyleSheetSet (nsAString *aPreferredStyleSheetSet)
 
nsresult GetSelectedStyleSheetSet (nsAString *aSelectedStyleSheetSet)
 
nsresult SetSelectedStyleSheetSet (const nsAString *aSelectedStyleSheetSet)
 
nsresult GetLastStyleSheetSet (nsAString *aLastStyleSheetSet)
 
nsresult GetStyleSheetSets (nsISupports **aStyleSheetSets)
 
nsresult EnableStyleSheetsForSet (const nsAString *name)
 
nsresult ElementFromPoint (float x, float y, nsIDOMElement **_retval)
 
nsresult GetContentType (nsAString *aContentType)
 
nsresult GetMozSyntheticDocument (bool *aMozSyntheticDocument)
 
nsresult GetCurrentScript (nsIDOMElement **aCurrentScript)
 
nsresult ReleaseCapture ()
 
nsresult MozSetImageElement (const nsAString *aImageElementId, nsIDOMElement *aImageElement)
 
nsresult GetMozFullScreenElement (nsIDOMElement **aMozFullScreenElement)
 
nsresult MozCancelFullScreen ()
 
nsresult GetMozFullScreen (bool *aMozFullScreen)
 
nsresult GetMozFullScreenEnabled (bool *aMozFullScreenEnabled)
 
nsresult GetMozPointerLockElement (nsIDOMElement **aMozPointerLockElement)
 
nsresult CaretPositionFromPoint (float x, float y, nsISupports **_retval)
 
nsresult MozExitPointerLock ()
 
nsresult GetHidden (bool *aHidden)
 
nsresult GetMozHidden (bool *aMozHidden)
 
nsresult GetVisibilityState (nsAString *aVisibilityState)
 
nsresult GetMozVisibilityState (nsAString *aMozVisibilityState)
 
nsresult GetCompatMode (nsAString *aCompatMode)
 
nsresult QuerySelector (const nsAString *selectors, nsIDOMElement **_retval)
 
nsresult QuerySelectorAll (const nsAString *selectors, nsIDOMNodeList **_retval)
 
- Public Member Functions inherited from nsIDOMNode
nsresult GetNodeName (nsAString *aNodeName)
 
nsresult GetNodeValue (nsAString *aNodeValue)
 
nsresult SetNodeValue (const nsAString *aNodeValue)
 
nsresult GetNodeType (uint16_t *aNodeType)
 
nsresult GetParentNode (nsIDOMNode **aParentNode)
 
nsresult GetParentElement (nsIDOMElement **aParentElement)
 
nsresult GetChildNodes (nsIDOMNodeList **aChildNodes)
 
nsresult GetFirstChild (nsIDOMNode **aFirstChild)
 
nsresult GetLastChild (nsIDOMNode **aLastChild)
 
nsresult GetPreviousSibling (nsIDOMNode **aPreviousSibling)
 
nsresult GetNextSibling (nsIDOMNode **aNextSibling)
 
nsresult GetOwnerDocument (nsIDOMDocument **aOwnerDocument)
 
nsresult InsertBefore (nsIDOMNode *newChild, nsIDOMNode *refChild, nsIDOMNode **_retval)
 
nsresult ReplaceChild (nsIDOMNode *newChild, nsIDOMNode *oldChild, nsIDOMNode **_retval)
 
nsresult RemoveChild (nsIDOMNode *oldChild, nsIDOMNode **_retval)
 
nsresult AppendChild (nsIDOMNode *newChild, nsIDOMNode **_retval)
 
nsresult HasChildNodes (bool *_retval)
 
nsresult CloneNode (bool deep, uint8_t _argc, nsIDOMNode **_retval)
 
nsresult Normalize ()
 
nsresult GetNamespaceURI (nsAString *aNamespaceURI)
 
nsresult GetPrefix (nsAString *aPrefix)
 
nsresult GetLocalName (nsAString *aLocalName)
 
nsresult UnusedPlaceholder (bool *_retval)
 
nsresult GetDOMBaseURI (nsAString *aBaseURI)
 
nsresult CompareDocumentPosition (nsIDOMNode *other, uint16_t *_retval)
 
nsresult GetTextContent (nsAString *aTextContent)
 
nsresult SetTextContent (const nsAString *aTextContent)
 
nsresult LookupPrefix (const nsAString *namespaceURI, nsAString *_retval)
 
nsresult IsDefaultNamespace (const nsAString *namespaceURI, bool *_retval)
 
nsresult LookupNamespaceURI (const nsAString *prefix, nsAString *_retval)
 
nsresult IsEqualNode (nsIDOMNode *arg, bool *_retval)
 
nsresult SetUserData (const nsAString *key, nsIVariant *data, nsIVariant **_retval)
 
nsresult GetUserData (const nsAString *key, nsIVariant **_retval)
 
nsresult Contains (nsIDOMNode *aOther, bool *_retval)
 
nsresult GetMshtmlNode (nsISupports **aMshtmlNode)
 
nsresult SetMshtmlNode (nsISupports *aMshtmlNode)
 
- Public Member Functions inherited from nsISupports
nsresult QueryInterface (nsIIDRef riid, void **result)
 
nsrefcnt AddRef ()
 
nsrefcnt Release ()
 

Additional Inherited Members

- Public Types inherited from nsIDOMNode
enum  NSNODETYPE {
  ELEMENT_NODE = 1 , ATTRIBUTE_NODE = 2 , TEXT_NODE = 3 , CDATA_SELECTION_NODE = 4 ,
  ENTITY_REFERENCE_NODE = 5 , ENTITY_NODE = 6 , PROCESSING_INSTRUCTION_NODE = 7 , COMMENT_NODE = 8 ,
  DOCUMENT_NODE = 9 , DOCUMENT_TYPE_NODE = 10 , DOCUMENT_FRAGMENT_NODE = 11 , NOTATION_NODE = 12
}
 
enum  {
  DOCUMENT_POSITION_DISCONNECTED = 1 , DOCUMENT_POSITION_PRECEDING = 2 , DOCUMENT_POSITION_FOLLOWING = 4 , DOCUMENT_POSITION_CONTAINS = 8 ,
  DOCUMENT_POSITION_CONTAINED_BY = 16 , DOCUMENT_POSITION_IMPLEMENTATION_SPECIFIC = 32
}
 

Detailed Description

Definition at line 1178 of file nsiface.idl.

Member Function Documentation

◆ AdoptNode()

nsresult nsIDOMDocument::AdoptNode ( nsIDOMNode source,
nsIDOMNode **  _retval 
)

◆ CaretPositionFromPoint()

nsresult nsIDOMDocument::CaretPositionFromPoint ( float  x,
float  y,
nsISupports **  _retval 
)

◆ CreateAttribute()

nsresult nsIDOMDocument::CreateAttribute ( const nsAString name,
nsIDOMAttr **  _retval 
)

◆ CreateAttributeNS()

nsresult nsIDOMDocument::CreateAttributeNS ( const nsAString namespaceURI,
const nsAString qualifiedName,
nsIDOMAttr **  _retval 
)

◆ CreateCDATASection()

nsresult nsIDOMDocument::CreateCDATASection ( const nsAString data,
nsIDOMCDATASection **  _retval 
)

◆ CreateComment()

nsresult nsIDOMDocument::CreateComment ( const nsAString data,
nsIDOMComment **  _retval 
)

◆ CreateDocumentFragment()

nsresult nsIDOMDocument::CreateDocumentFragment ( nsIDOMDocumentFragment **  _retval)

◆ CreateElement()

nsresult nsIDOMDocument::CreateElement ( const nsAString tagName,
nsIDOMElement **  _retval 
)

◆ CreateElementNS()

nsresult nsIDOMDocument::CreateElementNS ( const nsAString namespaceURI,
const nsAString qualifiedName,
nsIDOMElement **  _retval 
)

◆ CreateEvent()

nsresult nsIDOMDocument::CreateEvent ( const nsAString eventType,
nsIDOMEvent **  _retval 
)

◆ CreateNodeIterator()

nsresult nsIDOMDocument::CreateNodeIterator ( nsIDOMNode root,
uint32_t  whatToShow,
nsIDOMNodeFilter filter,
uint8_t  _argc,
nsIDOMNodeIterator **  _retval 
)

◆ CreateProcessingInstruction()

nsresult nsIDOMDocument::CreateProcessingInstruction ( const nsAString target,
const nsAString data,
nsIDOMProcessingInstruction **  _retval 
)

◆ CreateRange()

nsresult nsIDOMDocument::CreateRange ( nsIDOMRange **  _retval)

◆ CreateTextNode()

nsresult nsIDOMDocument::CreateTextNode ( const nsAString data,
nsIDOMText **  _retval 
)

◆ CreateTreeWalker()

nsresult nsIDOMDocument::CreateTreeWalker ( nsIDOMNode root,
uint32_t  whatToShow,
nsIDOMNodeFilter filter,
uint8_t  _argc,
nsIDOMTreeWalker **  _retval 
)

◆ ElementFromPoint()

nsresult nsIDOMDocument::ElementFromPoint ( float  x,
float  y,
nsIDOMElement **  _retval 
)

◆ EnableStyleSheetsForSet()

nsresult nsIDOMDocument::EnableStyleSheetsForSet ( const nsAString name)

◆ GetActiveElement()

nsresult nsIDOMDocument::GetActiveElement ( nsIDOMElement **  aActiveElement)

◆ GetCharacterSet()

nsresult nsIDOMDocument::GetCharacterSet ( nsAString aCharacterSet)

◆ GetCompatMode()

nsresult nsIDOMDocument::GetCompatMode ( nsAString aCompatMode)

◆ GetContentType()

nsresult nsIDOMDocument::GetContentType ( nsAString aContentType)

◆ GetCurrentScript()

nsresult nsIDOMDocument::GetCurrentScript ( nsIDOMElement **  aCurrentScript)

◆ GetDefaultView()

nsresult nsIDOMDocument::GetDefaultView ( nsIDOMWindow **  aDefaultView)

◆ GetDir()

nsresult nsIDOMDocument::GetDir ( nsAString aDir)

◆ GetDoctype()

nsresult nsIDOMDocument::GetDoctype ( nsIDOMDocumentType **  aDoctype)

◆ GetDocumentElement()

nsresult nsIDOMDocument::GetDocumentElement ( nsIDOMElement **  aDocumentElement)

◆ GetDocumentURI()

nsresult nsIDOMDocument::GetDocumentURI ( nsAString aDocumentURI)

◆ GetElementById()

nsresult nsIDOMDocument::GetElementById ( const nsAString elementId,
nsIDOMElement **  _retval 
)

◆ GetElementsByClassName()

nsresult nsIDOMDocument::GetElementsByClassName ( const nsAString classes,
nsIDOMNodeList **  _retval 
)

◆ GetElementsByTagName()

nsresult nsIDOMDocument::GetElementsByTagName ( const nsAString tagname,
nsIDOMNodeList **  _retval 
)

◆ GetElementsByTagNameNS()

nsresult nsIDOMDocument::GetElementsByTagNameNS ( const nsAString namespaceURI,
const nsAString localName,
nsIDOMNodeList **  _retval 
)

◆ GetHidden()

nsresult nsIDOMDocument::GetHidden ( bool aHidden)

◆ GetImplementation()

nsresult nsIDOMDocument::GetImplementation ( nsIDOMDOMImplementation **  aImplementation)

◆ GetInputEncoding()

nsresult nsIDOMDocument::GetInputEncoding ( nsAString aInputEncoding)

◆ GetLastModified()

nsresult nsIDOMDocument::GetLastModified ( nsAString aLastModified)

◆ GetLastStyleSheetSet()

nsresult nsIDOMDocument::GetLastStyleSheetSet ( nsAString aLastStyleSheetSet)

◆ GetLocation()

nsresult nsIDOMDocument::GetLocation ( nsIDOMLocation **  aLocation)

◆ GetMozFullScreen()

nsresult nsIDOMDocument::GetMozFullScreen ( bool aMozFullScreen)

◆ GetMozFullScreenElement()

nsresult nsIDOMDocument::GetMozFullScreenElement ( nsIDOMElement **  aMozFullScreenElement)

◆ GetMozFullScreenEnabled()

nsresult nsIDOMDocument::GetMozFullScreenEnabled ( bool aMozFullScreenEnabled)

◆ GetMozHidden()

nsresult nsIDOMDocument::GetMozHidden ( bool aMozHidden)

◆ GetMozPointerLockElement()

nsresult nsIDOMDocument::GetMozPointerLockElement ( nsIDOMElement **  aMozPointerLockElement)

◆ GetMozSyntheticDocument()

nsresult nsIDOMDocument::GetMozSyntheticDocument ( bool aMozSyntheticDocument)

◆ GetMozVisibilityState()

nsresult nsIDOMDocument::GetMozVisibilityState ( nsAString aMozVisibilityState)

◆ GetPreferredStyleSheetSet()

nsresult nsIDOMDocument::GetPreferredStyleSheetSet ( nsAString aPreferredStyleSheetSet)

◆ GetReadyState()

nsresult nsIDOMDocument::GetReadyState ( nsAString aReadyState)

◆ GetReferrer()

nsresult nsIDOMDocument::GetReferrer ( nsAString aReferrer)

◆ GetSelectedStyleSheetSet()

nsresult nsIDOMDocument::GetSelectedStyleSheetSet ( nsAString aSelectedStyleSheetSet)

◆ GetStyleSheets()

nsresult nsIDOMDocument::GetStyleSheets ( nsIDOMStyleSheetList **  aStyleSheets)

◆ GetStyleSheetSets()

nsresult nsIDOMDocument::GetStyleSheetSets ( nsISupports **  aStyleSheetSets)

◆ GetTitle()

nsresult nsIDOMDocument::GetTitle ( nsAString aTitle)

◆ GetURL()

nsresult nsIDOMDocument::GetURL ( nsAString aURL)

◆ GetVisibilityState()

nsresult nsIDOMDocument::GetVisibilityState ( nsAString aVisibilityState)

◆ HasFocus()

nsresult nsIDOMDocument::HasFocus ( bool _retval)

◆ ImportNode()

nsresult nsIDOMDocument::ImportNode ( nsIDOMNode importedNode,
bool  deep,
uint8_t  _argc,
nsIDOMNode **  _retval 
)

◆ MozCancelFullScreen()

nsresult nsIDOMDocument::MozCancelFullScreen ( )

◆ MozExitPointerLock()

nsresult nsIDOMDocument::MozExitPointerLock ( )

◆ MozSetImageElement()

nsresult nsIDOMDocument::MozSetImageElement ( const nsAString aImageElementId,
nsIDOMElement aImageElement 
)

◆ QuerySelector()

nsresult nsIDOMDocument::QuerySelector ( const nsAString selectors,
nsIDOMElement **  _retval 
)

◆ QuerySelectorAll()

nsresult nsIDOMDocument::QuerySelectorAll ( const nsAString selectors,
nsIDOMNodeList **  _retval 
)

◆ ReleaseCapture()

nsresult nsIDOMDocument::ReleaseCapture ( )

◆ SetDir()

nsresult nsIDOMDocument::SetDir ( const nsAString aDir)

◆ SetSelectedStyleSheetSet()

nsresult nsIDOMDocument::SetSelectedStyleSheetSet ( const nsAString aSelectedStyleSheetSet)

◆ SetTitle()

nsresult nsIDOMDocument::SetTitle ( const nsAString aTitle)

The documentation for this interface was generated from the following file: