class XML::DOM::Entity
Class XML::DOM::Entity
¶ ↑
superclass¶ ↑
Class XML::DOM::Entity
¶ ↑
superclass¶ ↑
Public Class Methods
Source
# 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
Class Methods¶ ↑
Calls superclass method
XML::DOM::Node::new
Public Instance Methods
Source
# 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
Source
# File lib/xml/dom/core.rb, line 2996 def cloneNode(deep = true) super(deep, @name, @pubid, @sysid, @notation) end
Calls superclass method
XML::DOM::Node#cloneNode