class EL_XPATH_NATURAL_SETTER

(source code)

Description

Xpath natural setter

note
	description: "Xpath natural setter"

	author: "Finnian Reilly"
	copyright: "Copyright (c) 2001-2017 Finnian Reilly"
	contact: "finnian at eiffel hyphen loop dot com"

	license: "MIT license (See: en.wikipedia.org/wiki/MIT_License)"
	date: "2018-09-20 11:35:14 GMT (Thursday 20th September 2018)"
	revision: "5"

class
	EL_XPATH_NATURAL_SETTER

inherit
	EL_XPATH_VALUE_SETTER [NATURAL]

feature {NONE} -- Implementation

	attribute_value (table: EL_ELEMENT_ATTRIBUTE_TABLE; name: READABLE_STRING_GENERAL): NATURAL
		do
			Result := table.natural (name)
		end

	node_value (node: EL_XPATH_NODE_CONTEXT): NATURAL
		do
			Result := node.natural_value
		end
end