gi-glib-2.0.24: GLib bindings
CopyrightWill Thompson Iñaki García Etxebarria and Jonas Platte
LicenseLGPL-2.1
MaintainerIñaki García Etxebarria
Safe HaskellNone
LanguageHaskell2010

GI.GLib.Structs.MarkupParser

Description

Any of the fields in MarkupParser can be Nothing, in which case they will be ignored. Except for the error function, any of these callbacks can set an error; in particular the MarkupErrorUnknownElement, MarkupErrorUnknownAttribute, and MarkupErrorInvalidContent errors are intended to be set from these callbacks. If you set an error from a callback, markupParseContextParse will report that error back to its caller.

Synopsis

Exported types

newZeroMarkupParser :: MonadIO m => m MarkupParser Source #

Construct a MarkupParser struct initialized to zero.

Methods

Overloaded methods

Properties

endElement

No description available in the introspection data.

clearMarkupParserEndElement :: MonadIO m => MarkupParser -> m () Source #

Set the value of the “end_element” field to Nothing. When overloading is enabled, this is equivalent to

clear #endElement

getMarkupParserEndElement :: MonadIO m => MarkupParser -> m (Maybe MarkupParserEndElementFieldCallback_WithClosures) Source #

Get the value of the “end_element” field. When overloading is enabled, this is equivalent to

get markupParser #endElement

setMarkupParserEndElement :: MonadIO m => MarkupParser -> FunPtr C_MarkupParserEndElementFieldCallback -> m () Source #

Set the value of the “end_element” field. When overloading is enabled, this is equivalent to

set markupParser [ #endElement := value ]

error

No description available in the introspection data.

clearMarkupParserError :: MonadIO m => MarkupParser -> m () Source #

Set the value of the “error” field to Nothing. When overloading is enabled, this is equivalent to

clear #error

getMarkupParserError :: MonadIO m => MarkupParser -> m (Maybe MarkupParserErrorFieldCallback_WithClosures) Source #

Get the value of the “error” field. When overloading is enabled, this is equivalent to

get markupParser #error

setMarkupParserError :: MonadIO m => MarkupParser -> FunPtr C_MarkupParserErrorFieldCallback -> m () Source #

Set the value of the “error” field. When overloading is enabled, this is equivalent to

set markupParser [ #error := value ]

passthrough

No description available in the introspection data.

clearMarkupParserPassthrough :: MonadIO m => MarkupParser -> m () Source #

Set the value of the “passthrough” field to Nothing. When overloading is enabled, this is equivalent to

clear #passthrough

getMarkupParserPassthrough :: MonadIO m => MarkupParser -> m (Maybe MarkupParserPassthroughFieldCallback_WithClosures) Source #

Get the value of the “passthrough” field. When overloading is enabled, this is equivalent to

get markupParser #passthrough

setMarkupParserPassthrough :: MonadIO m => MarkupParser -> FunPtr C_MarkupParserPassthroughFieldCallback -> m () Source #

Set the value of the “passthrough” field. When overloading is enabled, this is equivalent to

set markupParser [ #passthrough := value ]

startElement

No description available in the introspection data.

clearMarkupParserStartElement :: MonadIO m => MarkupParser -> m () Source #

Set the value of the “start_element” field to Nothing. When overloading is enabled, this is equivalent to

clear #startElement

getMarkupParserStartElement :: MonadIO m => MarkupParser -> m (Maybe MarkupParserStartElementFieldCallback_WithClosures) Source #

Get the value of the “start_element” field. When overloading is enabled, this is equivalent to

get markupParser #startElement

setMarkupParserStartElement :: MonadIO m => MarkupParser -> FunPtr C_MarkupParserStartElementFieldCallback -> m () Source #

Set the value of the “start_element” field. When overloading is enabled, this is equivalent to

set markupParser [ #startElement := value ]

text

No description available in the introspection data.

clearMarkupParserText :: MonadIO m => MarkupParser -> m () Source #

Set the value of the “text” field to Nothing. When overloading is enabled, this is equivalent to

clear #text

getMarkupParserText :: MonadIO m => MarkupParser -> m (Maybe MarkupParserTextFieldCallback_WithClosures) Source #

Get the value of the “text” field. When overloading is enabled, this is equivalent to

get markupParser #text

setMarkupParserText :: MonadIO m => MarkupParser -> FunPtr C_MarkupParserTextFieldCallback -> m () Source #

Set the value of the “text” field. When overloading is enabled, this is equivalent to

set markupParser [ #text := value ]