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