Use this type of MarshalRecord when the marshal target is an XMLStreamWriter
XMLContext xmlContext = new XMLContext("session-name");
XMLMarshaller xmlMarshaller = xmlContext.createMarshaller();
XMLStreamWriterRecord writerRecord = new XMLStreamWriterRecord(xmlStreamWriter);
xmlMarshaller.marshal(myObject, writerRecord);
@see org.eclipse.persistence.oxm.XMLMarshaller
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|