Object
Obtain this attribute declaration’s child attribute(s). It will always be nil.
# File lib/libxml/attr_decl.rb, line 13 13: def child 14: nil 15: end
Returns whether this attribute declaration has child attributes.
# File lib/libxml/attr_decl.rb, line 22 22: def child? 23: not self.children.nil? 24: end
Determine whether this attribute declaration is associated with an XML::Document.
# File lib/libxml/attr_decl.rb, line 31 31: def doc? 32: not self.doc.nil? 33: end
Determine whether there is a next attribute declaration.
# File lib/libxml/attr_decl.rb, line 39 39: def next? 40: not self.next.nil? 41: end
Returns this attribute declaration’s node type name.
# File lib/libxml/attr_decl.rb, line 63 63: def node_type_name 64: if node_type == Node::ATTRIBUTE_DECL 65: 'attribute declaration' 66: else 67: raise(UnknownType, "Unknown node type: %n", node.node_type); 68: end 69: end
Determine whether this attribute declaration has a parent .
# File lib/libxml/attr_decl.rb, line 47 47: def parent? 48: not self.parent.nil? 49: end
Disabled; run with --debug to generate this.
Generated with the Darkfish Rdoc Generator 1.1.6.