use of com.enonic.xp.node.BinaryAttachment in project xp by enonic.
the class BinaryAttachmentsParser method handleValue.
private void handleValue(final Object value) {
if (value instanceof BinaryAttachment) {
final BinaryAttachment binaryAttachment = (BinaryAttachment) value;
this.binaryAttachmentsBuilder.add(new BinaryAttachment(binaryAttachment.getReference(), binaryAttachment.getByteSource()));
}
}
Aggregations