public XMLStreamReader readHeader() throws XMLStreamException { try { if (infoset == null) { XMLStreamBufferResult sbr = new XMLStreamBufferResult(); bridge.marshal(jaxbObject, sbr); infoset = sbr.getXMLStreamBuffer(); } return infoset.readAsXMLStreamReader(); } catch (JAXBException e) { throw new XMLStreamException2(e); } }
public XMLStreamReader readPayload() throws XMLStreamException { try { if (infoset == null) { XMLStreamBufferResult sbr = new XMLStreamBufferResult(); bridge.marshal(jaxbObject, sbr); infoset = sbr.getXMLStreamBuffer(); } return infoset.readAsXMLStreamReader(); } catch (JAXBException e) { // bug 6449684, spec 4.3.4 throw new WebServiceException(e); } }
/* */ public XMLStreamReader readPayload() throws XMLStreamException { /* */ try { /* 264 */ if (this.infoset == null) { /* 265 */ XMLStreamBufferResult sbr = new XMLStreamBufferResult(); /* 266 */ this.bridge.marshal(this.jaxbObject, sbr); /* 267 */ this.infoset = sbr.getXMLStreamBuffer(); /* */ } /* 269 */ XMLStreamReader reader = this.infoset.readAsXMLStreamReader(); /* 270 */ if (reader.getEventType() == 7) /* 271 */ XMLStreamReaderUtil.nextElementContent(reader); /* 272 */ return reader; /* */ } /* */ catch (JAXBException e) { /* 275 */ throw new WebServiceException(e); /* */ } /* */ }