Commit 5258c71
authored
Added covenience functions (#11)
* Removed duplicated literal "Empty array name"
* Removed XMPMeta interface and merged this with the real class.
* Removed duplicated literal "Empty property name"
* Default value for PropertyOptions restored
* @Suppress("TooManyFunctions")
* Moved private methods to better places
* Added convenience methods for common properties
* ReadXmpTest.kt & WriteXmpTest.kt use convenience methods to get unit test coverage on that.
* Removed sub package "impl"
* XMPMeta.kt: Style formattings
* Removed XMPIterator.kt interface as there is only one implementation.
* Merged XMPSchemaRegistry.kt & XMPSchemaRegistryImpl.kt
* Refactor XMPRDFWriter: Pass StringBuilder into the methods
* Refactor XMPRDFWriter: Inlined write methods
* Refactor XMPRDFWriter: Pass XMPMeta into serialize()
* Refactor XMPRDFWriter: Pass SerializeOptions into serialize()
* XMPRDFWriter is now a singleton object to avoid this instance creation1 parent 0ff63fb commit 5258c71
29 files changed
Lines changed: 2530 additions & 2539 deletions
File tree
- src
- commonMain/kotlin/com/ashampoo/xmp
- impl
- options
- xpath
- commonTest/kotlin/com/ashampoo/xmp
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
15 | 15 | | |
16 | 16 | | |
17 | 17 | | |
18 | | - | |
| 18 | + | |
19 | 19 | | |
20 | 20 | | |
21 | 21 | | |
| |||
Lines changed: 1 addition & 3 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | | - | |
| 1 | + | |
2 | 2 | | |
3 | | - | |
4 | | - | |
5 | 3 | | |
6 | 4 | | |
7 | 5 | | |
| |||
Lines changed: 1 addition & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
6 | 6 | | |
7 | 7 | | |
8 | 8 | | |
9 | | - | |
| 9 | + | |
10 | 10 | | |
11 | 11 | | |
12 | 12 | | |
| |||
Lines changed: 1 addition & 3 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
6 | 6 | | |
7 | 7 | | |
8 | 8 | | |
9 | | - | |
10 | | - | |
11 | | - | |
| 9 | + | |
12 | 10 | | |
13 | 11 | | |
14 | 12 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
290 | 290 | | |
291 | 291 | | |
292 | 292 | | |
| 293 | + | |
| 294 | + | |
293 | 295 | | |
294 | 296 | | |
295 | 297 | | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
10 | 10 | | |
11 | 11 | | |
12 | 12 | | |
| 13 | + | |
13 | 14 | | |
| 15 | + | |
14 | 16 | | |
15 | 17 | | |
16 | 18 | | |
| |||
0 commit comments