Interface Serializer

    • Method Detail

      • serializeToByteArray

        byte[] serializeToByteArray​(Element element)
                             throws Exception
        Returns a byte[] representation of the specified Element.
        Parameters:
        element - the Element to serialize.
        Returns:
        the byte[] representation of the serialized Element.
        Throws:
        Exception
      • serializeToByteArray

        byte[] serializeToByteArray​(NodeList content)
                             throws Exception
        Returns a byte[] representation of the specified NodeList.
        Parameters:
        content - the NodeList to serialize.
        Returns:
        the byte[] representation of the serialized NodeList.
        Throws:
        Exception