module Graphics.UI.Gtk.WebKit.DOM.DocumentType
(documentTypeGetName, documentTypeGetEntities,
documentTypeGetNotations, documentTypeGetPublicId,
documentTypeGetSystemId, documentTypeGetInternalSubset,
DocumentType, DocumentTypeClass, castToDocumentType,
gTypeDocumentType, toDocumentType)
where
import System.Glib.FFI
import System.Glib.UTFString
import Control.Applicative
import Graphics.UI.Gtk.WebKit.Types
import System.Glib.GError
import Graphics.UI.Gtk.WebKit.DOM.EventM
documentTypeGetName ::
(DocumentTypeClass self) => self -> IO String
documentTypeGetName self
= ((\(DocumentType arg1) -> withForeignPtr arg1 $ \argPtr1 ->webkit_dom_document_type_get_name argPtr1)
(toDocumentType self))
>>=
readUTFString
documentTypeGetEntities ::
(DocumentTypeClass self) => self -> IO (Maybe NamedNodeMap)
documentTypeGetEntities self
= maybeNull (makeNewGObject mkNamedNodeMap)
((\(DocumentType arg1) -> withForeignPtr arg1 $ \argPtr1 ->webkit_dom_document_type_get_entities argPtr1)
(toDocumentType self))
documentTypeGetNotations ::
(DocumentTypeClass self) => self -> IO (Maybe NamedNodeMap)
documentTypeGetNotations self
= maybeNull (makeNewGObject mkNamedNodeMap)
((\(DocumentType arg1) -> withForeignPtr arg1 $ \argPtr1 ->webkit_dom_document_type_get_notations argPtr1)
(toDocumentType self))
documentTypeGetPublicId ::
(DocumentTypeClass self) => self -> IO String
documentTypeGetPublicId self
= ((\(DocumentType arg1) -> withForeignPtr arg1 $ \argPtr1 ->webkit_dom_document_type_get_public_id argPtr1)
(toDocumentType self))
>>=
readUTFString
documentTypeGetSystemId ::
(DocumentTypeClass self) => self -> IO String
documentTypeGetSystemId self
= ((\(DocumentType arg1) -> withForeignPtr arg1 $ \argPtr1 ->webkit_dom_document_type_get_system_id argPtr1)
(toDocumentType self))
>>=
readUTFString
documentTypeGetInternalSubset ::
(DocumentTypeClass self) => self -> IO String
documentTypeGetInternalSubset self
= ((\(DocumentType arg1) -> withForeignPtr arg1 $ \argPtr1 ->webkit_dom_document_type_get_internal_subset argPtr1)
(toDocumentType self))
>>=
readUTFString
foreign import ccall safe "webkit_dom_document_type_get_name"
webkit_dom_document_type_get_name :: ((Ptr DocumentType) -> (IO (Ptr CChar)))
foreign import ccall safe "webkit_dom_document_type_get_entities"
webkit_dom_document_type_get_entities :: ((Ptr DocumentType) -> (IO (Ptr NamedNodeMap)))
foreign import ccall safe "webkit_dom_document_type_get_notations"
webkit_dom_document_type_get_notations :: ((Ptr DocumentType) -> (IO (Ptr NamedNodeMap)))
foreign import ccall safe "webkit_dom_document_type_get_public_id"
webkit_dom_document_type_get_public_id :: ((Ptr DocumentType) -> (IO (Ptr CChar)))
foreign import ccall safe "webkit_dom_document_type_get_system_id"
webkit_dom_document_type_get_system_id :: ((Ptr DocumentType) -> (IO (Ptr CChar)))
foreign import ccall safe "webkit_dom_document_type_get_internal_subset"
webkit_dom_document_type_get_internal_subset :: ((Ptr DocumentType) -> (IO (Ptr CChar)))