Camel.HTMLParser

g Camel.HTMLParser Camel.HTMLParser GObject.Object GObject.Object GObject.Object->Camel.HTMLParser

Subclasses:

None

Methods

Inherited:

GObject.Object (37)

Structs:

GObject.ObjectClass (5)

class

new ()

attr (name)

attr_list (values)

left (lenp)

set_data (start, len, last)

step (datap, lenp)

tag ()

Virtual Methods

Inherited:

GObject.Object (7)

Properties

None

Signals

Inherited:

GObject.Object (1)

Fields

Inherited:

GObject.Object (1)

Name

Type

Access

Description

parent

GObject.Object

r

Class Details

class Camel.HTMLParser(**kwargs)
Bases:

GObject.Object

Abstract:

No

Structure:

Camel.HTMLParserClass

classmethod new()
Returns:

A new Camel.HTMLParser object

Return type:

Camel.HTMLParser

Create a new Camel.HTMLParser object.

attr(name)
Parameters:

name (str) –

Return type:

str

attr_list(values)
Parameters:

values ([str] or None) – an output GLib.PtrArray with values, or None

Returns:

a GLib.PtrArray of parsed attributes

values:

an output GLib.PtrArray with values, or None

Return type:

([str], values: [str])

Provides parsed array of values and attributes. Both arrays are owned by the self.

left(lenp)
Parameters:

lenp (int) –

Return type:

str

set_data(start, len, last)
Parameters:
  • start (str) –

  • len (int) –

  • last (int) –

step(datap, lenp)
Parameters:
  • datap (str) –

  • lenp (int) –

Return type:

Camel.HTMLParserState

tag()
Return type:

str