Copyright | Will Thompson and Iñaki García Etxebarria |
---|---|
License | LGPL-2.1 |
Maintainer | Iñaki García Etxebarria |
Safe Haskell | Safe-Inferred |
Language | Haskell2010 |
GI.WebKit2WebExtension.Objects.DOMNode
Contents
- Exported types
- 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
Description
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
- 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 CUShort
- 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 CUShort
- 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, MonadIO m) => Text -> m (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, MonadIO m) => Text -> m (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 # | |
GObject DOMNode Source # | |
Defined in GI.WebKit2WebExtension.Objects.DOMNode | |
ManagedPtrNewtype DOMNode Source # | |
Defined in GI.WebKit2WebExtension.Objects.DOMNode Methods toManagedPtr :: DOMNode -> ManagedPtr DOMNode | |
TypedObject DOMNode Source # | |
Defined in GI.WebKit2WebExtension.Objects.DOMNode | |
HasParentTypes DOMNode Source # | |
Defined in GI.WebKit2WebExtension.Objects.DOMNode | |
IsGValue (Maybe DOMNode) Source # | Convert |
Defined in GI.WebKit2WebExtension.Objects.DOMNode Methods gvalueGType_ :: IO GType gvalueSet_ :: Ptr GValue -> Maybe DOMNode -> IO () gvalueGet_ :: Ptr GValue -> IO (Maybe 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
Click to display all available methods, including inherited ones
Methods
addEventListener, appendChild, bindProperty, bindPropertyFull, cloneNodeWithError, compareDocumentPosition, contains, dispatchEvent, forceFloating, freezeNotify, getv, hasChildNodes, insertBefore, isDefaultNamespace, isEqualNode, isFloating, isSameNode, isSupported, lookupNamespaceUri, lookupPrefix, normalize, notify, notifyByPspec, ref, refSink, removeChild, removeEventListener, replaceChild, runDispose, stealData, stealQdata, thawNotify, unref, watchClosure.
Getters
getBaseUri, getChildNodes, getData, getFirstChild, getLastChild, getLocalName, getNamespaceUri, getNextSibling, getNodeName, getNodeType, getNodeValue, getOwnerDocument, getParentElement, getParentNode, getPrefix, getPreviousSibling, getProperty, getQdata, getTextContent.
Setters
setData, setDataFull, setNodeValue, setPrefix, setProperty, setTextContent.
appendChild
Arguments
:: (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 #
Arguments
:: (HasCallStack, MonadIO m, IsDOMNode a) | |
=> a |
|
-> Bool |
|
-> m DOMNode |
Deprecated: (Since version 2.22)Use JavaScriptCore API instead
No description available in the introspection data.
Since: 2.14
compareDocumentPosition
dOMNodeCompareDocumentPosition Source #
Arguments
:: (HasCallStack, MonadIO m, IsDOMNode a, IsDOMNode b) | |
=> a |
|
-> b |
|
-> m CUShort | Returns: A |
Deprecated: (Since version 2.22)Use JavaScriptCore API instead
No description available in the introspection data.
contains
Arguments
:: (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
getBaseUri
Arguments
:: (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
Arguments
:: (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
Arguments
:: (HasCallStack, MonadIO m, IsDOMNode a) | |
=> a |
|
-> m DOMNode | Returns: A |
Deprecated: (Since version 2.22)Use JavaScriptCore API instead
No description available in the introspection data.
getLastChild
Arguments
:: (HasCallStack, MonadIO m, IsDOMNode a) | |
=> a |
|
-> m DOMNode | Returns: A |
Deprecated: (Since version 2.22)Use JavaScriptCore API instead
No description available in the introspection data.
getLocalName
Arguments
:: (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 #
Arguments
:: (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 #
Arguments
:: (HasCallStack, MonadIO m, IsDOMNode a) | |
=> a |
|
-> m DOMNode | Returns: A |
Deprecated: (Since version 2.22)Use JavaScriptCore API instead
No description available in the introspection data.
getNodeName
Arguments
:: (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
Arguments
:: (HasCallStack, MonadIO m, IsDOMNode a) | |
=> a |
|
-> m CUShort | Returns: A |
Deprecated: (Since version 2.22)Use JavaScriptCore API instead
No description available in the introspection data.
getNodeValue
Arguments
:: (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 #
Arguments
:: (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 #
Arguments
:: (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
Arguments
:: (HasCallStack, MonadIO m, IsDOMNode a) | |
=> a |
|
-> m DOMNode | Returns: A |
Deprecated: (Since version 2.22)Use JavaScriptCore API instead
No description available in the introspection data.
getPrefix
Arguments
:: (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 #
Arguments
:: (HasCallStack, MonadIO m, IsDOMNode a) | |
=> a |
|
-> m DOMNode | Returns: A |
Deprecated: (Since version 2.22)Use JavaScriptCore API instead
No description available in the introspection data.
getTextContent
dOMNodeGetTextContent Source #
Arguments
:: (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
Arguments
:: (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 #
Arguments
:: (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
Arguments
:: (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
Arguments
:: (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
Arguments
:: (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 #
Arguments
:: (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
Arguments
:: (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
Arguments
:: (HasCallStack, MonadIO m, IsDOMNode a) | |
=> a |
|
-> m () |
Deprecated: (Since version 2.22)Use JavaScriptCore API instead
No description available in the introspection data.
removeChild
Arguments
:: (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
Arguments
:: (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
Arguments
:: (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
Arguments
:: (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 #
Arguments
:: (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, MonadIO m) => Text -> m (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, MonadIO m) => Text -> m (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 ]