# File lib/xml/dom/core.rb, line 2930 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 3000 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 2996 def cloneNode(deep = true) super(deep, @name, @pubid, @sysid, @notation) end
# File lib/xml/dom/core.rb, line 2958 def nodeName @name end
# File lib/xml/dom/core.rb, line 2947 def nodeType ENTITY_NODE end
# File lib/xml/dom/core.rb, line 2985 def notationName @notation end
# File lib/xml/dom/core.rb, line 2967 def publicId @pubid end
# File lib/xml/dom/core.rb, line 2976 def systemId @sysid end