Aravis.XmlSchema

g Aravis.XmlSchema Aravis.XmlSchema GObject.Object GObject.Object GObject.Object->Aravis.XmlSchema

Subclasses:

None

Methods

Inherited:

GObject.Object (37)

Structs:

GObject.ObjectClass (5)

class

new_from_file (file)

class

new_from_memory (buffer, size)

class

new_from_path (path)

validate (xml, size, line, column)

Virtual Methods

Inherited:

GObject.Object (7)

Properties

None

Signals

Inherited:

GObject.Object (1)

Fields

Inherited:

GObject.Object (1)

Class Details

class Aravis.XmlSchema(**kwargs)
Bases:

GObject.Object

Abstract:

No

Structure:

Aravis.XmlSchemaClass

classmethod new_from_file(file)
Parameters:

file (Gio.File) –

Return type:

Aravis.XmlSchema

classmethod new_from_memory(buffer, size)
Parameters:
  • buffer (str) –

  • size (int) –

Return type:

Aravis.XmlSchema

classmethod new_from_path(path)
Parameters:

path (str) –

Return type:

Aravis.XmlSchema

validate(xml, size, line, column)
Parameters:
Raises:

GLib.Error

Return type:

bool