summaryrefslogtreecommitdiff
path: root/tools/aapt2/java/JavaClassGenerator.cpp
diff options
context:
space:
mode:
authorAdam Lesinski <adamlesinski@google.com>2017-08-09 10:54:23 -0700
committerAdam Lesinski <adamlesinski@google.com>2017-08-17 17:43:08 +0000
commit6b372991296c9f2bd6f8f8847dcd23d50970d06d (patch)
tree325fa6d275390fd3d0d9757545f128fbe9ed39f9 /tools/aapt2/java/JavaClassGenerator.cpp
parentc10cc1185b0024a12660f4de7fbb6ad78bd1cfb7 (diff)
AAPT2: Change XmlDom to exclude Namespace as a node
In preparation for exporting an XML proto format for UAM to consume, this change brings the XML DOM API more in line with other APIs that do not make the Namespace a separate node. Treating Namespace declarations as just properties of an Element node makes the implementation of algorithms much simpler, as the constraints that Namespace nodes have only one child are now built in and traversing to find Element nodes is much simpler. Also made a bunch of quality of life improvements, like formatting and comment style. Test: make aapt2_tests Change-Id: Ib97ff1c4252b7907e2cc1f13a448dc4ca3b809a4
Diffstat (limited to 'tools/aapt2/java/JavaClassGenerator.cpp')
0 files changed, 0 insertions, 0 deletions