Copyright | Will Thompson Iñaki García Etxebarria and Jonas Platte |
---|---|
License | LGPL-2.1 |
Maintainer | Iñaki García Etxebarria |
Safe Haskell | None |
Language | Haskell2010 |
- Exported types
- Methods
- Overloaded methods
- appendChild
- cloneNodeWithError
- compareDocumentPosition
- contains
- forJsValue
- getBaseUri
- getChildNodes
- getFirstChild
- getLastChild
- getLocalName
- getNamespaceUri
- getNextSibling
- getNodeName
- getNodeType
- getNodeValue
- getOwnerDocument
- getParentElement
- getParentNode
- getPrefix
- getPreviousSibling
- getTextContent
- hasChildNodes
- insertBefore
- isDefaultNamespace
- isEqualNode
- isSameNode
- isSupported
- lookupNamespaceUri
- lookupPrefix
- normalize
- removeChild
- replaceChild
- setNodeValue
- setPrefix
- setTextContent
- Properties
No description available in the introspection data.
Synopsis
- newtype DOMNode = DOMNode (ManagedPtr DOMNode)
- class (GObject o, IsDescendantOf DOMNode o) => IsDOMNode o
- toDOMNode :: (MonadIO m, IsDOMNode o) => o -> m DOMNode
- noDOMNode :: Maybe DOMNode
- dOMNodeAppendChild :: (HasCallStack, MonadIO m, IsDOMNode a, IsDOMNode b) => a -> b -> m DOMNode
- dOMNodeCloneNodeWithError :: (HasCallStack, MonadIO m, IsDOMNode a) => a -> Bool -> m DOMNode
- dOMNodeCompareDocumentPosition :: (HasCallStack, MonadIO m, IsDOMNode a, IsDOMNode b) => a -> b -> m Word16
- dOMNodeContains :: (HasCallStack, MonadIO m, IsDOMNode a, IsDOMNode b) => a -> b -> m Bool
- dOMNodeForJsValue :: (HasCallStack, MonadIO m, IsValue a) => a -> m DOMNode
- dOMNodeGetBaseUri :: (HasCallStack, MonadIO m, IsDOMNode a) => a -> m Text
- dOMNodeGetChildNodes :: (HasCallStack, MonadIO m, IsDOMNode a) => a -> m DOMNodeList
- dOMNodeGetFirstChild :: (HasCallStack, MonadIO m, IsDOMNode a) => a -> m DOMNode
- dOMNodeGetLastChild :: (HasCallStack, MonadIO m, IsDOMNode a) => a -> m DOMNode
- dOMNodeGetLocalName :: (HasCallStack, MonadIO m, IsDOMNode a) => a -> m Text
- dOMNodeGetNamespaceUri :: (HasCallStack, MonadIO m, IsDOMNode a) => a -> m Text
- dOMNodeGetNextSibling :: (HasCallStack, MonadIO m, IsDOMNode a) => a -> m DOMNode
- dOMNodeGetNodeName :: (HasCallStack, MonadIO m, IsDOMNode a) => a -> m Text
- dOMNodeGetNodeType :: (HasCallStack, MonadIO m, IsDOMNode a) => a -> m Word16
- dOMNodeGetNodeValue :: (HasCallStack, MonadIO m, IsDOMNode a) => a -> m Text
- dOMNodeGetOwnerDocument :: (HasCallStack, MonadIO m, IsDOMNode a) => a -> m DOMDocument
- dOMNodeGetParentElement :: (HasCallStack, MonadIO m, IsDOMNode a) => a -> m DOMElement
- dOMNodeGetParentNode :: (HasCallStack, MonadIO m, IsDOMNode a) => a -> m DOMNode
- dOMNodeGetPrefix :: (HasCallStack, MonadIO m, IsDOMNode a) => a -> m Text
- dOMNodeGetPreviousSibling :: (HasCallStack, MonadIO m, IsDOMNode a) => a -> m DOMNode
- dOMNodeGetTextContent :: (HasCallStack, MonadIO m, IsDOMNode a) => a -> m Text
- dOMNodeHasChildNodes :: (HasCallStack, MonadIO m, IsDOMNode a) => a -> m Bool
- dOMNodeInsertBefore :: (HasCallStack, MonadIO m, IsDOMNode a, IsDOMNode b, IsDOMNode c) => a -> b -> Maybe c -> m DOMNode
- dOMNodeIsDefaultNamespace :: (HasCallStack, MonadIO m, IsDOMNode a) => a -> Text -> m Bool
- dOMNodeIsEqualNode :: (HasCallStack, MonadIO m, IsDOMNode a, IsDOMNode b) => a -> b -> m Bool
- dOMNodeIsSameNode :: (HasCallStack, MonadIO m, IsDOMNode a, IsDOMNode b) => a -> b -> m Bool
- dOMNodeIsSupported :: (HasCallStack, MonadIO m, IsDOMNode a) => a -> Text -> Text -> m Bool
- dOMNodeLookupNamespaceUri :: (HasCallStack, MonadIO m, IsDOMNode a) => a -> Text -> m Text
- dOMNodeLookupPrefix :: (HasCallStack, MonadIO m, IsDOMNode a) => a -> Text -> m Text
- dOMNodeNormalize :: (HasCallStack, MonadIO m, IsDOMNode a) => a -> m ()
- dOMNodeRemoveChild :: (HasCallStack, MonadIO m, IsDOMNode a, IsDOMNode b) => a -> b -> m DOMNode
- dOMNodeReplaceChild :: (HasCallStack, MonadIO m, IsDOMNode a, IsDOMNode b, IsDOMNode c) => a -> b -> c -> m DOMNode
- dOMNodeSetNodeValue :: (HasCallStack, MonadIO m, IsDOMNode a) => a -> Text -> m ()
- dOMNodeSetPrefix :: (HasCallStack, MonadIO m, IsDOMNode a) => a -> Text -> m ()
- dOMNodeSetTextContent :: (HasCallStack, MonadIO m, IsDOMNode a) => a -> Text -> m ()
- getDOMNodeBaseUri :: (MonadIO m, IsDOMNode o) => o -> m (Maybe Text)
- getDOMNodeChildNodes :: (MonadIO m, IsDOMNode o) => o -> m (Maybe DOMNodeList)
- getDOMNodeFirstChild :: (MonadIO m, IsDOMNode o) => o -> m DOMNode
- getDOMNodeLastChild :: (MonadIO m, IsDOMNode o) => o -> m DOMNode
- getDOMNodeNextSibling :: (MonadIO m, IsDOMNode o) => o -> m DOMNode
- getDOMNodeNodeName :: (MonadIO m, IsDOMNode o) => o -> m (Maybe Text)
- getDOMNodeNodeType :: (MonadIO m, IsDOMNode o) => o -> m Word32
- clearDOMNodeNodeValue :: (MonadIO m, IsDOMNode o) => o -> m ()
- constructDOMNodeNodeValue :: IsDOMNode o => Text -> IO (GValueConstruct o)
- getDOMNodeNodeValue :: (MonadIO m, IsDOMNode o) => o -> m (Maybe Text)
- setDOMNodeNodeValue :: (MonadIO m, IsDOMNode o) => o -> Text -> m ()
- getDOMNodeOwnerDocument :: (MonadIO m, IsDOMNode o) => o -> m DOMDocument
- getDOMNodeParentElement :: (MonadIO m, IsDOMNode o) => o -> m DOMElement
- getDOMNodeParentNode :: (MonadIO m, IsDOMNode o) => o -> m DOMNode
- getDOMNodePreviousSibling :: (MonadIO m, IsDOMNode o) => o -> m DOMNode
- clearDOMNodeTextContent :: (MonadIO m, IsDOMNode o) => o -> m ()
- constructDOMNodeTextContent :: IsDOMNode o => Text -> IO (GValueConstruct o)
- getDOMNodeTextContent :: (MonadIO m, IsDOMNode o) => o -> m (Maybe Text)
- setDOMNodeTextContent :: (MonadIO m, IsDOMNode o) => o -> Text -> m ()
Exported types
Memory-managed wrapper type.
Instances
Eq DOMNode Source # | |
IsGValue DOMNode Source # | Convert |
GObject DOMNode Source # | |
Defined in GI.WebKit2WebExtension.Objects.DOMNode gobjectType :: IO GType # | |
HasParentTypes DOMNode Source # | |
Defined in GI.WebKit2WebExtension.Objects.DOMNode | |
type ParentTypes DOMNode Source # | |
Defined in GI.WebKit2WebExtension.Objects.DOMNode |
class (GObject o, IsDescendantOf DOMNode o) => IsDOMNode o Source #
Instances
(GObject o, IsDescendantOf DOMNode o) => IsDOMNode o Source # | |
Defined in GI.WebKit2WebExtension.Objects.DOMNode |
Methods
Overloaded methods
appendChild
:: (HasCallStack, MonadIO m, IsDOMNode a, IsDOMNode b) | |
=> a |
|
-> b |
|
-> m DOMNode |
Deprecated: (Since version 2.22)Use JavaScriptCore API instead
No description available in the introspection data.
cloneNodeWithError
dOMNodeCloneNodeWithError Source #
Deprecated: (Since version 2.22)Use JavaScriptCore API instead
No description available in the introspection data.
Since: 2.14
compareDocumentPosition
dOMNodeCompareDocumentPosition Source #
:: (HasCallStack, MonadIO m, IsDOMNode a, IsDOMNode b) | |
=> a |
|
-> b |
|
-> m Word16 | Returns: A |
Deprecated: (Since version 2.22)Use JavaScriptCore API instead
No description available in the introspection data.
contains
:: (HasCallStack, MonadIO m, IsDOMNode a, IsDOMNode b) | |
=> a |
|
-> b |
|
-> m Bool | Returns: A |
Deprecated: (Since version 2.22)Use JavaScriptCore API instead
No description available in the introspection data.
forJsValue
:: (HasCallStack, MonadIO m, IsValue a) | |
=> a |
|
-> m DOMNode | Returns: a |
Get the DOMNode
for the DOM node referenced by value
.
Since: 2.22
getBaseUri
:: (HasCallStack, MonadIO m, IsDOMNode a) | |
=> a |
|
-> m Text | Returns: A |
Deprecated: (Since version 2.22)Use JavaScriptCore API instead
No description available in the introspection data.
getChildNodes
:: (HasCallStack, MonadIO m, IsDOMNode a) | |
=> a |
|
-> m DOMNodeList | Returns: A |
Deprecated: (Since version 2.22)Use JavaScriptCore API instead
No description available in the introspection data.
getFirstChild
Deprecated: (Since version 2.22)Use JavaScriptCore API instead
No description available in the introspection data.
getLastChild
Deprecated: (Since version 2.22)Use JavaScriptCore API instead
No description available in the introspection data.
getLocalName
:: (HasCallStack, MonadIO m, IsDOMNode a) | |
=> a |
|
-> m Text | Returns: A |
Deprecated: (Since version 2.14)Use dOMAttrGetLocalName
or dOMElementGetLocalName
instead.
No description available in the introspection data.
getNamespaceUri
dOMNodeGetNamespaceUri Source #
:: (HasCallStack, MonadIO m, IsDOMNode a) | |
=> a |
|
-> m Text | Returns: A |
Deprecated: (Since version 2.14)Use dOMAttrGetNamespaceUri
or dOMElementGetNamespaceUri
instead.
No description available in the introspection data.
getNextSibling
dOMNodeGetNextSibling Source #
Deprecated: (Since version 2.22)Use JavaScriptCore API instead
No description available in the introspection data.
getNodeName
:: (HasCallStack, MonadIO m, IsDOMNode a) | |
=> a |
|
-> m Text | Returns: A |
Deprecated: (Since version 2.22)Use JavaScriptCore API instead
No description available in the introspection data.
getNodeType
:: (HasCallStack, MonadIO m, IsDOMNode a) | |
=> a |
|
-> m Word16 | Returns: A |
Deprecated: (Since version 2.22)Use JavaScriptCore API instead
No description available in the introspection data.
getNodeValue
:: (HasCallStack, MonadIO m, IsDOMNode a) | |
=> a |
|
-> m Text | Returns: A |
Deprecated: (Since version 2.22)Use JavaScriptCore API instead
No description available in the introspection data.
getOwnerDocument
dOMNodeGetOwnerDocument Source #
:: (HasCallStack, MonadIO m, IsDOMNode a) | |
=> a |
|
-> m DOMDocument | Returns: A |
Deprecated: (Since version 2.22)Use JavaScriptCore API instead
No description available in the introspection data.
getParentElement
dOMNodeGetParentElement Source #
:: (HasCallStack, MonadIO m, IsDOMNode a) | |
=> a |
|
-> m DOMElement | Returns: A |
Deprecated: (Since version 2.22)Use JavaScriptCore API instead
No description available in the introspection data.
getParentNode
Deprecated: (Since version 2.22)Use JavaScriptCore API instead
No description available in the introspection data.
getPrefix
:: (HasCallStack, MonadIO m, IsDOMNode a) | |
=> a |
|
-> m Text | Returns: A |
Deprecated: (Since version 2.14)Use dOMAttrGetPrefix
or dOMElementGetPrefix
instead.
No description available in the introspection data.
getPreviousSibling
dOMNodeGetPreviousSibling Source #
Deprecated: (Since version 2.22)Use JavaScriptCore API instead
No description available in the introspection data.
getTextContent
dOMNodeGetTextContent Source #
:: (HasCallStack, MonadIO m, IsDOMNode a) | |
=> a |
|
-> m Text | Returns: A |
Deprecated: (Since version 2.22)Use JavaScriptCore API instead
No description available in the introspection data.
hasChildNodes
Deprecated: (Since version 2.22)Use JavaScriptCore API instead
No description available in the introspection data.
insertBefore
:: (HasCallStack, MonadIO m, IsDOMNode a, IsDOMNode b, IsDOMNode c) | |
=> a |
|
-> b |
|
-> Maybe c |
|
-> m DOMNode |
Deprecated: (Since version 2.22)Use JavaScriptCore API instead
No description available in the introspection data.
isDefaultNamespace
dOMNodeIsDefaultNamespace Source #
:: (HasCallStack, MonadIO m, IsDOMNode a) | |
=> a |
|
-> Text |
|
-> m Bool | Returns: A |
Deprecated: (Since version 2.22)Use JavaScriptCore API instead
No description available in the introspection data.
isEqualNode
:: (HasCallStack, MonadIO m, IsDOMNode a, IsDOMNode b) | |
=> a |
|
-> b |
|
-> m Bool | Returns: A |
Deprecated: (Since version 2.22)Use JavaScriptCore API instead
No description available in the introspection data.
isSameNode
:: (HasCallStack, MonadIO m, IsDOMNode a, IsDOMNode b) | |
=> a |
|
-> b |
|
-> m Bool | Returns: A |
Deprecated: (Since version 2.22)Use JavaScriptCore API instead
No description available in the introspection data.
isSupported
:: (HasCallStack, MonadIO m, IsDOMNode a) | |
=> a |
|
-> Text |
|
-> Text |
|
-> m Bool | Returns: A |
Deprecated: (Since version 2.22)Use JavaScriptCore API instead
No description available in the introspection data.
lookupNamespaceUri
dOMNodeLookupNamespaceUri Source #
:: (HasCallStack, MonadIO m, IsDOMNode a) | |
=> a |
|
-> Text |
|
-> m Text | Returns: A |
Deprecated: (Since version 2.22)Use JavaScriptCore API instead
No description available in the introspection data.
lookupPrefix
:: (HasCallStack, MonadIO m, IsDOMNode a) | |
=> a |
|
-> Text |
|
-> m Text | Returns: A |
Deprecated: (Since version 2.22)Use JavaScriptCore API instead
No description available in the introspection data.
normalize
:: (HasCallStack, MonadIO m, IsDOMNode a) | |
=> a |
|
-> m () |
Deprecated: (Since version 2.22)Use JavaScriptCore API instead
No description available in the introspection data.
removeChild
:: (HasCallStack, MonadIO m, IsDOMNode a, IsDOMNode b) | |
=> a |
|
-> b |
|
-> m DOMNode |
Deprecated: (Since version 2.22)Use JavaScriptCore API instead
No description available in the introspection data.
replaceChild
:: (HasCallStack, MonadIO m, IsDOMNode a, IsDOMNode b, IsDOMNode c) | |
=> a |
|
-> b |
|
-> c |
|
-> m DOMNode |
Deprecated: (Since version 2.22)Use JavaScriptCore API instead
No description available in the introspection data.
setNodeValue
:: (HasCallStack, MonadIO m, IsDOMNode a) | |
=> a |
|
-> Text |
|
-> m () | (Can throw |
Deprecated: (Since version 2.22)Use JavaScriptCore API instead
No description available in the introspection data.
setPrefix
:: (HasCallStack, MonadIO m, IsDOMNode a) | |
=> a |
|
-> Text |
|
-> m () | (Can throw |
Deprecated: (Since version 2.14)
No description available in the introspection data.
setTextContent
dOMNodeSetTextContent Source #
:: (HasCallStack, MonadIO m, IsDOMNode a) | |
=> a |
|
-> Text |
|
-> m () | (Can throw |
Deprecated: (Since version 2.22)Use JavaScriptCore API instead
No description available in the introspection data.
Properties
baseUri
No description available in the introspection data.
getDOMNodeBaseUri :: (MonadIO m, IsDOMNode o) => o -> m (Maybe Text) Source #
Get the value of the “base-uri
” property.
When overloading is enabled, this is equivalent to
get
dOMNode #baseUri
childNodes
No description available in the introspection data.
getDOMNodeChildNodes :: (MonadIO m, IsDOMNode o) => o -> m (Maybe DOMNodeList) Source #
Get the value of the “child-nodes
” property.
When overloading is enabled, this is equivalent to
get
dOMNode #childNodes
firstChild
No description available in the introspection data.
getDOMNodeFirstChild :: (MonadIO m, IsDOMNode o) => o -> m DOMNode Source #
Get the value of the “first-child
” property.
When overloading is enabled, this is equivalent to
get
dOMNode #firstChild
lastChild
No description available in the introspection data.
getDOMNodeLastChild :: (MonadIO m, IsDOMNode o) => o -> m DOMNode Source #
Get the value of the “last-child
” property.
When overloading is enabled, this is equivalent to
get
dOMNode #lastChild
nextSibling
No description available in the introspection data.
getDOMNodeNextSibling :: (MonadIO m, IsDOMNode o) => o -> m DOMNode Source #
Get the value of the “next-sibling
” property.
When overloading is enabled, this is equivalent to
get
dOMNode #nextSibling
nodeName
No description available in the introspection data.
getDOMNodeNodeName :: (MonadIO m, IsDOMNode o) => o -> m (Maybe Text) Source #
Get the value of the “node-name
” property.
When overloading is enabled, this is equivalent to
get
dOMNode #nodeName
nodeType
No description available in the introspection data.
getDOMNodeNodeType :: (MonadIO m, IsDOMNode o) => o -> m Word32 Source #
Get the value of the “node-type
” property.
When overloading is enabled, this is equivalent to
get
dOMNode #nodeType
nodeValue
No description available in the introspection data.
clearDOMNodeNodeValue :: (MonadIO m, IsDOMNode o) => o -> m () Source #
Set the value of the “node-value
” property to Nothing
.
When overloading is enabled, this is equivalent to
clear
#nodeValue
constructDOMNodeNodeValue :: IsDOMNode o => Text -> IO (GValueConstruct o) Source #
Construct a GValueConstruct
with valid value for the “node-value
” property. This is rarely needed directly, but it is used by new
.
getDOMNodeNodeValue :: (MonadIO m, IsDOMNode o) => o -> m (Maybe Text) Source #
Get the value of the “node-value
” property.
When overloading is enabled, this is equivalent to
get
dOMNode #nodeValue
setDOMNodeNodeValue :: (MonadIO m, IsDOMNode o) => o -> Text -> m () Source #
Set the value of the “node-value
” property.
When overloading is enabled, this is equivalent to
set
dOMNode [ #nodeValue:=
value ]
ownerDocument
No description available in the introspection data.
getDOMNodeOwnerDocument :: (MonadIO m, IsDOMNode o) => o -> m DOMDocument Source #
Get the value of the “owner-document
” property.
When overloading is enabled, this is equivalent to
get
dOMNode #ownerDocument
parentElement
No description available in the introspection data.
getDOMNodeParentElement :: (MonadIO m, IsDOMNode o) => o -> m DOMElement Source #
Get the value of the “parent-element
” property.
When overloading is enabled, this is equivalent to
get
dOMNode #parentElement
parentNode
No description available in the introspection data.
getDOMNodeParentNode :: (MonadIO m, IsDOMNode o) => o -> m DOMNode Source #
Get the value of the “parent-node
” property.
When overloading is enabled, this is equivalent to
get
dOMNode #parentNode
previousSibling
No description available in the introspection data.
getDOMNodePreviousSibling :: (MonadIO m, IsDOMNode o) => o -> m DOMNode Source #
Get the value of the “previous-sibling
” property.
When overloading is enabled, this is equivalent to
get
dOMNode #previousSibling
textContent
No description available in the introspection data.
clearDOMNodeTextContent :: (MonadIO m, IsDOMNode o) => o -> m () Source #
Set the value of the “text-content
” property to Nothing
.
When overloading is enabled, this is equivalent to
clear
#textContent
constructDOMNodeTextContent :: IsDOMNode o => Text -> IO (GValueConstruct o) Source #
Construct a GValueConstruct
with valid value for the “text-content
” property. This is rarely needed directly, but it is used by new
.
getDOMNodeTextContent :: (MonadIO m, IsDOMNode o) => o -> m (Maybe Text) Source #
Get the value of the “text-content
” property.
When overloading is enabled, this is equivalent to
get
dOMNode #textContent
setDOMNodeTextContent :: (MonadIO m, IsDOMNode o) => o -> Text -> m () Source #
Set the value of the “text-content
” property.
When overloading is enabled, this is equivalent to
set
dOMNode [ #textContent:=
value ]