class Hatemile::Util::Html::HTMLDOMNode

The HTMLDOMNode interface contains the methods for access the Node.

@abstract

Public Instance Methods

append_text(text) click to toggle source

Append a text content in node.

@abstract @param text [String] The text content. @return [Hatemile::Util::Html::HTMLDOMNode] This node.

# File lib/hatemile/util/html/html_dom_node.rb, line 86
def append_text(text)
  # Interface method
end
get_data() click to toggle source

Returns the native object of this node.

@abstract @return [Object] The native object of this node.

# File lib/hatemile/util/html/html_dom_node.rb, line 115
def get_data
  # Interface method
end
get_parent_element() click to toggle source

Returns the parent element of this node.

@abstract @return [Hatemile::Util::Html::HTMLDOMElement] The parent element of

this node.
# File lib/hatemile/util/html/html_dom_node.rb, line 106
def get_parent_element
  # Interface method
end
get_text_content() click to toggle source

Returns the text content of node.

@abstract @return [String] The text content of node.

# File lib/hatemile/util/html/html_dom_node.rb, line 34
def get_text_content
  # Interface method
end
insert_after(new_node) click to toggle source

Insert a node after this node.

@abstract @param new_node [Hatemile::Util::Html::HTMLDOMNode] The node that be

inserted.

@return [Hatemile::Util::Html::HTMLDOMNode] This node.

# File lib/hatemile/util/html/html_dom_node.rb, line 56
def insert_after(new_node)
  # Interface method
end
insert_before(new_node) click to toggle source

Insert a node before this node.

@abstract @param new_node [Hatemile::Util::Html::HTMLDOMNode] The node that be

inserted.

@return [Hatemile::Util::Html::HTMLDOMNode] This node.

# File lib/hatemile/util/html/html_dom_node.rb, line 45
def insert_before(new_node)
  # Interface method
end
prepend_text(text) click to toggle source

Prepend a text content in node.

@abstract @param text [String] The text content. @return [Hatemile::Util::Html::HTMLDOMNode] This node.

# File lib/hatemile/util/html/html_dom_node.rb, line 96
def prepend_text(text)
  # Interface method
end
remove_node() click to toggle source

Remove this node of the parser.

@abstract @return [Hatemile::Util::Html::HTMLDOMNode] This node.

# File lib/hatemile/util/html/html_dom_node.rb, line 65
def remove_node
  # Interface method
end
replace_node(new_node) click to toggle source

Replace this node for other node.

@abstract @param new_node [Hatemile::Util::Html::HTMLDOMNode] The node that

replace this node.

@return [Hatemile::Util::Html::HTMLDOMNode] This node.

# File lib/hatemile/util/html/html_dom_node.rb, line 76
def replace_node(new_node)
  # Interface method
end
set_data(data) click to toggle source

Modify the native object of this node.

@abstract @param data [Object] The native object of this node. @return [void]

# File lib/hatemile/util/html/html_dom_node.rb, line 125
def set_data(data)
  # Interface method
end