protected void restoreXml(XmlPullParser parser) {
		parser.start();
		while (parser.peek().isStart()) {
			XmlElement subel = parser.start();
			String name = subel.getName();
			String value = subel.getAttribute("value");

			if (name.equals(ELEM_USE_MS_CONVENTION.name())) {
				useMSConvention = SpecXmlUtils.decodeBoolean(value);
			}
			else if (name.equals(ELEM_TYPE_ALIGNMENT_ENABLED.name())) {
				typeAlignmentEnabled = SpecXmlUtils.decodeBoolean(value);
			}
			else if (name.equals(ELEM_ZERO_LENGTH_BOUNDARY.name())) {
				zeroLengthBoundary = SpecXmlUtils.decodeInt(value);
			}

			parser.end(subel);
		}
		parser.end();
	}
Restore settings from a {@code <bitfield_packing>} tag in an XML stream.
The XML is designed to override existing settings from the default constructor
@param parser is the XML stream
Ghidra/Framework/SoftwareModeling/src/main/java/ghidra/program/model/data/BitFieldPackingImpl.java