public class XmlRecordMarshaller extends Object implements RecordMarshaller
RecordMarshaller implementation for XML formatted records.| Constructor and Description |
|---|
XmlRecordMarshaller()
Constructs a new XmlRecordMarshaller.
|
XmlRecordMarshaller(XmlParserConfiguration config)
Constructs a new XmlRecordMarshaller.
|
| Modifier and Type | Method and Description |
|---|---|
protected String |
marshal(Document document)
Marshals a
Document. |
String |
marshal(Object record)
Marshals a single record object to a String.
|
public XmlRecordMarshaller()
public XmlRecordMarshaller(XmlParserConfiguration config)
config - the XmlParserConfigurationpublic String marshal(Object record) throws RecordIOException
RecordMarshallermarshal in interface RecordMarshallerrecord - the record object to marshalRecordIOExceptionprotected String marshal(Document document) throws XMLStreamException
Document.document - the Document to marshalXMLStreamException