Skip to content

Commit fc33fc6

Browse files
author
Рамазанов Виталий Глебович
committed
docs
1 parent 77a4192 commit fc33fc6

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -70,6 +70,6 @@ public final class XMLEncoder {
7070
}
7171
```
7272

73-
`XMLEncodingConfiguration` allows you to customize the number of spaces in indents, the root element name ("root" is used by default) and whether encoder should include type attributes or not.
73+
The first property `configuration` of type `XMLEncodingConfiguration` allows you to customize the number of spaces in indents, the root element name ("root" is used by default) and whether encoder should include type attributes or not. Example outputs for different configurations can be found [here](./Tests/XMLCodingTests/__Snapshots__/XMLEncoderTests/testCustomConfiguration.1.txt) and [here](./Tests/XMLCodingTests/__Snapshots__/XMLEncoderTests/testCustomConfiguration.2.txt).
7474

75-
Example outputs for different configurations can be found [here](./Tests/XMLCodingTests/__Snapshots__/XMLEncoderTests/testCustomConfiguration.1.txt) and [here](./Tests/XMLCodingTests/__Snapshots__/XMLEncoderTests/testCustomConfiguration.2.txt).
75+
`BuildsAttributesString` is an interface that allows encoder to insert attributes for encoded values. `AttributesStringBuilder` is a default implementation of this protocol that, it adds `type` and `elementType` attributes as shown above.

0 commit comments

Comments
 (0)