Skip to content

Commit 150e3a4

Browse files
committed
Add EscapedString to class diagram
1 parent 9fd8078 commit 150e3a4

File tree

3 files changed

+1645
-1554
lines changed

3 files changed

+1645
-1554
lines changed

docs/architecture/diagrams/plantuml/class_diagram.plantuml

+6-1
Original file line numberDiff line numberDiff line change
@@ -5,12 +5,16 @@ package pkg {
55
package common {
66
package configuration {
77
package parser {
8+
stereotype EscapedString <<string>> {
9+
~ escapeString(value : string) : string
10+
+ UnmarshalXML(decoder : *xml.Decoder, start : xml.StartElement) : error
11+
}
812
stereotype KeyValue <<map[string]string>> {
913
+ UnmarshalXML(decoder : *xml.Decoder, _ : xml.StartElement) : error
1014
+ MarshalXML(encoder : *xml.Encoder, start : xml.StartElement) : error
1115
}
1216
struct TemplateConfiguration {
13-
+ StringValue : string
17+
+ StringValue : EscapedString
1418
+ MapValue : KeyValue
1519
}
1620
struct FormatterConfiguration {
@@ -43,6 +47,7 @@ package pkg {
4347
+ ReadFromYAML(path : string) : (*Configuration, error)
4448
+ ReadFromXML(path : string) : (*Configuration, error)
4549
}
50+
TemplateConfiguration "1" *-- "1" EscapedString : contains
4651
TemplateConfiguration "1" *-- "1" KeyValue : contains
4752
FormatterConfiguration "1" *-- "1" TemplateConfiguration : contains
4853
HandlerConfiguration "1" *-- "1" FormatterConfiguration : contains
9.41 KB
Loading

0 commit comments

Comments
 (0)