# File lib/xml/dom/core.rb, line 2931 def initialize(name, pubid, sysid, notation) super() @name = name.freeze @pubid = pubid.freeze @sysid = sysid.freeze @notation = notation.freeze end
# File lib/xml/dom/core.rb, line 3001 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 2997 def cloneNode(deep = true) super(deep, @name, @pubid, @sysid, @notation) end
# File lib/xml/dom/core.rb, line 2959 def nodeName @name end
# File lib/xml/dom/core.rb, line 2948 def nodeType ENTITY_NODE end
# File lib/xml/dom/core.rb, line 2986 def notationName @notation end
# File lib/xml/dom/core.rb, line 2968 def publicId @pubid end
# File lib/xml/dom/core.rb, line 2977 def systemId @sysid end