commit | 9dd4e46901a329d3a0bb1f8712484c0a48e361c2 | [log] [tgz] |
---|---|---|
author | Max Loh <mloh@google.com> | Mon Mar 18 09:20:22 2024 -0700 |
committer | Max Loh <mloh@google.com> | Wed Mar 20 15:59:47 2024 +0000 |
tree | d6be9e752e5994ee8e3709f3e0bf9719177dd29d | |
parent | ea141d2f58f4dba6528ba57603248a1becef6e73 [diff] |
Refactor with interface pattern, and throw exception for unsupported formats Revised methods allow marshalling/unmarshalling from a list of XML nodes, allowing DataCategory to be incorporated seamlessly. Factory pattern makes it easier to maintain createFromHrElements. go/asl-tc-aosp Bug: 287487923 Test: TODO in future CLs Change-Id: I9fff3c1e28df74ef934da6355632c91e0ec91e79