Interface Serializer

    • Method Detail

      • serializeToByteArray

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

        byte[] serializeToByteArray​(org.w3c.dom.NodeList content)
                             throws java.lang.Exception
        Returns a byte[] representation of the specified NodeList.
        Parameters:
        content - the NodeList to serialize.
        Returns:
        the byte[] representation of the serialized NodeList.
        Throws:
        java.lang.Exception
      • deserialize

        org.w3c.dom.Node deserialize​(byte[] source,
                                     org.w3c.dom.Node ctx)
                              throws XMLEncryptionException,
                                     java.io.IOException
        Parameters:
        source -
        ctx -
        Returns:
        the Node resulting from the parse of the source
        Throws:
        XMLEncryptionException
        java.io.IOException