Class DOMSerializer

    • Field Detail

      • _domImpl

        protected final org.w3c.dom.ls.DOMImplementationLS _domImpl
    • Constructor Detail

      • DOMSerializer

        public DOMSerializer()
    • Method Detail

      • serialize

        public void serialize​(org.w3c.dom.Node value,
                              JsonGenerator jgen,
                              SerializerProvider provider)
                       throws java.io.IOException,
                              JsonGenerationException
        Description copied from class: JsonSerializer
        Method that can be called to ask implementation to serialize values of type this serializer handles.
        Specified by:
        serialize in class SerializerBase<org.w3c.dom.Node>
        Parameters:
        value - Value to serialize; can not be null.
        jgen - Generator used to output resulting Json content
        provider - Provider that can be used to get serializers for serializing Objects value contains, if any.
        Throws:
        java.io.IOException
        JsonGenerationException