Use RevisionUnion in QNameModule 42/109642/16
authorRobert Varga <robert.varga@pantheon.tech>
Fri, 5 Jan 2024 14:35:28 +0000 (15:35 +0100)
committerRobert Varga <robert.varga@pantheon.tech>
Sat, 27 Jan 2024 02:17:23 +0000 (03:17 +0100)
QNameModule holds an optional Revision, which is inconvenient. This
patch retrofits RevisionUnion into it.

Since we are in this area, improve instantiation api, introducing of()
and ofRevision() convenience methods and deprecate create() methods.

Since QNameModule is a WritableObject composed of XMLNamespace and
RevisionUnion, make the two also WritableObjects and delegate to them.

Change-Id: Ib5349ef324d73340b285e9634e579825e55ab95d
Signed-off-by: Robert Varga <robert.varga@pantheon.tech>

No differences found