class LibXML::XML::Schema::Facet

Public Instance Methods

kind() click to toggle source
static VALUE rxml_schema_facet_kind(VALUE self)
{
  xmlSchemaFacetPtr facet;

  Data_Get_Struct(self, xmlSchemaFacet, facet);

  return INT2NUM(facet->type);
}
node() click to toggle source

START FACET

static VALUE rxml_schema_facet_node(VALUE self)
{
  xmlSchemaFacetPtr facet;

  Data_Get_Struct(self, xmlSchemaFacet, facet);

  return rxml_node_wrap(facet->node);
}
value() click to toggle source
static VALUE rxml_schema_facet_value(VALUE self)
{
  xmlSchemaFacetPtr facet;

  Data_Get_Struct(self, xmlSchemaFacet, facet);

  QNIL_OR_STRING(facet->value)
}