class EL_PYXIS_XML_TEXT_GENERATOR

(source code)

Client examples: ECF_XML_GENERATOR

Description

XML generator that does not split text nodes on new line character. Tabs and new lines in from text content are escaped.

note
	description: "[
		XML generator that does not split text nodes on new line character.
		Tabs and new lines in from text content are escaped.
	]"

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

	license: "MIT license (See: en.wikipedia.org/wiki/MIT_License)"
	date: "2022-12-28 18:47:25 GMT (Wednesday 28th December 2022)"
	revision: "8"

class
	EL_PYXIS_XML_TEXT_GENERATOR

inherit
	EL_XML_TEXT_GENERATOR
		rename
			make as make_generator
		end

create
	make

feature {NONE} -- Initialization

	make
		do
			make_generator ({EL_PYXIS_PARSER})
			if attached {EL_PYXIS_PARSER} event_source as parser then
				parser.set_declaration_comment (English_auto_generated_notice)
			end
		end

feature {NONE} -- Constants

	English_auto_generated_notice: STRING
		once
			Result := "This file is auto-generated by class EL_PYXIS_PARSER (eiffel-loop.com)"
		end

end