Class: LibXML::XML::Schema::Facet
- Inherits:
-
Object
- Object
- LibXML::XML::Schema::Facet
- Defined in:
- ext/libxml/ruby_xml_schema_facet.c
Instance Method Summary collapse
- #kind ⇒ Object
-
#node ⇒ Object
START FACET.
- #value ⇒ Object
Instance Method Details
#kind ⇒ Object
32 33 34 35 36 37 38 39 |
# File 'ext/libxml/ruby_xml_schema_facet.c', line 32
static VALUE rxml_schema_facet_kind(VALUE self)
{
xmlSchemaFacetPtr facet;
Data_Get_Struct(self, xmlSchemaFacet, facet);
return INT2NUM(facet->type);
}
|
#node ⇒ Object
START FACET
14 15 16 17 18 19 20 21 |
# File 'ext/libxml/ruby_xml_schema_facet.c', line 14
static VALUE rxml_schema_facet_node(VALUE self)
{
xmlSchemaFacetPtr facet;
Data_Get_Struct(self, xmlSchemaFacet, facet);
return rxml_node_wrap(facet->node);
}
|
#value ⇒ Object
23 24 25 26 27 28 29 30 |
# File 'ext/libxml/ruby_xml_schema_facet.c', line 23
static VALUE rxml_schema_facet_value(VALUE self)
{
xmlSchemaFacetPtr facet;
Data_Get_Struct(self, xmlSchemaFacet, facet);
QNIL_OR_STRING(facet->value)
}
|