// Node provided
final Serializer serializer = context.getBroker().newSerializer();
final NodeValue node = (NodeValue) item;
final InputStream is = new NodeInputStream(serializer, node);
streamSource.setInputStream(is);
} else if (item.getType() == Type.BASE64_BINARY || item.getType() == Type.HEX_BINARY) {
LOG.debug("Streaming base64 binary");