Ags.Turtle¶
- Subclasses:
 None
Methods¶
- Inherited:
 - Structs:
 
class  | 
  | 
class  | 
  | 
class  | 
  | 
class  | 
  | 
class  | 
  | 
class  | 
  | 
class  | 
  | 
class  | 
  | 
class  | 
  | 
class  | 
  | 
class  | 
  | 
class  | 
  | 
class  | 
  | 
class  | 
  | 
class  | 
  | 
class  | 
  | 
class  | 
  | 
class  | 
  | 
class  | 
  | 
class  | 
  | 
class  | 
  | 
class  | 
  | 
class  | 
  | 
class  | 
  | 
class  | 
  | 
class  | 
  | 
class  | 
  | 
class  | 
  | 
class  | 
  | 
class  | 
  | 
class  | 
  | 
class  | 
  | 
class  | 
  | 
class  | 
  | 
class  | 
  | 
class  | 
  | 
class  | 
  | 
class  | 
  | 
class  | 
  | 
class  | 
  | 
class  | 
  | 
class  | 
  | 
class  | 
  | 
class  | 
  | 
class  | 
  | 
class  | 
  | 
class  | 
  | 
class  | 
  | 
class  | 
  | 
class  | 
  | 
class  | 
  | 
class  | 
  | 
class  | 
  | 
class  | 
  | 
class  | 
  | 
class  | 
  | 
class  | 
  | 
  | 
|
  | 
|
  | 
|
  | 
Virtual Methods¶
- Inherited:
 
Properties¶
Name  | 
Type  | 
Flags  | 
Short Description  | 
|---|---|---|---|
r/w  | 
The filename this turtle is assigned to  | 
||
r/w  | 
The xml document turtle was converted to  | 
Signals¶
- Inherited:
 
Fields¶
- Inherited:
 
Name  | 
Type  | 
Access  | 
Description  | 
|---|---|---|---|
doc  | 
r  | 
||
filename  | 
r  | 
||
flags  | 
r  | 
||
gobject  | 
r  | 
||
obj_mutex  | 
r  | 
||
prefix_id  | 
r  | 
Class Details¶
- class Ags.Turtle(**kwargs)¶
 - Bases:
 - Abstract:
 No
- Structure:
 
- classmethod match_anon(offset, end_ptr)¶
 - Parameters:
 - Returns:
 - Return type:
 
Match anon.
New in version 3.2.12.
- classmethod match_blank_node_label(offset, end_ptr)¶
 - Parameters:
 - Returns:
 - Return type:
 
Match blank node label.
New in version 3.2.12.
- classmethod match_boolean(offset, end_ptr)¶
 - Parameters:
 - Returns:
 - Return type:
 
Match boolean.
New in version 3.2.12.
- classmethod match_decimal(offset, end_ptr)¶
 - Parameters:
 - Returns:
 - Return type:
 
Match decimal.
New in version 3.2.12.
- classmethod match_double(offset, end_ptr)¶
 - Parameters:
 - Returns:
 - Return type:
 
Match double.
New in version 3.2.12.
- classmethod match_echar(offset, end_ptr)¶
 - Parameters:
 - Returns:
 - Return type:
 
Match echar.
New in version 3.2.12.
- classmethod match_exponent(offset, end_ptr)¶
 - Parameters:
 - Returns:
 - Return type:
 
Match exponent.
New in version 3.2.12.
- classmethod match_hex(offset, end_ptr)¶
 - Parameters:
 - Returns:
 - Return type:
 
Match hex.
New in version 3.2.12.
- classmethod match_integer(offset, end_ptr)¶
 - Parameters:
 - Returns:
 - Return type:
 
Match integer.
New in version 3.2.12.
- classmethod match_iriref(offset, end_ptr)¶
 - Parameters:
 - Returns:
 - Return type:
 
Match iriref.
New in version 3.2.12.
- classmethod match_langtag(offset, end_ptr)¶
 - Parameters:
 - Returns:
 - Return type:
 
Match langtag.
New in version 3.2.12.
- classmethod match_percent(offset, end_ptr)¶
 - Parameters:
 - Returns:
 - Return type:
 
Match percent.
New in version 3.2.12.
- classmethod match_plx(offset, end_ptr)¶
 - Parameters:
 - Returns:
 - Return type:
 
Match plx.
New in version 3.2.12.
- classmethod match_pn_chars(offset, end_ptr)¶
 - Parameters:
 - Returns:
 - Return type:
 
