{-# LANGUAGE TypeApplications #-}


-- | Copyright  : Will Thompson and Iñaki García Etxebarria
-- License    : LGPL-2.1
-- Maintainer : Iñaki García Etxebarria
-- 
-- /No description available in the introspection data./

#if (MIN_VERSION_haskell_gi_overloading(1,0,0) && !defined(__HADDOCK_VERSION__))
#define ENABLE_OVERLOADING
#endif

module GI.WebKit2WebExtension.Objects.DOMDocumentType
    ( 

-- * Exported types
    DOMDocumentType(..)                     ,
    IsDOMDocumentType                       ,
    toDOMDocumentType                       ,


 -- * Methods
-- | 
-- 
--  === __Click to display all available methods, including inherited ones__
-- ==== Methods
-- [addEventListener]("GI.WebKit2WebExtension.Interfaces.DOMEventTarget#g:method:addEventListener"), [appendChild]("GI.WebKit2WebExtension.Objects.DOMNode#g:method:appendChild"), [bindProperty]("GI.GObject.Objects.Object#g:method:bindProperty"), [bindPropertyFull]("GI.GObject.Objects.Object#g:method:bindPropertyFull"), [cloneNodeWithError]("GI.WebKit2WebExtension.Objects.DOMNode#g:method:cloneNodeWithError"), [compareDocumentPosition]("GI.WebKit2WebExtension.Objects.DOMNode#g:method:compareDocumentPosition"), [contains]("GI.WebKit2WebExtension.Objects.DOMNode#g:method:contains"), [dispatchEvent]("GI.WebKit2WebExtension.Interfaces.DOMEventTarget#g:method:dispatchEvent"), [forceFloating]("GI.GObject.Objects.Object#g:method:forceFloating"), [freezeNotify]("GI.GObject.Objects.Object#g:method:freezeNotify"), [getv]("GI.GObject.Objects.Object#g:method:getv"), [hasChildNodes]("GI.WebKit2WebExtension.Objects.DOMNode#g:method:hasChildNodes"), [insertBefore]("GI.WebKit2WebExtension.Objects.DOMNode#g:method:insertBefore"), [isDefaultNamespace]("GI.WebKit2WebExtension.Objects.DOMNode#g:method:isDefaultNamespace"), [isEqualNode]("GI.WebKit2WebExtension.Objects.DOMNode#g:method:isEqualNode"), [isFloating]("GI.GObject.Objects.Object#g:method:isFloating"), [isSameNode]("GI.WebKit2WebExtension.Objects.DOMNode#g:method:isSameNode"), [isSupported]("GI.WebKit2WebExtension.Objects.DOMNode#g:method:isSupported"), [lookupNamespaceUri]("GI.WebKit2WebExtension.Objects.DOMNode#g:method:lookupNamespaceUri"), [lookupPrefix]("GI.WebKit2WebExtension.Objects.DOMNode#g:method:lookupPrefix"), [normalize]("GI.WebKit2WebExtension.Objects.DOMNode#g:method:normalize"), [notify]("GI.GObject.Objects.Object#g:method:notify"), [notifyByPspec]("GI.GObject.Objects.Object#g:method:notifyByPspec"), [ref]("GI.GObject.Objects.Object#g:method:ref"), [refSink]("GI.GObject.Objects.Object#g:method:refSink"), [removeChild]("GI.WebKit2WebExtension.Objects.DOMNode#g:method:removeChild"), [removeEventListener]("GI.WebKit2WebExtension.Interfaces.DOMEventTarget#g:method:removeEventListener"), [replaceChild]("GI.WebKit2WebExtension.Objects.DOMNode#g:method:replaceChild"), [runDispose]("GI.GObject.Objects.Object#g:method:runDispose"), [stealData]("GI.GObject.Objects.Object#g:method:stealData"), [stealQdata]("GI.GObject.Objects.Object#g:method:stealQdata"), [thawNotify]("GI.GObject.Objects.Object#g:method:thawNotify"), [unref]("GI.GObject.Objects.Object#g:method:unref"), [watchClosure]("GI.GObject.Objects.Object#g:method:watchClosure").
-- 
-- ==== Getters
-- [getBaseUri]("GI.WebKit2WebExtension.Objects.DOMNode#g:method:getBaseUri"), [getChildNodes]("GI.WebKit2WebExtension.Objects.DOMNode#g:method:getChildNodes"), [getData]("GI.GObject.Objects.Object#g:method:getData"), [getEntities]("GI.WebKit2WebExtension.Objects.DOMDocumentType#g:method:getEntities"), [getFirstChild]("GI.WebKit2WebExtension.Objects.DOMNode#g:method:getFirstChild"), [getInternalSubset]("GI.WebKit2WebExtension.Objects.DOMDocumentType#g:method:getInternalSubset"), [getLastChild]("GI.WebKit2WebExtension.Objects.DOMNode#g:method:getLastChild"), [getLocalName]("GI.WebKit2WebExtension.Objects.DOMNode#g:method:getLocalName"), [getName]("GI.WebKit2WebExtension.Objects.DOMDocumentType#g:method:getName"), [getNamespaceUri]("GI.WebKit2WebExtension.Objects.DOMNode#g:method:getNamespaceUri"), [getNextSibling]("GI.WebKit2WebExtension.Objects.DOMNode#g:method:getNextSibling"), [getNodeName]("GI.WebKit2WebExtension.Objects.DOMNode#g:method:getNodeName"), [getNodeType]("GI.WebKit2WebExtension.Objects.DOMNode#g:method:getNodeType"), [getNodeValue]("GI.WebKit2WebExtension.Objects.DOMNode#g:method:getNodeValue"), [getNotations]("GI.WebKit2WebExtension.Objects.DOMDocumentType#g:method:getNotations"), [getOwnerDocument]("GI.WebKit2WebExtension.Objects.DOMNode#g:method:getOwnerDocument"), [getParentElement]("GI.WebKit2WebExtension.Objects.DOMNode#g:method:getParentElement"), [getParentNode]("GI.WebKit2WebExtension.Objects.DOMNode#g:method:getParentNode"), [getPrefix]("GI.WebKit2WebExtension.Objects.DOMNode#g:method:getPrefix"), [getPreviousSibling]("GI.WebKit2WebExtension.Objects.DOMNode#g:method:getPreviousSibling"), [getProperty]("GI.GObject.Objects.Object#g:method:getProperty"), [getPublicId]("GI.WebKit2WebExtension.Objects.DOMDocumentType#g:method:getPublicId"), [getQdata]("GI.GObject.Objects.Object#g:method:getQdata"), [getSystemId]("GI.WebKit2WebExtension.Objects.DOMDocumentType#g:method:getSystemId"), [getTextContent]("GI.WebKit2WebExtension.Objects.DOMNode#g:method:getTextContent").
-- 
-- ==== Setters
-- [setData]("GI.GObject.Objects.Object#g:method:setData"), [setDataFull]("GI.GObject.Objects.Object#g:method:setDataFull"), [setNodeValue]("GI.WebKit2WebExtension.Objects.DOMNode#g:method:setNodeValue"), [setPrefix]("GI.WebKit2WebExtension.Objects.DOMNode#g:method:setPrefix"), [setProperty]("GI.GObject.Objects.Object#g:method:setProperty"), [setTextContent]("GI.WebKit2WebExtension.Objects.DOMNode#g:method:setTextContent").

#if defined(ENABLE_OVERLOADING)
    ResolveDOMDocumentTypeMethod            ,
#endif

-- ** getEntities #method:getEntities#

#if defined(ENABLE_OVERLOADING)
    DOMDocumentTypeGetEntitiesMethodInfo    ,
#endif
    dOMDocumentTypeGetEntities              ,


-- ** getInternalSubset #method:getInternalSubset#

#if defined(ENABLE_OVERLOADING)
    DOMDocumentTypeGetInternalSubsetMethodInfo,
#endif
    dOMDocumentTypeGetInternalSubset        ,


-- ** getName #method:getName#

#if defined(ENABLE_OVERLOADING)
    DOMDocumentTypeGetNameMethodInfo        ,
#endif
    dOMDocumentTypeGetName                  ,


-- ** getNotations #method:getNotations#

#if defined(ENABLE_OVERLOADING)
    DOMDocumentTypeGetNotationsMethodInfo   ,
#endif
    dOMDocumentTypeGetNotations             ,


-- ** getPublicId #method:getPublicId#

#if defined(ENABLE_OVERLOADING)
    DOMDocumentTypeGetPublicIdMethodInfo    ,
#endif
    dOMDocumentTypeGetPublicId              ,


-- ** getSystemId #method:getSystemId#

#if defined(ENABLE_OVERLOADING)
    DOMDocumentTypeGetSystemIdMethodInfo    ,
#endif
    dOMDocumentTypeGetSystemId              ,




 -- * Properties


-- ** entities #attr:entities#
-- | /No description available in the introspection data./

#if defined(ENABLE_OVERLOADING)
    DOMDocumentTypeEntitiesPropertyInfo     ,
#endif
#if defined(ENABLE_OVERLOADING)
    dOMDocumentTypeEntities                 ,
#endif
    getDOMDocumentTypeEntities              ,


-- ** internalSubset #attr:internalSubset#
-- | /No description available in the introspection data./

#if defined(ENABLE_OVERLOADING)
    DOMDocumentTypeInternalSubsetPropertyInfo,
#endif
#if defined(ENABLE_OVERLOADING)
    dOMDocumentTypeInternalSubset           ,
#endif
    getDOMDocumentTypeInternalSubset        ,


-- ** name #attr:name#
-- | /No description available in the introspection data./

#if defined(ENABLE_OVERLOADING)
    DOMDocumentTypeNamePropertyInfo         ,
#endif
#if defined(ENABLE_OVERLOADING)
    dOMDocumentTypeName                     ,
#endif
    getDOMDocumentTypeName                  ,


-- ** notations #attr:notations#
-- | /No description available in the introspection data./

#if defined(ENABLE_OVERLOADING)
    DOMDocumentTypeNotationsPropertyInfo    ,
#endif
#if defined(ENABLE_OVERLOADING)
    dOMDocumentTypeNotations                ,
#endif
    getDOMDocumentTypeNotations             ,


-- ** publicId #attr:publicId#
-- | /No description available in the introspection data./

#if defined(ENABLE_OVERLOADING)
    DOMDocumentTypePublicIdPropertyInfo     ,
#endif
#if defined(ENABLE_OVERLOADING)
    dOMDocumentTypePublicId                 ,
#endif
    getDOMDocumentTypePublicId              ,


-- ** systemId #attr:systemId#
-- | /No description available in the introspection data./

#if defined(ENABLE_OVERLOADING)
    DOMDocumentTypeSystemIdPropertyInfo     ,
#endif
#if defined(ENABLE_OVERLOADING)
    dOMDocumentTypeSystemId                 ,
#endif
    getDOMDocumentTypeSystemId              ,




    ) where

import Data.GI.Base.ShortPrelude
import qualified Data.GI.Base.ShortPrelude as SP
import qualified Data.GI.Base.Overloading as O
import qualified Prelude as P

import qualified Data.GI.Base.Attributes as GI.Attributes
import qualified Data.GI.Base.BasicTypes as B.Types
import qualified Data.GI.Base.ManagedPtr as B.ManagedPtr
import qualified Data.GI.Base.GArray as B.GArray
import qualified Data.GI.Base.GClosure as B.GClosure
import qualified Data.GI.Base.GError as B.GError
import qualified Data.GI.Base.GVariant as B.GVariant
import qualified Data.GI.Base.GValue as B.GValue
import qualified Data.GI.Base.GParamSpec as B.GParamSpec
import qualified Data.GI.Base.CallStack as B.CallStack
import qualified Data.GI.Base.Properties as B.Properties
import qualified Data.GI.Base.Signals as B.Signals
import qualified Control.Monad.IO.Class as MIO
import qualified Data.Coerce as Coerce
import qualified Data.Text as T
import qualified Data.ByteString.Char8 as B
import qualified Data.Map as Map
import qualified Foreign.Ptr as FP
import qualified GHC.OverloadedLabels as OL
import qualified GHC.Records as R

import qualified GI.GObject.Objects.Object as GObject.Object
import {-# SOURCE #-} qualified GI.WebKit2WebExtension.Interfaces.DOMEventTarget as WebKit2WebExtension.DOMEventTarget
import {-# SOURCE #-} qualified GI.WebKit2WebExtension.Objects.DOMNamedNodeMap as WebKit2WebExtension.DOMNamedNodeMap
import {-# SOURCE #-} qualified GI.WebKit2WebExtension.Objects.DOMNode as WebKit2WebExtension.DOMNode
import {-# SOURCE #-} qualified GI.WebKit2WebExtension.Objects.DOMObject as WebKit2WebExtension.DOMObject

-- | Memory-managed wrapper type.
newtype DOMDocumentType = DOMDocumentType (SP.ManagedPtr DOMDocumentType)
    deriving (DOMDocumentType -> DOMDocumentType -> Bool
(DOMDocumentType -> DOMDocumentType -> Bool)
-> (DOMDocumentType -> DOMDocumentType -> Bool)
-> Eq DOMDocumentType
forall a. (a -> a -> Bool) -> (a -> a -> Bool) -> Eq a
/= :: DOMDocumentType -> DOMDocumentType -> Bool
$c/= :: DOMDocumentType -> DOMDocumentType -> Bool
== :: DOMDocumentType -> DOMDocumentType -> Bool
$c== :: DOMDocumentType -> DOMDocumentType -> Bool
Eq)

instance SP.ManagedPtrNewtype DOMDocumentType where
    toManagedPtr :: DOMDocumentType -> ManagedPtr DOMDocumentType
toManagedPtr (DOMDocumentType ManagedPtr DOMDocumentType
p) = ManagedPtr DOMDocumentType
p

foreign import ccall "webkit_dom_document_type_get_type"
    c_webkit_dom_document_type_get_type :: IO B.Types.GType

instance B.Types.TypedObject DOMDocumentType where
    glibType :: IO GType
glibType = IO GType
c_webkit_dom_document_type_get_type

instance B.Types.GObject DOMDocumentType

-- | Type class for types which can be safely cast to `DOMDocumentType`, for instance with `toDOMDocumentType`.
class (SP.GObject o, O.IsDescendantOf DOMDocumentType o) => IsDOMDocumentType o
instance (SP.GObject o, O.IsDescendantOf DOMDocumentType o) => IsDOMDocumentType o

instance O.HasParentTypes DOMDocumentType
type instance O.ParentTypes DOMDocumentType = '[WebKit2WebExtension.DOMNode.DOMNode, WebKit2WebExtension.DOMObject.DOMObject, GObject.Object.Object, WebKit2WebExtension.DOMEventTarget.DOMEventTarget]

-- | Cast to `DOMDocumentType`, for types for which this is known to be safe. For general casts, use `Data.GI.Base.ManagedPtr.castTo`.
toDOMDocumentType :: (MIO.MonadIO m, IsDOMDocumentType o) => o -> m DOMDocumentType
toDOMDocumentType :: forall (m :: * -> *) o.
(MonadIO m, IsDOMDocumentType o) =>
o -> m DOMDocumentType
toDOMDocumentType = IO DOMDocumentType -> m DOMDocumentType
forall (m :: * -> *) a. MonadIO m => IO a -> m a
MIO.liftIO (IO DOMDocumentType -> m DOMDocumentType)
-> (o -> IO DOMDocumentType) -> o -> m DOMDocumentType
forall b c a. (b -> c) -> (a -> b) -> a -> c
. (ManagedPtr DOMDocumentType -> DOMDocumentType)
-> o -> IO DOMDocumentType
forall o o'.
(HasCallStack, ManagedPtrNewtype o, TypedObject o,
 ManagedPtrNewtype o', TypedObject o') =>
(ManagedPtr o' -> o') -> o -> IO o'
B.ManagedPtr.unsafeCastTo ManagedPtr DOMDocumentType -> DOMDocumentType
DOMDocumentType

-- | Convert 'DOMDocumentType' to and from 'Data.GI.Base.GValue.GValue'. See 'Data.GI.Base.GValue.toGValue' and 'Data.GI.Base.GValue.fromGValue'.
instance B.GValue.IsGValue (Maybe DOMDocumentType) where
    gvalueGType_ :: IO GType
gvalueGType_ = IO GType
c_webkit_dom_document_type_get_type
    gvalueSet_ :: Ptr GValue -> Maybe DOMDocumentType -> IO ()
gvalueSet_ Ptr GValue
gv Maybe DOMDocumentType
P.Nothing = Ptr GValue -> Ptr DOMDocumentType -> IO ()
forall a. GObject a => Ptr GValue -> Ptr a -> IO ()
B.GValue.set_object Ptr GValue
gv (Ptr DOMDocumentType
forall a. Ptr a
FP.nullPtr :: FP.Ptr DOMDocumentType)
    gvalueSet_ Ptr GValue
gv (P.Just DOMDocumentType
obj) = DOMDocumentType -> (Ptr DOMDocumentType -> IO ()) -> IO ()
forall a c.
(HasCallStack, ManagedPtrNewtype a) =>
a -> (Ptr a -> IO c) -> IO c
B.ManagedPtr.withManagedPtr DOMDocumentType
obj (Ptr GValue -> Ptr DOMDocumentType -> IO ()
forall a. GObject a => Ptr GValue -> Ptr a -> IO ()
B.GValue.set_object Ptr GValue
gv)
    gvalueGet_ :: Ptr GValue -> IO (Maybe DOMDocumentType)
gvalueGet_ Ptr GValue
gv = do
        Ptr DOMDocumentType
ptr <- Ptr GValue -> IO (Ptr DOMDocumentType)
forall a. GObject a => Ptr GValue -> IO (Ptr a)
B.GValue.get_object Ptr GValue
gv :: IO (FP.Ptr DOMDocumentType)
        if Ptr DOMDocumentType
ptr Ptr DOMDocumentType -> Ptr DOMDocumentType -> Bool
forall a. Eq a => a -> a -> Bool
/= Ptr DOMDocumentType
forall a. Ptr a
FP.nullPtr
        then DOMDocumentType -> Maybe DOMDocumentType
forall a. a -> Maybe a
P.Just (DOMDocumentType -> Maybe DOMDocumentType)
-> IO DOMDocumentType -> IO (Maybe DOMDocumentType)
forall (f :: * -> *) a b. Functor f => (a -> b) -> f a -> f b
<$> (ManagedPtr DOMDocumentType -> DOMDocumentType)
-> Ptr DOMDocumentType -> IO DOMDocumentType
forall a b.
(HasCallStack, GObject a, GObject b) =>
(ManagedPtr a -> a) -> Ptr b -> IO a
B.ManagedPtr.newObject ManagedPtr DOMDocumentType -> DOMDocumentType
DOMDocumentType Ptr DOMDocumentType
ptr
        else Maybe DOMDocumentType -> IO (Maybe DOMDocumentType)
forall (m :: * -> *) a. Monad m => a -> m a
return Maybe DOMDocumentType
forall a. Maybe a
P.Nothing
        
    

#if defined(ENABLE_OVERLOADING)
type family ResolveDOMDocumentTypeMethod (t :: Symbol) (o :: *) :: * where
    ResolveDOMDocumentTypeMethod "addEventListener" o = WebKit2WebExtension.DOMEventTarget.DOMEventTargetAddEventListenerMethodInfo
    ResolveDOMDocumentTypeMethod "appendChild" o = WebKit2WebExtension.DOMNode.DOMNodeAppendChildMethodInfo
    ResolveDOMDocumentTypeMethod "bindProperty" o = GObject.Object.ObjectBindPropertyMethodInfo
    ResolveDOMDocumentTypeMethod "bindPropertyFull" o = GObject.Object.ObjectBindPropertyFullMethodInfo
    ResolveDOMDocumentTypeMethod "cloneNodeWithError" o = WebKit2WebExtension.DOMNode.DOMNodeCloneNodeWithErrorMethodInfo
    ResolveDOMDocumentTypeMethod "compareDocumentPosition" o = WebKit2WebExtension.DOMNode.DOMNodeCompareDocumentPositionMethodInfo
    ResolveDOMDocumentTypeMethod "contains" o = WebKit2WebExtension.DOMNode.DOMNodeContainsMethodInfo
    ResolveDOMDocumentTypeMethod "dispatchEvent" o = WebKit2WebExtension.DOMEventTarget.DOMEventTargetDispatchEventMethodInfo
    ResolveDOMDocumentTypeMethod "forceFloating" o = GObject.Object.ObjectForceFloatingMethodInfo
    ResolveDOMDocumentTypeMethod "freezeNotify" o = GObject.Object.ObjectFreezeNotifyMethodInfo
    ResolveDOMDocumentTypeMethod "getv" o = GObject.Object.ObjectGetvMethodInfo
    ResolveDOMDocumentTypeMethod "hasChildNodes" o = WebKit2WebExtension.DOMNode.DOMNodeHasChildNodesMethodInfo
    ResolveDOMDocumentTypeMethod "insertBefore" o = WebKit2WebExtension.DOMNode.DOMNodeInsertBeforeMethodInfo
    ResolveDOMDocumentTypeMethod "isDefaultNamespace" o = WebKit2WebExtension.DOMNode.DOMNodeIsDefaultNamespaceMethodInfo
    ResolveDOMDocumentTypeMethod "isEqualNode" o = WebKit2WebExtension.DOMNode.DOMNodeIsEqualNodeMethodInfo
    ResolveDOMDocumentTypeMethod "isFloating" o = GObject.Object.ObjectIsFloatingMethodInfo
    ResolveDOMDocumentTypeMethod "isSameNode" o = WebKit2WebExtension.DOMNode.DOMNodeIsSameNodeMethodInfo
    ResolveDOMDocumentTypeMethod "isSupported" o = WebKit2WebExtension.DOMNode.DOMNodeIsSupportedMethodInfo
    ResolveDOMDocumentTypeMethod "lookupNamespaceUri" o = WebKit2WebExtension.DOMNode.DOMNodeLookupNamespaceUriMethodInfo
    ResolveDOMDocumentTypeMethod "lookupPrefix" o = WebKit2WebExtension.DOMNode.DOMNodeLookupPrefixMethodInfo
    ResolveDOMDocumentTypeMethod "normalize" o = WebKit2WebExtension.DOMNode.DOMNodeNormalizeMethodInfo
    ResolveDOMDocumentTypeMethod "notify" o = GObject.Object.ObjectNotifyMethodInfo
    ResolveDOMDocumentTypeMethod "notifyByPspec" o = GObject.Object.ObjectNotifyByPspecMethodInfo
    ResolveDOMDocumentTypeMethod "ref" o = GObject.Object.ObjectRefMethodInfo
    ResolveDOMDocumentTypeMethod "refSink" o = GObject.Object.ObjectRefSinkMethodInfo
    ResolveDOMDocumentTypeMethod "removeChild" o = WebKit2WebExtension.DOMNode.DOMNodeRemoveChildMethodInfo
    ResolveDOMDocumentTypeMethod "removeEventListener" o = WebKit2WebExtension.DOMEventTarget.DOMEventTargetRemoveEventListenerMethodInfo
    ResolveDOMDocumentTypeMethod "replaceChild" o = WebKit2WebExtension.DOMNode.DOMNodeReplaceChildMethodInfo
    ResolveDOMDocumentTypeMethod "runDispose" o = GObject.Object.ObjectRunDisposeMethodInfo
    ResolveDOMDocumentTypeMethod "stealData" o = GObject.Object.ObjectStealDataMethodInfo
    ResolveDOMDocumentTypeMethod "stealQdata" o = GObject.Object.ObjectStealQdataMethodInfo
    ResolveDOMDocumentTypeMethod "thawNotify" o = GObject.Object.ObjectThawNotifyMethodInfo
    ResolveDOMDocumentTypeMethod "unref" o = GObject.Object.ObjectUnrefMethodInfo
    ResolveDOMDocumentTypeMethod "watchClosure" o = GObject.Object.ObjectWatchClosureMethodInfo
    ResolveDOMDocumentTypeMethod "getBaseUri" o = WebKit2WebExtension.DOMNode.DOMNodeGetBaseUriMethodInfo
    ResolveDOMDocumentTypeMethod "getChildNodes" o = WebKit2WebExtension.DOMNode.DOMNodeGetChildNodesMethodInfo
    ResolveDOMDocumentTypeMethod "getData" o = GObject.Object.ObjectGetDataMethodInfo
    ResolveDOMDocumentTypeMethod "getEntities" o = DOMDocumentTypeGetEntitiesMethodInfo
    ResolveDOMDocumentTypeMethod "getFirstChild" o = WebKit2WebExtension.DOMNode.DOMNodeGetFirstChildMethodInfo
    ResolveDOMDocumentTypeMethod "getInternalSubset" o = DOMDocumentTypeGetInternalSubsetMethodInfo
    ResolveDOMDocumentTypeMethod "getLastChild" o = WebKit2WebExtension.DOMNode.DOMNodeGetLastChildMethodInfo
    ResolveDOMDocumentTypeMethod "getLocalName" o = WebKit2WebExtension.DOMNode.DOMNodeGetLocalNameMethodInfo
    ResolveDOMDocumentTypeMethod "getName" o = DOMDocumentTypeGetNameMethodInfo
    ResolveDOMDocumentTypeMethod "getNamespaceUri" o = WebKit2WebExtension.DOMNode.DOMNodeGetNamespaceUriMethodInfo
    ResolveDOMDocumentTypeMethod "getNextSibling" o = WebKit2WebExtension.DOMNode.DOMNodeGetNextSiblingMethodInfo
    ResolveDOMDocumentTypeMethod "getNodeName" o = WebKit2WebExtension.DOMNode.DOMNodeGetNodeNameMethodInfo
    ResolveDOMDocumentTypeMethod "getNodeType" o = WebKit2WebExtension.DOMNode.DOMNodeGetNodeTypeMethodInfo
    ResolveDOMDocumentTypeMethod "getNodeValue" o = WebKit2WebExtension.DOMNode.DOMNodeGetNodeValueMethodInfo
    ResolveDOMDocumentTypeMethod "getNotations" o = DOMDocumentTypeGetNotationsMethodInfo
    ResolveDOMDocumentTypeMethod "getOwnerDocument" o = WebKit2WebExtension.DOMNode.DOMNodeGetOwnerDocumentMethodInfo
    ResolveDOMDocumentTypeMethod "getParentElement" o = WebKit2WebExtension.DOMNode.DOMNodeGetParentElementMethodInfo
    ResolveDOMDocumentTypeMethod "getParentNode" o = WebKit2WebExtension.DOMNode.DOMNodeGetParentNodeMethodInfo
    ResolveDOMDocumentTypeMethod "getPrefix" o = WebKit2WebExtension.DOMNode.DOMNodeGetPrefixMethodInfo
    ResolveDOMDocumentTypeMethod "getPreviousSibling" o = WebKit2WebExtension.DOMNode.DOMNodeGetPreviousSiblingMethodInfo
    ResolveDOMDocumentTypeMethod "getProperty" o = GObject.Object.ObjectGetPropertyMethodInfo
    ResolveDOMDocumentTypeMethod "getPublicId" o = DOMDocumentTypeGetPublicIdMethodInfo
    ResolveDOMDocumentTypeMethod "getQdata" o = GObject.Object.ObjectGetQdataMethodInfo
    ResolveDOMDocumentTypeMethod "getSystemId" o = DOMDocumentTypeGetSystemIdMethodInfo
    ResolveDOMDocumentTypeMethod "getTextContent" o = WebKit2WebExtension.DOMNode.DOMNodeGetTextContentMethodInfo
    ResolveDOMDocumentTypeMethod "setData" o = GObject.Object.ObjectSetDataMethodInfo
    ResolveDOMDocumentTypeMethod "setDataFull" o = GObject.Object.ObjectSetDataFullMethodInfo
    ResolveDOMDocumentTypeMethod "setNodeValue" o = WebKit2WebExtension.DOMNode.DOMNodeSetNodeValueMethodInfo
    ResolveDOMDocumentTypeMethod "setPrefix" o = WebKit2WebExtension.DOMNode.DOMNodeSetPrefixMethodInfo
    ResolveDOMDocumentTypeMethod "setProperty" o = GObject.Object.ObjectSetPropertyMethodInfo
    ResolveDOMDocumentTypeMethod "setTextContent" o = WebKit2WebExtension.DOMNode.DOMNodeSetTextContentMethodInfo
    ResolveDOMDocumentTypeMethod l o = O.MethodResolutionFailed l o

instance (info ~ ResolveDOMDocumentTypeMethod t DOMDocumentType, O.OverloadedMethod info DOMDocumentType p) => OL.IsLabel t (DOMDocumentType -> p) where
#if MIN_VERSION_base(4,10,0)
    fromLabel = O.overloadedMethod @info
#else
    fromLabel _ = O.overloadedMethod @info
#endif

#if MIN_VERSION_base(4,13,0)
instance (info ~ ResolveDOMDocumentTypeMethod t DOMDocumentType, O.OverloadedMethod info DOMDocumentType p, R.HasField t DOMDocumentType p) => R.HasField t DOMDocumentType p where
    getField = O.overloadedMethod @info

#endif

instance (info ~ ResolveDOMDocumentTypeMethod t DOMDocumentType, O.OverloadedMethodInfo info DOMDocumentType) => OL.IsLabel t (O.MethodProxy info DOMDocumentType) where
#if MIN_VERSION_base(4,10,0)
    fromLabel = O.MethodProxy
#else
    fromLabel _ = O.MethodProxy
#endif

#endif

-- VVV Prop "entities"
   -- Type: TInterface (Name {namespace = "WebKit2WebExtension", name = "DOMNamedNodeMap"})
   -- Flags: [PropertyReadable]
   -- Nullable: (Nothing,Nothing)

-- | Get the value of the “@entities@” property.
-- When <https://github.com/haskell-gi/haskell-gi/wiki/Overloading overloading> is enabled, this is equivalent to
-- 
-- @
-- 'Data.GI.Base.Attributes.get' dOMDocumentType #entities
-- @
getDOMDocumentTypeEntities :: (MonadIO m, IsDOMDocumentType o) => o -> m (Maybe WebKit2WebExtension.DOMNamedNodeMap.DOMNamedNodeMap)
getDOMDocumentTypeEntities :: forall (m :: * -> *) o.
(MonadIO m, IsDOMDocumentType o) =>
o -> m (Maybe DOMNamedNodeMap)
getDOMDocumentTypeEntities o
obj = IO (Maybe DOMNamedNodeMap) -> m (Maybe DOMNamedNodeMap)
forall (m :: * -> *) a. MonadIO m => IO a -> m a
MIO.liftIO (IO (Maybe DOMNamedNodeMap) -> m (Maybe DOMNamedNodeMap))
-> IO (Maybe DOMNamedNodeMap) -> m (Maybe DOMNamedNodeMap)
forall a b. (a -> b) -> a -> b
$ o
-> String
-> (ManagedPtr DOMNamedNodeMap -> DOMNamedNodeMap)
-> IO (Maybe DOMNamedNodeMap)
forall a b.
(GObject a, GObject b) =>
a -> String -> (ManagedPtr b -> b) -> IO (Maybe b)
B.Properties.getObjectPropertyObject o
obj String
"entities" ManagedPtr DOMNamedNodeMap -> DOMNamedNodeMap
WebKit2WebExtension.DOMNamedNodeMap.DOMNamedNodeMap

#if defined(ENABLE_OVERLOADING)
data DOMDocumentTypeEntitiesPropertyInfo
instance AttrInfo DOMDocumentTypeEntitiesPropertyInfo where
    type AttrAllowedOps DOMDocumentTypeEntitiesPropertyInfo = '[ 'AttrGet, 'AttrClear]
    type AttrBaseTypeConstraint DOMDocumentTypeEntitiesPropertyInfo = IsDOMDocumentType
    type AttrSetTypeConstraint DOMDocumentTypeEntitiesPropertyInfo = (~) ()
    type AttrTransferTypeConstraint DOMDocumentTypeEntitiesPropertyInfo = (~) ()
    type AttrTransferType DOMDocumentTypeEntitiesPropertyInfo = ()
    type AttrGetType DOMDocumentTypeEntitiesPropertyInfo = (Maybe WebKit2WebExtension.DOMNamedNodeMap.DOMNamedNodeMap)
    type AttrLabel DOMDocumentTypeEntitiesPropertyInfo = "entities"
    type AttrOrigin DOMDocumentTypeEntitiesPropertyInfo = DOMDocumentType
    attrGet = getDOMDocumentTypeEntities
    attrSet = undefined
    attrTransfer _ = undefined
    attrConstruct = undefined
    attrClear = undefined
    dbgAttrInfo = P.Just (O.ResolvedSymbolInfo {
        O.resolvedSymbolName = "GI.WebKit2WebExtension.Objects.DOMDocumentType.entities"
        , O.resolvedSymbolURL = "https://hackage.haskell.org/package/gi-webkit2webextension-4.0.27/docs/GI-WebKit2WebExtension-Objects-DOMDocumentType.html#g:attr:entities"
        })
#endif

-- VVV Prop "internal-subset"
   -- Type: TBasicType TUTF8
   -- Flags: [PropertyReadable]
   -- Nullable: (Nothing,Nothing)

-- | Get the value of the “@internal-subset@” property.
-- When <https://github.com/haskell-gi/haskell-gi/wiki/Overloading overloading> is enabled, this is equivalent to
-- 
-- @
-- 'Data.GI.Base.Attributes.get' dOMDocumentType #internalSubset
-- @
getDOMDocumentTypeInternalSubset :: (MonadIO m, IsDOMDocumentType o) => o -> m (Maybe T.Text)
getDOMDocumentTypeInternalSubset :: forall (m :: * -> *) o.
(MonadIO m, IsDOMDocumentType o) =>
o -> m (Maybe Text)
getDOMDocumentTypeInternalSubset o
obj = IO (Maybe Text) -> m (Maybe Text)
forall (m :: * -> *) a. MonadIO m => IO a -> m a
MIO.liftIO (IO (Maybe Text) -> m (Maybe Text))
-> IO (Maybe Text) -> m (Maybe Text)
forall a b. (a -> b) -> a -> b
$ o -> String -> IO (Maybe Text)
forall a. GObject a => a -> String -> IO (Maybe Text)
B.Properties.getObjectPropertyString o
obj String
"internal-subset"

#if defined(ENABLE_OVERLOADING)
data DOMDocumentTypeInternalSubsetPropertyInfo
instance AttrInfo DOMDocumentTypeInternalSubsetPropertyInfo where
    type AttrAllowedOps DOMDocumentTypeInternalSubsetPropertyInfo = '[ 'AttrGet, 'AttrClear]
    type AttrBaseTypeConstraint DOMDocumentTypeInternalSubsetPropertyInfo = IsDOMDocumentType
    type AttrSetTypeConstraint DOMDocumentTypeInternalSubsetPropertyInfo = (~) ()
    type AttrTransferTypeConstraint DOMDocumentTypeInternalSubsetPropertyInfo = (~) ()
    type AttrTransferType DOMDocumentTypeInternalSubsetPropertyInfo = ()
    type AttrGetType DOMDocumentTypeInternalSubsetPropertyInfo = (Maybe T.Text)
    type AttrLabel DOMDocumentTypeInternalSubsetPropertyInfo = "internal-subset"
    type AttrOrigin DOMDocumentTypeInternalSubsetPropertyInfo = DOMDocumentType
    attrGet = getDOMDocumentTypeInternalSubset
    attrSet = undefined
    attrTransfer _ = undefined
    attrConstruct = undefined
    attrClear = undefined
    dbgAttrInfo = P.Just (O.ResolvedSymbolInfo {
        O.resolvedSymbolName = "GI.WebKit2WebExtension.Objects.DOMDocumentType.internalSubset"
        , O.resolvedSymbolURL = "https://hackage.haskell.org/package/gi-webkit2webextension-4.0.27/docs/GI-WebKit2WebExtension-Objects-DOMDocumentType.html#g:attr:internalSubset"
        })
#endif

-- VVV Prop "name"
   -- Type: TBasicType TUTF8
   -- Flags: [PropertyReadable]
   -- Nullable: (Nothing,Nothing)

-- | Get the value of the “@name@” property.
-- When <https://github.com/haskell-gi/haskell-gi/wiki/Overloading overloading> is enabled, this is equivalent to
-- 
-- @
-- 'Data.GI.Base.Attributes.get' dOMDocumentType #name
-- @
getDOMDocumentTypeName :: (MonadIO m, IsDOMDocumentType o) => o -> m (Maybe T.Text)
getDOMDocumentTypeName :: forall (m :: * -> *) o.
(MonadIO m, IsDOMDocumentType o) =>
o -> m (Maybe Text)
getDOMDocumentTypeName o
obj = IO (Maybe Text) -> m (Maybe Text)
forall (m :: * -> *) a. MonadIO m => IO a -> m a
MIO.liftIO (IO (Maybe Text) -> m (Maybe Text))
-> IO (Maybe Text) -> m (Maybe Text)
forall a b. (a -> b) -> a -> b
$ o -> String -> IO (Maybe Text)
forall a. GObject a => a -> String -> IO (Maybe Text)
B.Properties.getObjectPropertyString o
obj String
"name"

#if defined(ENABLE_OVERLOADING)
data DOMDocumentTypeNamePropertyInfo
instance AttrInfo DOMDocumentTypeNamePropertyInfo where
    type AttrAllowedOps DOMDocumentTypeNamePropertyInfo = '[ 'AttrGet, 'AttrClear]
    type AttrBaseTypeConstraint DOMDocumentTypeNamePropertyInfo = IsDOMDocumentType
    type AttrSetTypeConstraint DOMDocumentTypeNamePropertyInfo = (~) ()
    type AttrTransferTypeConstraint DOMDocumentTypeNamePropertyInfo = (~) ()
    type AttrTransferType DOMDocumentTypeNamePropertyInfo = ()
    type AttrGetType DOMDocumentTypeNamePropertyInfo = (Maybe T.Text)
    type AttrLabel DOMDocumentTypeNamePropertyInfo = "name"
    type AttrOrigin DOMDocumentTypeNamePropertyInfo = DOMDocumentType
    attrGet = getDOMDocumentTypeName
    attrSet = undefined
    attrTransfer _ = undefined
    attrConstruct = undefined
    attrClear = undefined
    dbgAttrInfo = P.Just (O.ResolvedSymbolInfo {
        O.resolvedSymbolName = "GI.WebKit2WebExtension.Objects.DOMDocumentType.name"
        , O.resolvedSymbolURL = "https://hackage.haskell.org/package/gi-webkit2webextension-4.0.27/docs/GI-WebKit2WebExtension-Objects-DOMDocumentType.html#g:attr:name"
        })
#endif

-- VVV Prop "notations"
   -- Type: TInterface (Name {namespace = "WebKit2WebExtension", name = "DOMNamedNodeMap"})
   -- Flags: [PropertyReadable]
   -- Nullable: (Nothing,Nothing)

-- | Get the value of the “@notations@” property.
-- When <https://github.com/haskell-gi/haskell-gi/wiki/Overloading overloading> is enabled, this is equivalent to
-- 
-- @
-- 'Data.GI.Base.Attributes.get' dOMDocumentType #notations
-- @
getDOMDocumentTypeNotations :: (MonadIO m, IsDOMDocumentType o) => o -> m (Maybe WebKit2WebExtension.DOMNamedNodeMap.DOMNamedNodeMap)
getDOMDocumentTypeNotations :: forall (m :: * -> *) o.
(MonadIO m, IsDOMDocumentType o) =>
o -> m (Maybe DOMNamedNodeMap)
getDOMDocumentTypeNotations o
obj = IO (Maybe DOMNamedNodeMap) -> m (Maybe DOMNamedNodeMap)
forall (m :: * -> *) a. MonadIO m => IO a -> m a
MIO.liftIO (IO (Maybe DOMNamedNodeMap) -> m (Maybe DOMNamedNodeMap))
-> IO (Maybe DOMNamedNodeMap) -> m (Maybe DOMNamedNodeMap)
forall a b. (a -> b) -> a -> b
$ o
-> String
-> (ManagedPtr DOMNamedNodeMap -> DOMNamedNodeMap)
-> IO (Maybe DOMNamedNodeMap)
forall a b.
(GObject a, GObject b) =>
a -> String -> (ManagedPtr b -> b) -> IO (Maybe b)
B.Properties.getObjectPropertyObject o
obj String
"notations" ManagedPtr DOMNamedNodeMap -> DOMNamedNodeMap
WebKit2WebExtension.DOMNamedNodeMap.DOMNamedNodeMap

#if defined(ENABLE_OVERLOADING)
data DOMDocumentTypeNotationsPropertyInfo
instance AttrInfo DOMDocumentTypeNotationsPropertyInfo where
    type AttrAllowedOps DOMDocumentTypeNotationsPropertyInfo = '[ 'AttrGet, 'AttrClear]
    type AttrBaseTypeConstraint DOMDocumentTypeNotationsPropertyInfo = IsDOMDocumentType
    type AttrSetTypeConstraint DOMDocumentTypeNotationsPropertyInfo = (~) ()
    type AttrTransferTypeConstraint DOMDocumentTypeNotationsPropertyInfo = (~) ()
    type AttrTransferType DOMDocumentTypeNotationsPropertyInfo = ()
    type AttrGetType DOMDocumentTypeNotationsPropertyInfo = (Maybe WebKit2WebExtension.DOMNamedNodeMap.DOMNamedNodeMap)
    type AttrLabel DOMDocumentTypeNotationsPropertyInfo = "notations"
    type AttrOrigin DOMDocumentTypeNotationsPropertyInfo = DOMDocumentType
    attrGet = getDOMDocumentTypeNotations
    attrSet = undefined
    attrTransfer _ = undefined
    attrConstruct = undefined
    attrClear = undefined
    dbgAttrInfo = P.Just (O.ResolvedSymbolInfo {
        O.resolvedSymbolName = "GI.WebKit2WebExtension.Objects.DOMDocumentType.notations"
        , O.resolvedSymbolURL = "https://hackage.haskell.org/package/gi-webkit2webextension-4.0.27/docs/GI-WebKit2WebExtension-Objects-DOMDocumentType.html#g:attr:notations"
        })
#endif

-- VVV Prop "public-id"
   -- Type: TBasicType TUTF8
   -- Flags: [PropertyReadable]
   -- Nullable: (Nothing,Nothing)

-- | Get the value of the “@public-id@” property.
-- When <https://github.com/haskell-gi/haskell-gi/wiki/Overloading overloading> is enabled, this is equivalent to
-- 
-- @
-- 'Data.GI.Base.Attributes.get' dOMDocumentType #publicId
-- @
getDOMDocumentTypePublicId :: (MonadIO m, IsDOMDocumentType o) => o -> m (Maybe T.Text)
getDOMDocumentTypePublicId :: forall (m :: * -> *) o.
(MonadIO m, IsDOMDocumentType o) =>
o -> m (Maybe Text)
getDOMDocumentTypePublicId o
obj = IO (Maybe Text) -> m (Maybe Text)
forall (m :: * -> *) a. MonadIO m => IO a -> m a
MIO.liftIO (IO (Maybe Text) -> m (Maybe Text))
-> IO (Maybe Text) -> m (Maybe Text)
forall a b. (a -> b) -> a -> b
$ o -> String -> IO (Maybe Text)
forall a. GObject a => a -> String -> IO (Maybe Text)
B.Properties.getObjectPropertyString o
obj String
"public-id"

#if defined(ENABLE_OVERLOADING)
data DOMDocumentTypePublicIdPropertyInfo
instance AttrInfo DOMDocumentTypePublicIdPropertyInfo where
    type AttrAllowedOps DOMDocumentTypePublicIdPropertyInfo = '[ 'AttrGet, 'AttrClear]
    type AttrBaseTypeConstraint DOMDocumentTypePublicIdPropertyInfo = IsDOMDocumentType
    type AttrSetTypeConstraint DOMDocumentTypePublicIdPropertyInfo = (~) ()
    type AttrTransferTypeConstraint DOMDocumentTypePublicIdPropertyInfo = (~) ()
    type AttrTransferType DOMDocumentTypePublicIdPropertyInfo = ()
    type AttrGetType DOMDocumentTypePublicIdPropertyInfo = (Maybe T.Text)
    type AttrLabel DOMDocumentTypePublicIdPropertyInfo = "public-id"
    type AttrOrigin DOMDocumentTypePublicIdPropertyInfo = DOMDocumentType
    attrGet = getDOMDocumentTypePublicId
    attrSet = undefined
    attrTransfer _ = undefined
    attrConstruct = undefined
    attrClear = undefined
    dbgAttrInfo = P.Just (O.ResolvedSymbolInfo {
        O.resolvedSymbolName = "GI.WebKit2WebExtension.Objects.DOMDocumentType.publicId"
        , O.resolvedSymbolURL = "https://hackage.haskell.org/package/gi-webkit2webextension-4.0.27/docs/GI-WebKit2WebExtension-Objects-DOMDocumentType.html#g:attr:publicId"
        })
#endif

-- VVV Prop "system-id"
   -- Type: TBasicType TUTF8
   -- Flags: [PropertyReadable]
   -- Nullable: (Nothing,Nothing)

-- | Get the value of the “@system-id@” property.
-- When <https://github.com/haskell-gi/haskell-gi/wiki/Overloading overloading> is enabled, this is equivalent to
-- 
-- @
-- 'Data.GI.Base.Attributes.get' dOMDocumentType #systemId
-- @
getDOMDocumentTypeSystemId :: (MonadIO m, IsDOMDocumentType o) => o -> m (Maybe T.Text)
getDOMDocumentTypeSystemId :: forall (m :: * -> *) o.
(MonadIO m, IsDOMDocumentType o) =>
o -> m (Maybe Text)
getDOMDocumentTypeSystemId o
obj = IO (Maybe Text) -> m (Maybe Text)
forall (m :: * -> *) a. MonadIO m => IO a -> m a
MIO.liftIO (IO (Maybe Text) -> m (Maybe Text))
-> IO (Maybe Text) -> m (Maybe Text)
forall a b. (a -> b) -> a -> b
$ o -> String -> IO (Maybe Text)
forall a. GObject a => a -> String -> IO (Maybe Text)
B.Properties.getObjectPropertyString o
obj String
"system-id"

#if defined(ENABLE_OVERLOADING)
data DOMDocumentTypeSystemIdPropertyInfo
instance AttrInfo DOMDocumentTypeSystemIdPropertyInfo where
    type AttrAllowedOps DOMDocumentTypeSystemIdPropertyInfo = '[ 'AttrGet, 'AttrClear]
    type AttrBaseTypeConstraint DOMDocumentTypeSystemIdPropertyInfo = IsDOMDocumentType
    type AttrSetTypeConstraint DOMDocumentTypeSystemIdPropertyInfo = (~) ()
    type AttrTransferTypeConstraint DOMDocumentTypeSystemIdPropertyInfo = (~) ()
    type AttrTransferType DOMDocumentTypeSystemIdPropertyInfo = ()
    type AttrGetType DOMDocumentTypeSystemIdPropertyInfo = (Maybe T.Text)
    type AttrLabel DOMDocumentTypeSystemIdPropertyInfo = "system-id"
    type AttrOrigin DOMDocumentTypeSystemIdPropertyInfo = DOMDocumentType
    attrGet = getDOMDocumentTypeSystemId
    attrSet = undefined
    attrTransfer _ = undefined
    attrConstruct = undefined
    attrClear = undefined
    dbgAttrInfo = P.Just (O.ResolvedSymbolInfo {
        O.resolvedSymbolName = "GI.WebKit2WebExtension.Objects.DOMDocumentType.systemId"
        , O.resolvedSymbolURL = "https://hackage.haskell.org/package/gi-webkit2webextension-4.0.27/docs/GI-WebKit2WebExtension-Objects-DOMDocumentType.html#g:attr:systemId"
        })
#endif

#if defined(ENABLE_OVERLOADING)
instance O.HasAttributeList DOMDocumentType
type instance O.AttributeList DOMDocumentType = DOMDocumentTypeAttributeList
type DOMDocumentTypeAttributeList = ('[ '("baseUri", WebKit2WebExtension.DOMNode.DOMNodeBaseUriPropertyInfo), '("childNodes", WebKit2WebExtension.DOMNode.DOMNodeChildNodesPropertyInfo), '("coreObject", WebKit2WebExtension.DOMObject.DOMObjectCoreObjectPropertyInfo), '("entities", DOMDocumentTypeEntitiesPropertyInfo), '("firstChild", WebKit2WebExtension.DOMNode.DOMNodeFirstChildPropertyInfo), '("internalSubset", DOMDocumentTypeInternalSubsetPropertyInfo), '("lastChild", WebKit2WebExtension.DOMNode.DOMNodeLastChildPropertyInfo), '("name", DOMDocumentTypeNamePropertyInfo), '("nextSibling", WebKit2WebExtension.DOMNode.DOMNodeNextSiblingPropertyInfo), '("nodeName", WebKit2WebExtension.DOMNode.DOMNodeNodeNamePropertyInfo), '("nodeType", WebKit2WebExtension.DOMNode.DOMNodeNodeTypePropertyInfo), '("nodeValue", WebKit2WebExtension.DOMNode.DOMNodeNodeValuePropertyInfo), '("notations", DOMDocumentTypeNotationsPropertyInfo), '("ownerDocument", WebKit2WebExtension.DOMNode.DOMNodeOwnerDocumentPropertyInfo), '("parentElement", WebKit2WebExtension.DOMNode.DOMNodeParentElementPropertyInfo), '("parentNode", WebKit2WebExtension.DOMNode.DOMNodeParentNodePropertyInfo), '("previousSibling", WebKit2WebExtension.DOMNode.DOMNodePreviousSiblingPropertyInfo), '("publicId", DOMDocumentTypePublicIdPropertyInfo), '("systemId", DOMDocumentTypeSystemIdPropertyInfo), '("textContent", WebKit2WebExtension.DOMNode.DOMNodeTextContentPropertyInfo)] :: [(Symbol, *)])
#endif

#if defined(ENABLE_OVERLOADING)
dOMDocumentTypeEntities :: AttrLabelProxy "entities"
dOMDocumentTypeEntities = AttrLabelProxy

dOMDocumentTypeInternalSubset :: AttrLabelProxy "internalSubset"
dOMDocumentTypeInternalSubset = AttrLabelProxy

dOMDocumentTypeName :: AttrLabelProxy "name"
dOMDocumentTypeName = AttrLabelProxy

dOMDocumentTypeNotations :: AttrLabelProxy "notations"
dOMDocumentTypeNotations = AttrLabelProxy

dOMDocumentTypePublicId :: AttrLabelProxy "publicId"
dOMDocumentTypePublicId = AttrLabelProxy

dOMDocumentTypeSystemId :: AttrLabelProxy "systemId"
dOMDocumentTypeSystemId = AttrLabelProxy

#endif

#if defined(ENABLE_OVERLOADING)
type instance O.SignalList DOMDocumentType = DOMDocumentTypeSignalList
type DOMDocumentTypeSignalList = ('[ '("notify", GObject.Object.ObjectNotifySignalInfo)] :: [(Symbol, *)])

#endif

-- method DOMDocumentType::get_entities
-- method type : OrdinaryMethod
-- Args: [ Arg
--           { argCName = "self"
--           , argType =
--               TInterface
--                 Name
--                   { namespace = "WebKit2WebExtension" , name = "DOMDocumentType" }
--           , direction = DirectionIn
--           , mayBeNull = False
--           , argDoc =
--               Documentation
--                 { rawDocText = Just "A #WebKitDOMDocumentType"
--                 , sinceVersion = Nothing
--                 }
--           , argScope = ScopeTypeInvalid
--           , argClosure = -1
--           , argDestroy = -1
--           , argCallerAllocates = False
--           , transfer = TransferNothing
--           }
--       ]
-- Lengths: []
-- returnType: Just
--               (TInterface
--                  Name
--                    { namespace = "WebKit2WebExtension" , name = "DOMNamedNodeMap" })
-- throws : False
-- Skip return : False

foreign import ccall "webkit_dom_document_type_get_entities" webkit_dom_document_type_get_entities :: 
    Ptr DOMDocumentType ->                  -- self : TInterface (Name {namespace = "WebKit2WebExtension", name = "DOMDocumentType"})
    IO (Ptr WebKit2WebExtension.DOMNamedNodeMap.DOMNamedNodeMap)

{-# DEPRECATED dOMDocumentTypeGetEntities ["(Since version 2.22)","Use JavaScriptCore API instead"] #-}
-- | /No description available in the introspection data./
dOMDocumentTypeGetEntities ::
    (B.CallStack.HasCallStack, MonadIO m, IsDOMDocumentType a) =>
    a
    -- ^ /@self@/: A t'GI.WebKit2WebExtension.Objects.DOMDocumentType.DOMDocumentType'
    -> m WebKit2WebExtension.DOMNamedNodeMap.DOMNamedNodeMap
    -- ^ __Returns:__ A t'GI.WebKit2WebExtension.Objects.DOMNamedNodeMap.DOMNamedNodeMap'
dOMDocumentTypeGetEntities :: forall (m :: * -> *) a.
(HasCallStack, MonadIO m, IsDOMDocumentType a) =>
a -> m DOMNamedNodeMap
dOMDocumentTypeGetEntities a
self = IO DOMNamedNodeMap -> m DOMNamedNodeMap
forall (m :: * -> *) a. MonadIO m => IO a -> m a
liftIO (IO DOMNamedNodeMap -> m DOMNamedNodeMap)
-> IO DOMNamedNodeMap -> m DOMNamedNodeMap
forall a b. (a -> b) -> a -> b
$ do
    Ptr DOMDocumentType
self' <- a -> IO (Ptr DOMDocumentType)
forall a b. (HasCallStack, ManagedPtrNewtype a) => a -> IO (Ptr b)
unsafeManagedPtrCastPtr a
self
    Ptr DOMNamedNodeMap
result <- Ptr DOMDocumentType -> IO (Ptr DOMNamedNodeMap)
webkit_dom_document_type_get_entities Ptr DOMDocumentType
self'
    Text -> Ptr DOMNamedNodeMap -> IO ()
forall a. HasCallStack => Text -> Ptr a -> IO ()
checkUnexpectedReturnNULL Text
"dOMDocumentTypeGetEntities" Ptr DOMNamedNodeMap
result
    DOMNamedNodeMap
result' <- ((ManagedPtr DOMNamedNodeMap -> DOMNamedNodeMap)
-> Ptr DOMNamedNodeMap -> IO DOMNamedNodeMap
forall a b.
(HasCallStack, GObject a, GObject b) =>
(ManagedPtr a -> a) -> Ptr b -> IO a
wrapObject ManagedPtr DOMNamedNodeMap -> DOMNamedNodeMap
WebKit2WebExtension.DOMNamedNodeMap.DOMNamedNodeMap) Ptr DOMNamedNodeMap
result
    a -> IO ()
forall a. ManagedPtrNewtype a => a -> IO ()
touchManagedPtr a
self
    DOMNamedNodeMap -> IO DOMNamedNodeMap
forall (m :: * -> *) a. Monad m => a -> m a
return DOMNamedNodeMap
result'

#if defined(ENABLE_OVERLOADING)
data DOMDocumentTypeGetEntitiesMethodInfo
instance (signature ~ (m WebKit2WebExtension.DOMNamedNodeMap.DOMNamedNodeMap), MonadIO m, IsDOMDocumentType a) => O.OverloadedMethod DOMDocumentTypeGetEntitiesMethodInfo a signature where
    overloadedMethod = dOMDocumentTypeGetEntities

instance O.OverloadedMethodInfo DOMDocumentTypeGetEntitiesMethodInfo a where
    overloadedMethodInfo = P.Just (O.ResolvedSymbolInfo {
        O.resolvedSymbolName = "GI.WebKit2WebExtension.Objects.DOMDocumentType.dOMDocumentTypeGetEntities",
        O.resolvedSymbolURL = "https://hackage.haskell.org/package/gi-webkit2webextension-4.0.27/docs/GI-WebKit2WebExtension-Objects-DOMDocumentType.html#v:dOMDocumentTypeGetEntities"
        })


#endif

-- method DOMDocumentType::get_internal_subset
-- method type : OrdinaryMethod
-- Args: [ Arg
--           { argCName = "self"
--           , argType =
--               TInterface
--                 Name
--                   { namespace = "WebKit2WebExtension" , name = "DOMDocumentType" }
--           , direction = DirectionIn
--           , mayBeNull = False
--           , argDoc =
--               Documentation
--                 { rawDocText = Just "A #WebKitDOMDocumentType"
--                 , sinceVersion = Nothing
--                 }
--           , argScope = ScopeTypeInvalid
--           , argClosure = -1
--           , argDestroy = -1
--           , argCallerAllocates = False
--           , transfer = TransferNothing
--           }
--       ]
-- Lengths: []
-- returnType: Just (TBasicType TUTF8)
-- throws : False
-- Skip return : False

foreign import ccall "webkit_dom_document_type_get_internal_subset" webkit_dom_document_type_get_internal_subset :: 
    Ptr DOMDocumentType ->                  -- self : TInterface (Name {namespace = "WebKit2WebExtension", name = "DOMDocumentType"})
    IO CString

{-# DEPRECATED dOMDocumentTypeGetInternalSubset ["(Since version 2.22)","Use JavaScriptCore API instead"] #-}
-- | /No description available in the introspection data./
dOMDocumentTypeGetInternalSubset ::
    (B.CallStack.HasCallStack, MonadIO m, IsDOMDocumentType a) =>
    a
    -- ^ /@self@/: A t'GI.WebKit2WebExtension.Objects.DOMDocumentType.DOMDocumentType'
    -> m T.Text
    -- ^ __Returns:__ A @/gchar/@
dOMDocumentTypeGetInternalSubset :: forall (m :: * -> *) a.
(HasCallStack, MonadIO m, IsDOMDocumentType a) =>
a -> m Text
dOMDocumentTypeGetInternalSubset a
self = IO Text -> m Text
forall (m :: * -> *) a. MonadIO m => IO a -> m a
liftIO (IO Text -> m Text) -> IO Text -> m Text
forall a b. (a -> b) -> a -> b
$ do
    Ptr DOMDocumentType
self' <- a -> IO (Ptr DOMDocumentType)
forall a b. (HasCallStack, ManagedPtrNewtype a) => a -> IO (Ptr b)
unsafeManagedPtrCastPtr a
self
    CString
result <- Ptr DOMDocumentType -> IO CString
webkit_dom_document_type_get_internal_subset Ptr DOMDocumentType
self'
    Text -> CString -> IO ()
forall a. HasCallStack => Text -> Ptr a -> IO ()
checkUnexpectedReturnNULL Text
"dOMDocumentTypeGetInternalSubset" CString
result
    Text
result' <- HasCallStack => CString -> IO Text
CString -> IO Text
cstringToText CString
result
    CString -> IO ()
forall a. Ptr a -> IO ()
freeMem CString
result
    a -> IO ()
forall a. ManagedPtrNewtype a => a -> IO ()
touchManagedPtr a
self
    Text -> IO Text
forall (m :: * -> *) a. Monad m => a -> m a
return Text
result'

#if defined(ENABLE_OVERLOADING)
data DOMDocumentTypeGetInternalSubsetMethodInfo
instance (signature ~ (m T.Text), MonadIO m, IsDOMDocumentType a) => O.OverloadedMethod DOMDocumentTypeGetInternalSubsetMethodInfo a signature where
    overloadedMethod = dOMDocumentTypeGetInternalSubset

instance O.OverloadedMethodInfo DOMDocumentTypeGetInternalSubsetMethodInfo a where
    overloadedMethodInfo = P.Just (O.ResolvedSymbolInfo {
        O.resolvedSymbolName = "GI.WebKit2WebExtension.Objects.DOMDocumentType.dOMDocumentTypeGetInternalSubset",
        O.resolvedSymbolURL = "https://hackage.haskell.org/package/gi-webkit2webextension-4.0.27/docs/GI-WebKit2WebExtension-Objects-DOMDocumentType.html#v:dOMDocumentTypeGetInternalSubset"
        })


#endif

-- method DOMDocumentType::get_name
-- method type : OrdinaryMethod
-- Args: [ Arg
--           { argCName = "self"
--           , argType =
--               TInterface
--                 Name
--                   { namespace = "WebKit2WebExtension" , name = "DOMDocumentType" }
--           , direction = DirectionIn
--           , mayBeNull = False
--           , argDoc =
--               Documentation
--                 { rawDocText = Just "A #WebKitDOMDocumentType"
--                 , sinceVersion = Nothing
--                 }
--           , argScope = ScopeTypeInvalid
--           , argClosure = -1
--           , argDestroy = -1
--           , argCallerAllocates = False
--           , transfer = TransferNothing
--           }
--       ]
-- Lengths: []
-- returnType: Just (TBasicType TUTF8)
-- throws : False
-- Skip return : False

foreign import ccall "webkit_dom_document_type_get_name" webkit_dom_document_type_get_name :: 
    Ptr DOMDocumentType ->                  -- self : TInterface (Name {namespace = "WebKit2WebExtension", name = "DOMDocumentType"})
    IO CString

{-# DEPRECATED dOMDocumentTypeGetName ["(Since version 2.22)","Use JavaScriptCore API instead"] #-}
-- | /No description available in the introspection data./
dOMDocumentTypeGetName ::
    (B.CallStack.HasCallStack, MonadIO m, IsDOMDocumentType a) =>
    a
    -- ^ /@self@/: A t'GI.WebKit2WebExtension.Objects.DOMDocumentType.DOMDocumentType'
    -> m T.Text
    -- ^ __Returns:__ A @/gchar/@
dOMDocumentTypeGetName :: forall (m :: * -> *) a.
(HasCallStack, MonadIO m, IsDOMDocumentType a) =>
a -> m Text
dOMDocumentTypeGetName a
self = IO Text -> m Text
forall (m :: * -> *) a. MonadIO m => IO a -> m a
liftIO (IO Text -> m Text) -> IO Text -> m Text
forall a b. (a -> b) -> a -> b
$ do
    Ptr DOMDocumentType
self' <- a -> IO (Ptr DOMDocumentType)
forall a b. (HasCallStack, ManagedPtrNewtype a) => a -> IO (Ptr b)
unsafeManagedPtrCastPtr a
self
    CString
result <- Ptr DOMDocumentType -> IO CString
webkit_dom_document_type_get_name Ptr DOMDocumentType
self'
    Text -> CString -> IO ()
forall a. HasCallStack => Text -> Ptr a -> IO ()
checkUnexpectedReturnNULL Text
"dOMDocumentTypeGetName" CString
result
    Text
result' <- HasCallStack => CString -> IO Text
CString -> IO Text
cstringToText CString
result
    CString -> IO ()
forall a. Ptr a -> IO ()
freeMem CString
result
    a -> IO ()
forall a. ManagedPtrNewtype a => a -> IO ()
touchManagedPtr a
self
    Text -> IO Text
forall (m :: * -> *) a. Monad m => a -> m a
return Text
result'

#if defined(ENABLE_OVERLOADING)
data DOMDocumentTypeGetNameMethodInfo
instance (signature ~ (m T.Text), MonadIO m, IsDOMDocumentType a) => O.OverloadedMethod DOMDocumentTypeGetNameMethodInfo a signature where
    overloadedMethod = dOMDocumentTypeGetName

instance O.OverloadedMethodInfo DOMDocumentTypeGetNameMethodInfo a where
    overloadedMethodInfo = P.Just (O.ResolvedSymbolInfo {
        O.resolvedSymbolName = "GI.WebKit2WebExtension.Objects.DOMDocumentType.dOMDocumentTypeGetName",
        O.resolvedSymbolURL = "https://hackage.haskell.org/package/gi-webkit2webextension-4.0.27/docs/GI-WebKit2WebExtension-Objects-DOMDocumentType.html#v:dOMDocumentTypeGetName"
        })


#endif

-- method DOMDocumentType::get_notations
-- method type : OrdinaryMethod
-- Args: [ Arg
--           { argCName = "self"
--           , argType =
--               TInterface
--                 Name
--                   { namespace = "WebKit2WebExtension" , name = "DOMDocumentType" }
--           , direction = DirectionIn
--           , mayBeNull = False
--           , argDoc =
--               Documentation
--                 { rawDocText = Just "A #WebKitDOMDocumentType"
--                 , sinceVersion = Nothing
--                 }
--           , argScope = ScopeTypeInvalid
--           , argClosure = -1
--           , argDestroy = -1
--           , argCallerAllocates = False
--           , transfer = TransferNothing
--           }
--       ]
-- Lengths: []
-- returnType: Just
--               (TInterface
--                  Name
--                    { namespace = "WebKit2WebExtension" , name = "DOMNamedNodeMap" })
-- throws : False
-- Skip return : False

foreign import ccall "webkit_dom_document_type_get_notations" webkit_dom_document_type_get_notations :: 
    Ptr DOMDocumentType ->                  -- self : TInterface (Name {namespace = "WebKit2WebExtension", name = "DOMDocumentType"})
    IO (Ptr WebKit2WebExtension.DOMNamedNodeMap.DOMNamedNodeMap)

{-# DEPRECATED dOMDocumentTypeGetNotations ["(Since version 2.22)","Use JavaScriptCore API instead"] #-}
-- | /No description available in the introspection data./
dOMDocumentTypeGetNotations ::
    (B.CallStack.HasCallStack, MonadIO m, IsDOMDocumentType a) =>
    a
    -- ^ /@self@/: A t'GI.WebKit2WebExtension.Objects.DOMDocumentType.DOMDocumentType'
    -> m WebKit2WebExtension.DOMNamedNodeMap.DOMNamedNodeMap
    -- ^ __Returns:__ A t'GI.WebKit2WebExtension.Objects.DOMNamedNodeMap.DOMNamedNodeMap'
dOMDocumentTypeGetNotations :: forall (m :: * -> *) a.
(HasCallStack, MonadIO m, IsDOMDocumentType a) =>
a -> m DOMNamedNodeMap
dOMDocumentTypeGetNotations a
self = IO DOMNamedNodeMap -> m DOMNamedNodeMap
forall (m :: * -> *) a. MonadIO m => IO a -> m a
liftIO (IO DOMNamedNodeMap -> m DOMNamedNodeMap)
-> IO DOMNamedNodeMap -> m DOMNamedNodeMap
forall a b. (a -> b) -> a -> b
$ do
    Ptr DOMDocumentType
self' <- a -> IO (Ptr DOMDocumentType)
forall a b. (HasCallStack, ManagedPtrNewtype a) => a -> IO (Ptr b)
unsafeManagedPtrCastPtr a
self
    Ptr DOMNamedNodeMap
result <- Ptr DOMDocumentType -> IO (Ptr DOMNamedNodeMap)
webkit_dom_document_type_get_notations Ptr DOMDocumentType
self'
    Text -> Ptr DOMNamedNodeMap -> IO ()
forall a. HasCallStack => Text -> Ptr a -> IO ()
checkUnexpectedReturnNULL Text
"dOMDocumentTypeGetNotations" Ptr DOMNamedNodeMap
result
    DOMNamedNodeMap
result' <- ((ManagedPtr DOMNamedNodeMap -> DOMNamedNodeMap)
-> Ptr DOMNamedNodeMap -> IO DOMNamedNodeMap
forall a b.
(HasCallStack, GObject a, GObject b) =>
(ManagedPtr a -> a) -> Ptr b -> IO a
wrapObject ManagedPtr DOMNamedNodeMap -> DOMNamedNodeMap
WebKit2WebExtension.DOMNamedNodeMap.DOMNamedNodeMap) Ptr DOMNamedNodeMap
result
    a -> IO ()
forall a. ManagedPtrNewtype a => a -> IO ()
touchManagedPtr a
self
    DOMNamedNodeMap -> IO DOMNamedNodeMap
forall (m :: * -> *) a. Monad m => a -> m a
return DOMNamedNodeMap
result'

#if defined(ENABLE_OVERLOADING)
data DOMDocumentTypeGetNotationsMethodInfo
instance (signature ~ (m WebKit2WebExtension.DOMNamedNodeMap.DOMNamedNodeMap), MonadIO m, IsDOMDocumentType a) => O.OverloadedMethod DOMDocumentTypeGetNotationsMethodInfo a signature where
    overloadedMethod = dOMDocumentTypeGetNotations

instance O.OverloadedMethodInfo DOMDocumentTypeGetNotationsMethodInfo a where
    overloadedMethodInfo = P.Just (O.ResolvedSymbolInfo {
        O.resolvedSymbolName = "GI.WebKit2WebExtension.Objects.DOMDocumentType.dOMDocumentTypeGetNotations",
        O.resolvedSymbolURL = "https://hackage.haskell.org/package/gi-webkit2webextension-4.0.27/docs/GI-WebKit2WebExtension-Objects-DOMDocumentType.html#v:dOMDocumentTypeGetNotations"
        })


#endif

-- method DOMDocumentType::get_public_id
-- method type : OrdinaryMethod
-- Args: [ Arg
--           { argCName = "self"
--           , argType =
--               TInterface
--                 Name
--                   { namespace = "WebKit2WebExtension" , name = "DOMDocumentType" }
--           , direction = DirectionIn
--           , mayBeNull = False
--           , argDoc =
--               Documentation
--                 { rawDocText = Just "A #WebKitDOMDocumentType"
--                 , sinceVersion = Nothing
--                 }
--           , argScope = ScopeTypeInvalid
--           , argClosure = -1
--           , argDestroy = -1
--           , argCallerAllocates = False
--           , transfer = TransferNothing
--           }
--       ]
-- Lengths: []
-- returnType: Just (TBasicType TUTF8)
-- throws : False
-- Skip return : False

foreign import ccall "webkit_dom_document_type_get_public_id" webkit_dom_document_type_get_public_id :: 
    Ptr DOMDocumentType ->                  -- self : TInterface (Name {namespace = "WebKit2WebExtension", name = "DOMDocumentType"})
    IO CString

{-# DEPRECATED dOMDocumentTypeGetPublicId ["(Since version 2.22)","Use JavaScriptCore API instead"] #-}
-- | /No description available in the introspection data./
dOMDocumentTypeGetPublicId ::
    (B.CallStack.HasCallStack, MonadIO m, IsDOMDocumentType a) =>
    a
    -- ^ /@self@/: A t'GI.WebKit2WebExtension.Objects.DOMDocumentType.DOMDocumentType'
    -> m T.Text
    -- ^ __Returns:__ A @/gchar/@
dOMDocumentTypeGetPublicId :: forall (m :: * -> *) a.
(HasCallStack, MonadIO m, IsDOMDocumentType a) =>
a -> m Text
dOMDocumentTypeGetPublicId a
self = IO Text -> m Text
forall (m :: * -> *) a. MonadIO m => IO a -> m a
liftIO (IO Text -> m Text) -> IO Text -> m Text
forall a b. (a -> b) -> a -> b
$ do
    Ptr DOMDocumentType
self' <- a -> IO (Ptr DOMDocumentType)
forall a b. (HasCallStack, ManagedPtrNewtype a) => a -> IO (Ptr b)
unsafeManagedPtrCastPtr a
self
    CString
result <- Ptr DOMDocumentType -> IO CString
webkit_dom_document_type_get_public_id Ptr DOMDocumentType
self'
    Text -> CString -> IO ()
forall a. HasCallStack => Text -> Ptr a -> IO ()
checkUnexpectedReturnNULL Text
"dOMDocumentTypeGetPublicId" CString
result
    Text
result' <- HasCallStack => CString -> IO Text
CString -> IO Text
cstringToText CString
result
    CString -> IO ()
forall a. Ptr a -> IO ()
freeMem CString
result
    a -> IO ()
forall a. ManagedPtrNewtype a => a -> IO ()
touchManagedPtr a
self
    Text -> IO Text
forall (m :: * -> *) a. Monad m => a -> m a
return Text
result'

#if defined(ENABLE_OVERLOADING)
data DOMDocumentTypeGetPublicIdMethodInfo
instance (signature ~ (m T.Text), MonadIO m, IsDOMDocumentType a) => O.OverloadedMethod DOMDocumentTypeGetPublicIdMethodInfo a signature where
    overloadedMethod = dOMDocumentTypeGetPublicId

instance O.OverloadedMethodInfo DOMDocumentTypeGetPublicIdMethodInfo a where
    overloadedMethodInfo = P.Just (O.ResolvedSymbolInfo {
        O.resolvedSymbolName = "GI.WebKit2WebExtension.Objects.DOMDocumentType.dOMDocumentTypeGetPublicId",
        O.resolvedSymbolURL = "https://hackage.haskell.org/package/gi-webkit2webextension-4.0.27/docs/GI-WebKit2WebExtension-Objects-DOMDocumentType.html#v:dOMDocumentTypeGetPublicId"
        })


#endif

-- method DOMDocumentType::get_system_id
-- method type : OrdinaryMethod
-- Args: [ Arg
--           { argCName = "self"
--           , argType =
--               TInterface
--                 Name
--                   { namespace = "WebKit2WebExtension" , name = "DOMDocumentType" }
--           , direction = DirectionIn
--           , mayBeNull = False
--           , argDoc =
--               Documentation
--                 { rawDocText = Just "A #WebKitDOMDocumentType"
--                 , sinceVersion = Nothing
--                 }
--           , argScope = ScopeTypeInvalid
--           , argClosure = -1
--           , argDestroy = -1
--           , argCallerAllocates = False
--           , transfer = TransferNothing
--           }
--       ]
-- Lengths: []
-- returnType: Just (TBasicType TUTF8)
-- throws : False
-- Skip return : False

foreign import ccall "webkit_dom_document_type_get_system_id" webkit_dom_document_type_get_system_id :: 
    Ptr DOMDocumentType ->                  -- self : TInterface (Name {namespace = "WebKit2WebExtension", name = "DOMDocumentType"})
    IO CString

{-# DEPRECATED dOMDocumentTypeGetSystemId ["(Since version 2.22)","Use JavaScriptCore API instead"] #-}
-- | /No description available in the introspection data./
dOMDocumentTypeGetSystemId ::
    (B.CallStack.HasCallStack, MonadIO m, IsDOMDocumentType a) =>
    a
    -- ^ /@self@/: A t'GI.WebKit2WebExtension.Objects.DOMDocumentType.DOMDocumentType'
    -> m T.Text
    -- ^ __Returns:__ A @/gchar/@
dOMDocumentTypeGetSystemId :: forall (m :: * -> *) a.
(HasCallStack, MonadIO m, IsDOMDocumentType a) =>
a -> m Text
dOMDocumentTypeGetSystemId a
self = IO Text -> m Text
forall (m :: * -> *) a. MonadIO m => IO a -> m a
liftIO (IO Text -> m Text) -> IO Text -> m Text
forall a b. (a -> b) -> a -> b
$ do
    Ptr DOMDocumentType
self' <- a -> IO (Ptr DOMDocumentType)
forall a b. (HasCallStack, ManagedPtrNewtype a) => a -> IO (Ptr b)
unsafeManagedPtrCastPtr a
self
    CString
result <- Ptr DOMDocumentType -> IO CString
webkit_dom_document_type_get_system_id Ptr DOMDocumentType
self'
    Text -> CString -> IO ()
forall a. HasCallStack => Text -> Ptr a -> IO ()
checkUnexpectedReturnNULL Text
"dOMDocumentTypeGetSystemId" CString
result
    Text
result' <- HasCallStack => CString -> IO Text
CString -> IO Text
cstringToText CString
result
    CString -> IO ()
forall a. Ptr a -> IO ()
freeMem CString
result
    a -> IO ()
forall a. ManagedPtrNewtype a => a -> IO ()
touchManagedPtr a
self
    Text -> IO Text
forall (m :: * -> *) a. Monad m => a -> m a
return Text
result'

#if defined(ENABLE_OVERLOADING)
data DOMDocumentTypeGetSystemIdMethodInfo
instance (signature ~ (m T.Text), MonadIO m, IsDOMDocumentType a) => O.OverloadedMethod DOMDocumentTypeGetSystemIdMethodInfo a signature where
    overloadedMethod = dOMDocumentTypeGetSystemId

instance O.OverloadedMethodInfo DOMDocumentTypeGetSystemIdMethodInfo a where
    overloadedMethodInfo = P.Just (O.ResolvedSymbolInfo {
        O.resolvedSymbolName = "GI.WebKit2WebExtension.Objects.DOMDocumentType.dOMDocumentTypeGetSystemId",
        O.resolvedSymbolURL = "https://hackage.haskell.org/package/gi-webkit2webextension-4.0.27/docs/GI-WebKit2WebExtension-Objects-DOMDocumentType.html#v:dOMDocumentTypeGetSystemId"
        })


#endif