Banner showing base of Eiffel tower

Github

Download version 1.4.8: Windows or Linux

Text Library: Text Formats

Classes

ECF: text-formats.ecf

Directory source listing

Overview

A library for handling various human-readable text formats. Supported formats are: XML, XHTML, HTML, JSON, CSV. (Note: Eiffel-Loop has other libraries for parsing XML)

Directory: library/text/formats

. /csv

. /doc-type

. /json

. /markup

. /markup/html

. /markup/xhtml

. /markup/xml

. /markup/xml/escaper

. /markup/xml/escaper/attribute

. /markup/xml/model-1

. /markup/xml/model-2

csv

EL_COMMA_SEPARATED_LINE_PARSER

CSV parser for lines encoded as Latin-1

EL_IMPORTABLE_ARRAYED_LIST

Arrayed list of reflectively settable objects that can be imported from from a Comma Separated Value (CSV) file. The first line must contain field names that match the settable fields of type G.

EL_UTF_8_COMMA_SEPARATED_LINE_PARSER

CSV parser for lines encoded as UTF-8

doc-type

EL_DOC_TYPE

Document MIME type and encoding

EL_HTML_DOC_TYPE

Parses HTML document for MIME type and encoding

EL_SHARED_DOCUMENT_TYPES

Shared document types

json

EL_JSON_GENERAL_ESCAPER

Json general escaper

EL_JSON_NAME_VALUE_LIST

Parses a non-recursive JSON list into name value pairs. Iterate using from start until after loop. Decoded name-value pairs accessible as: item, name_item or value_item.

EL_JSON_UNESCAPER

Json unescaper

EL_JSON_VALUE_ESCAPER

Json value escaper

EL_SETTABLE_FROM_JSON_STRING

Used in conjunction with EL_REFLECTIVELY_SETTABLE to reflectively set fields from corresponding JSON name-value pairs.

Further Information

Click on class link to see descendants.

markup

EL_MARKUP_ROUTINES

Markup routines

markup/html

EL_HTML_CONSTANTS

Html constants

markup/xhtml

EL_HTML_ROUTINES

Html routines

EL_MODULE_HTML

Module html

EL_XHTML_STRING_LIST

Xhtml string list

EL_XHTML_UTF_8_SOURCE

Xhtml utf 8 source

markup/xml

EL_DEFAULT_SERIALIZEABLE_XML

Default serializeable xml

EL_MODULE_XML

Module xml

EL_XML_NAMESPACES

Xml namespaces

EL_XML_ROUTINES

Xml routines

markup/xml/escaper

EL_XML_ESCAPING_CONSTANTS

Xml escaping constants

EL_XML_GENERAL_ESCAPER

Xml general escaper

EL_XML_STRING_32_ESCAPER

Xml string 32 escaper

EL_XML_ZSTRING_ESCAPER

Xml zstring escaper

markup/xml/escaper/attribute

EL_XML_ATTRIBUTE_VALUE_GENERAL_ESCAPER

Xml attribute value general escaper

EL_XML_ATTRIBUTE_VALUE_ZSTRING_ESCAPER

Xml attribute value zstring escaper

markup/xml/model-1

EL_XML_PARENT_TAG_LIST

XML tag that has child tags

EL_XML_TAG_LIST

Xml tag list

EL_XML_VALUE_TAG_PAIR

XML tag containing a single text node

markup/xml/model-2

EL_XML_CONTENT_ELEMENT

Element containing either an element list or some text

EL_XML_ELEMENT

Xml element

EL_XML_EMPTY_ELEMENT

Xml empty element

EL_XML_LIST_ELEMENT

XML element with list of nested elements

EL_XML_TEXT_ELEMENT

For example:

<p>Some text</p>

EL_XML_TEXT_NODE

Xml text node