Match pn chars.
New in version 3.2.12.
- classmethod match_pn_chars_base(offset, end_ptr)¶
 - Parameters:
 - Returns:
 - Return type:
 
Match pn chars base.
New in version 3.2.12.
- classmethod match_pn_chars_u(offset, end_ptr)¶
 - Parameters:
 - Returns:
 - Return type:
 
Match pn chars u.
New in version 3.2.12.
- classmethod match_pn_local(offset, end_ptr)¶
 - Parameters:
 - Returns:
 - Return type:
 
Match uchar.
New in version 3.2.12.
- classmethod match_pn_local_esc(offset, end_ptr, start_offset, end_offset)¶
 
- classmethod match_pn_prefix(offset, end_ptr)¶
 - Parameters:
 - Returns:
 - Return type:
 
Match pn prefix.
New in version 3.2.12.
- classmethod match_pname_ln(offset, end_ptr)¶
 - Parameters:
 - Returns:
 - Return type:
 
Match pname-ln.
New in version 3.2.12.
- classmethod match_pname_ns(offset, end_ptr)¶
 - Parameters:
 - Returns:
 - Return type:
 
Match match pname-ns.
New in version 3.2.12.
- classmethod match_string(offset, end_ptr)¶
 - Parameters:
 - Returns:
 - Return type:
 
Match string.
New in version 3.2.12.
- classmethod match_string_literal_long_quote(offset, end_ptr)¶
 - Parameters:
 - Returns:
 - Return type:
 
Match string literal long quote.
New in version 3.2.12.
- classmethod match_string_literal_long_single_quote(offset, end_ptr)¶
 - Parameters:
 - Returns:
 - Return type:
 
Match string literal long single quote.
New in version 3.2.12.
- classmethod match_string_literal_quote(offset, end_ptr)¶
 - Parameters:
 - Returns:
 - Return type:
 
Match string literal quote.
New in version 3.2.12.
- classmethod match_string_literal_single_quote(offset, end_ptr)¶
 - Parameters:
 - Returns:
 - Return type:
 
Match string literal single quote.
New in version 3.2.12.
- classmethod match_uchar(offset, end_ptr)¶
 - Parameters:
 - Returns:
 - Return type:
 
Match uchar.
New in version 3.2.12.
- classmethod match_ws(offset, end_ptr)¶
 - Parameters:
 - Returns:
 - Return type:
 
Match ws.
New in version 3.2.12.
- classmethod new(filename)¶
 - Parameters:
 - Returns:
 the new instance
- Return type:
 
Instantiate a new
Ags.Turtle.New in version 3.0.0.
- classmethod read_anon(offset, end_ptr)¶
 - Parameters:
 - Returns:
 a string on success otherwise
None- Return type:
 
Read anon value.
New in version 3.0.0.
- classmethod read_blank_node_label(offset, end_ptr)¶
 - Parameters:
 - Returns:
 a string on success otherwise
None- Return type:
 
Read blank node label value.
New in version 3.0.0.
- classmethod read_boolean(offset, end_ptr)¶
 - Parameters:
 - Returns:
 a string on success otherwise
None- Return type:
 
Read boolean value.
New in version 3.0.0.
- classmethod read_decimal(offset, end_ptr)¶
 - Parameters:
 - Returns:
 a string on success otherwise
None- Return type:
 
Read decimal value.
New in version 3.0.0.
- classmethod read_double(offset, end_ptr)¶
 - Parameters:
 - Returns:
 a string on success otherwise
None- Return type:
 
Read double value.
New in version 3.0.0.
- classmethod read_echar(offset, end_ptr)¶
 - Parameters:
 - Returns:
 a string on success otherwise
None- Return type:
 
Read echar value.
New in version 3.0.0.
- classmethod read_exponent(offset, end_ptr)¶
 - Parameters:
 - Returns:
 a string on success otherwise
None- Return type:
 
Read exponent value.
New in version 3.0.0.
- classmethod read_hex(offset, end_ptr)¶
 - Parameters:
 - Returns:
 a string on success otherwise
None- Return type:
 
Read hex value.
New in version 3.0.0.
- classmethod read_integer(offset, end_ptr)¶
 - Parameters:
 - Returns:
 a string on success otherwise
None- Return type:
 
Read integer value.
New in version 3.0.0.
- classmethod read_iriref(offset, end_ptr)¶
 - Parameters:
 - Returns:
 a string on success otherwise
None- Return type:
 
Read iriref value.
New in version 3.0.0.
- classmethod read_langtag(offset, end_ptr)¶
 - Parameters:
 - Returns:
 a string on success otherwise
