Class: LibXML::XML::Schema::Attribute
| Relationships & Source Files | |
| Inherits: | Object |
| Defined in: | ext/libxml/ruby_xml_schema_attribute.c, lib/libxml/schema/attribute.rb |
Constant Summary
-
OPTIONAL =
# File 'lib/libxml/schema/attribute.rb', line 72 -
REQUIRED =
# File 'lib/libxml/schema/attribute.rb', line 61
Instance Attribute Summary
- #namespace readonly
- #occurs readonly
- #required? ⇒ Boolean readonly
- #type readonly
- #value readonly
Instance Method Summary
Instance Attribute Details
#namespace (readonly)
[ GitHub ]#occurs (readonly)
[ GitHub ]
#required? ⇒ Boolean (readonly)
[ GitHub ]
#type (readonly)
[ GitHub ]#value (readonly)
[ GitHub ]Instance Method Details
#default
[ GitHub ]# File 'lib/libxml/schema/attribute.rb', line 9
def default node['default'] end
#node
[ GitHub ]# File 'ext/libxml/ruby_xml_schema_attribute.c', line 88
static VALUE rxml_schema_attribute_node(VALUE self)
{
xmlSchemaAttributeUsePtr attr;
Data_Get_Struct(self, xmlSchemaAttributeUse, attr);
return rxml_node_wrap(attr->node);
}