Top | ![]() |
![]() |
![]() |
![]() |
enum | GXmlXPathObjectType |
enum | GXmlXPathError |
GXmlXPathContext | |
struct | GXmlXPathContextIface |
GXmlXPathObject | |
struct | GXmlXPathObjectIface |
GXmlXPathObject * gxml_xpath_context_evaluate (GXmlXPathContext *self
,const gchar *expression
,GeeList *resolver
,GError **error
);
Evaluate XPath expression.
This method evaluates provided expression, registers provided namespaces in resolver and returns an GXmlXPathObject.
Throw GXmlXPathError if one of provided namespaces is invalid.
self |
the GXmlXPathContext instance |
|
expression |
|
|
resolver |
|
|
error |
location to store the error occuring, or |
[error-domains GXmlXPathError] |
GXmlXPathObjectType
gxml_xpath_object_get_object_type (GXmlXPathObject *self
);
Get and return the current value of the "object-type" property.
gboolean
gxml_xpath_object_get_boolean_value (GXmlXPathObject *self
);
Get and return the current value of the "boolean-value" property.
const gchar *
gxml_xpath_object_get_string_value (GXmlXPathObject *self
);
Get and return the current value of the "string-value" property.
gdouble
gxml_xpath_object_get_number_value (GXmlXPathObject *self
);
Get and return the current value of the "number-value" property.
GXmlDomHTMLCollection *
gxml_xpath_object_get_nodeset (GXmlXPathObject *self
);
Get and return the current value of the "nodeset" property.
struct GXmlXPathContextIface { GTypeInterface parent_iface; GXmlXPathObject* (*evaluate) (GXmlXPathContext* self, const gchar* expression, GeeList* resolver, GError** error); };
Interface for creating GXmlXPathContext implementations.
struct GXmlXPathObjectIface { GTypeInterface parent_iface; GXmlXPathObjectType (*get_object_type) (GXmlXPathObject* self); gboolean (*get_boolean_value) (GXmlXPathObject* self); const gchar* (*get_string_value) (GXmlXPathObject* self); gdouble (*get_number_value) (GXmlXPathObject* self); GXmlDomHTMLCollection* (*get_nodeset) (GXmlXPathObject* self); };
Interface for creating GXmlXPathObject implementations.
the parent interface structure |
||
getter method for the abstract property "object-type" |
||
getter method for the abstract property "boolean-value" |
||
getter method for the abstract property "string-value" |
||
getter method for the abstract property "number-value" |
||
getter method for the abstract property "nodeset" |