Class XmlRecordMarshaller

    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      java.lang.String marshal​(java.lang.Object record)
      Marshals a single record object to a String.
      protected java.lang.String marshal​(org.w3c.dom.Document document)
      Marshals a Document.
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • XmlRecordMarshaller

        public XmlRecordMarshaller()
        Constructs a new XmlRecordMarshaller.
    • Method Detail

      • marshal

        protected java.lang.String marshal​(org.w3c.dom.Document document)
                                    throws javax.xml.stream.XMLStreamException
        Marshals a Document.
        Parameters:
        document - the Document to marshal
        Returns:
        the marshalled record text
        Throws:
        javax.xml.stream.XMLStreamException