I want to parse bizdoc.content using a java service.
Bizdoc.content type is byte.
So, in my java service, I can start something like this:
IDataCursor idc = pipeline.getCursor();
Object byteArrayContent = (byte)IDataUtil.get(idc, “byteArrayContent”);
// What’s next to convert to xml Node?
// Maybe I can convert byteArrayContent object to byte and byte to String and then invoke xmlStringToXMLNode service.
// I am looking for better way, if possible, other than invoking xmlStringToXMLNode service from this java service.