XMLCoder Documentation Beta

Classes

XMLDecoder

XMLDecoder facilitates the decoding of XML into semantic Decodable types.

XMLEncoder

XMLEncoder facilitates the encoding of Encodable values into XML.

Structures

Attribute
Element
Element​And​Attribute
XMLHeader
XMLEncoder.​Output​Formatting

The formatting of the output XML data.

Enumerations

XMLDecoder.​Date​Decoding​Strategy

The strategy to use for decoding Date values.

XMLDecoder.​Data​Decoding​Strategy

The strategy to use for decoding Data values.

XMLDecoder.​Non​Conforming​Float​Decoding​Strategy

The strategy to use for non-XML-conforming floating-point values (IEEE 754 infinity and NaN).

XMLDecoder.​Key​Decoding​Strategy

The strategy to use for automatically changing the box of keys before decoding.

XMLDecoder.​Node​Decoding

A node's decoding type

XMLDecoder.​Node​Decoding​Strategy

Set of strategies to use for encoding of nodes.

XMLEncoder.​Pretty​Print​Indentation

The identation to use when XML is pretty-printed.

XMLEncoder.​Node​Encoding

A node's encoding type

XMLEncoder.​Date​Encoding​Strategy

The strategy to use for encoding Date values.

XMLEncoder.​String​Encoding​Strategy

The strategy to use for encoding String values.

XMLEncoder.​Data​Encoding​Strategy

The strategy to use for encoding Data values.

XMLEncoder.​Non​Conforming​Float​Encoding​Strategy

The strategy to use for non-XML-conforming floating-point values (IEEE 754 infinity and NaN).

XMLEncoder.​Key​Encoding​Strategy

The strategy to use for automatically changing the value of keys before encoding.

XMLEncoder.​Node​Encoding​Strategy

Set of strategies to use for encoding of nodes.

Protocols

XMLAttribute​Protocol
XMLElement​And​Attribute​Protocol
XMLChoice​Coding​Key

An empty marker protocol that can be used in place of CodingKey. It must be used when attempting to encode and decode union-type–like enums with associated values to and from XML choice elements.

Dynamic​Node​Decoding
Dynamic​Node​Encoding