class XML::DOM::DocumentFragment
begin¶ ↑
Class XML::DOM::DocumentFragment¶ ↑
superclass¶ ↑
end¶ ↑
begin¶ ↑
Class XML::DOM::DocumentFragment¶ ↑
superclass¶ ↑
end¶ ↑
Public Class Methods
new(*children)
click to toggle source
begin¶ ↑
Class Methods¶ ↑
Calls superclass method
XML::DOM::Node.new
# File lib/xml/dom/core.rb, line 1446 def initialize(*children) super(*children) end
Public Instance Methods
_checkNode(node)
click to toggle source
# File lib/xml/dom/core.rb, line 1486 def _checkNode(node) unless node.nodeType == ELEMENT_NODE || node.nodeType == PROCESSING_INSTRUCTION_NODE || node.nodeType == COMMENT_NODE || node.nodeType == TEXT_NODE || node.nodeType == CDATA_SECTION_NODE || node.nodeType == ENTITY_REFERENCE_NODE raise DOMException.new(DOMException::HIERARCHY_REQUEST_ERR) end end
nodeName()
click to toggle source
nodeType()
click to toggle source