# File lib/xml/dom/core.rb, line 1446 def initialize(*children) super(*children) end
# 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
# File lib/xml/dom/core.rb, line 1470 def nodeName "#document-fragment" end
# File lib/xml/dom/core.rb, line 1459 def nodeType DOCUMENT_FRAGMENT_NODE end
# File lib/xml/dom/core.rb, line 1480 def parentNode=(p) @children.each do |child| child.parentNode = p end if @children end