Enumeration
XMLEncoder.NodeEncodingStrategy
public enum NodeEncodingStrategy
Set of strategies to use for encoding of nodes.
Relationships
Member Of
XMLEncoder
XMLEncoder
facilitates the encoding ofEncodable
values into XML.
Enumeration Cases
deferredToEncoder
case deferredToEncoder
Defer to Encoder
for choosing an encoding. This is the default strategy.
custom
case custom(XMLEncodingClosure)
Return a closure computing the desired node encoding for the value by its coding key.