Class: Katana::QualifiedName
- Inherits:
-
Object
- Object
- Katana::QualifiedName
- Defined in:
- ext/katana/rb_katana_selector.c
Instance Method Summary collapse
Instance Method Details
#local ⇒ String?
11 12 13 14 15 16 17 18 19 |
# File 'ext/katana/rb_katana_selector.c', line 11
VALUE rb_name_local(VALUE self)
{
KatanaQualifiedName *c_name;
Data_Get_Struct(self, KatanaQualifiedName, c_name);
if (c_name->local)
return UTF8_STR_NEW(c_name->local);
else
return Qnil;
}
|
#prefix ⇒ String?
24 25 26 27 28 29 30 31 32 |
# File 'ext/katana/rb_katana_selector.c', line 24
VALUE rb_name_prefix(VALUE self)
{
KatanaQualifiedName *c_name;
Data_Get_Struct(self, KatanaQualifiedName, c_name);
if (c_name->prefix)
return UTF8_STR_NEW(c_name->prefix);
else
return Qnil;
}
|
#uri ⇒ String?
37 38 39 40 41 42 43 44 45 |
# File 'ext/katana/rb_katana_selector.c', line 37
VALUE rb_name_uri(VALUE self)
{
KatanaQualifiedName *c_name;
Data_Get_Struct(self, KatanaQualifiedName, c_name);
if (c_name->uri)
return UTF8_STR_NEW(c_name->uri);
else
return Qnil;
}
|