None- Return type:
 
Read langtag value.
New in version 3.0.0.
- classmethod read_percent(offset, end_ptr)¶
 - Parameters:
 - Returns:
 a string on success otherwise
None- Return type:
 
Read percent value.
New in version 3.0.0.
- classmethod read_plx(offset, end_ptr)¶
 - Parameters:
 - Returns:
 a string on success otherwise
None- Return type:
 
Read plx value.
New in version 3.0.0.
- classmethod read_pn_chars(offset, end_ptr)¶
 - Parameters:
 - Returns:
 a string on success otherwise
None- Return type:
 
Read prefixed-name chars value.
New in version 3.0.0.
- classmethod read_pn_chars_base(offset, end_ptr)¶
 - Parameters:
 - Returns:
 a string on success otherwise
None- Return type:
 
Read prefixed-name chars base value.
New in version 3.0.0.
- classmethod read_pn_chars_u(offset, end_ptr)¶
 - Parameters:
 - Returns:
 a string on success otherwise
None- Return type:
 
Read prefixed-name chars underscore value.
New in version 3.0.0.
- classmethod read_pn_local(offset, end_ptr)¶
 - Parameters:
 - Returns:
 a string on success otherwise
None- Return type:
 
Read prefixed-name local value.
New in version 3.0.0.
- classmethod read_pn_local_esc(offset, end_ptr)¶
 - Parameters:
 - Returns:
 a string on success otherwise
None- Return type:
 
Read prefixed name local escapes.
New in version 3.0.0.
- classmethod read_pn_prefix(offset, end_ptr)¶
 - Parameters:
 - Returns:
 a string on success otherwise
None- Return type:
 
Read prefixe-name prefix value.
New in version 3.0.0.
- classmethod read_pname_ln(offset, end_ptr)¶
 - Parameters:
 - Returns:
 a string on success otherwise
None- Return type:
 
Read prefixed-name localized name value.
New in version 3.0.0.
- classmethod read_pname_ns(offset, end_ptr)¶
 - Parameters:
 - Returns:
 a string on success otherwise
None- Return type:
 
Read prefixed-name namespace value.
New in version 3.0.0.
- classmethod read_string(offset, end_ptr)¶
 - Parameters:
 - Returns:
 a string on success otherwise
None- Return type:
 
Read string value.
New in version 3.0.0.
- classmethod read_string_literal_long_quote(offset, end_ptr)¶
 - Parameters:
 - Returns:
 a string on success otherwise
None- Return type:
 
Read string literal long quote value.
New in version 3.0.0.
- classmethod read_string_literal_long_single_quote(offset, end_ptr)¶
 - Parameters:
 - Returns:
 a string on success otherwise
None- Return type:
 
Read string literal long single quote value.
New in version 3.0.0.
- classmethod read_string_literal_quote(offset, end_ptr)¶
 - Parameters:
 - Returns:
 a string on success otherwise
None- Return type:
 
Read string literal quote value.
New in version 3.0.0.
- classmethod read_string_literal_single_quote(offset, end_ptr)¶
 - Parameters:
 - Returns:
 a string on success otherwise
None- Return type:
 
Read string literal single quote value.
New in version 3.0.0.
- classmethod read_uchar(offset, end_ptr)¶
 - Parameters:
 - Returns:
 a string on success otherwise
None- Return type:
 
Read uchar value.
New in version 3.0.0.
- classmethod read_ws(offset, end_ptr)¶
 - Parameters:
 - Returns:
 a string on success otherwise
None- Return type:
 
Read ws value.
New in version 3.0.0.
- find_xpath(xpath)¶
 - Parameters:
 xpath (
str) – a XPath expression as string- Returns:
 a
GLib.List-struct containinglibxml2.Node- Return type:
 
Lookup XPath expression withing self.
New in version 3.0.0.
- find_xpath_with_context_node(xpath, context_node)¶
 - Parameters:
 xpath (
str) – a XPath expression as stringcontext_node (
libxml2.Node) – alibxml2.Node-struct
- Returns:
 a
GLib.List-struct containinglibxml2.Node- Return type:
 
Lookup XPath expression from context_node withing self.
New in version 3.0.0.
- load()¶
 - Raises:
 - Returns:
 a
libxml2.Docpointer- Return type:
 
Loads a RDF triple file into an XML Document.
New in version 3.0.0.
Property Details¶
- Ags.Turtle.props.filename¶
 - 
The assigned filename.
New in version 3.0.0.