class XmlNodeConverter implements NodeConverter {

    @Override
    public Writer serializeData(final SchemaNode schemaNode, final NormalizedNode<?, ?> normalizedNode)
            throws SerializationException {
        Writer writer = new StringWriter();
        try (NormalizedNodeWriter normalizedNodeWriter =
                createNormalizedNodeWriter(schemaContext, writer, schemaNode.getPath())) {
            normalizedNodeWriter.write(normalizedNode);
            normalizedNodeWriter.flush();
        } catch (IOException ioe) {
            throw new SerializationException(ioe);
        }
        return writer;
    }

    public  XmlNodeConverter(final SchemaContext schemaContext);

}