String prefix,
Attributes attributes,
DeserializationContext context)
throws SAXException
{
QName thisQName = new QName(namespace, localName);
if (thisQName.equals(headerQName)) {
if (gotHeader)
throw new SAXException("Only one Header element allowed!");
gotHeader = true;
return new HeaderBuilder();
}
if (thisQName.equals(bodyQName)) {
if (gotBody)
throw new SAXException("Only one Body element allowed!");
gotBody = true;
return new BodyBuilder();