}
return payloadQName.getNamespaceURI();
}
private void readPayloadElement() {
PayloadElementSniffer sniffer = new PayloadElementSniffer();
try {
if (rawContext != null) {
Marshaller m = rawContext.createMarshaller();
m.setProperty("jaxb.fragment", Boolean.FALSE);
m.marshal(jaxbObject, sniffer);
} else {
bridge.marshal(jaxbObject, sniffer, null);
}
} catch (JAXBException e) {
// if it's due to us aborting the processing after the first element,
// we can safely ignore this exception.
//
// if it's due to error in the object, the same error will be reported
// when the readHeader() method is used, so we don't have to report
// an error right now.
payloadQName = sniffer.getPayloadQName();
}
}