public byte[] getBinaryResourceData(final BLOBDocument blob) {
public byte[] getBinaryResourceData(final BinaryDocument blob) {
	public byte[] getBinaryResourceData(final BLOBDocument blob) {		byte[] data = (byte[]) new DOMTransaction(this, domDb, Lock.WRITE_LOCK) {			public Object start() throws ReadOnlyException {				return domDb.getBinary(blob.getPage());			}		}		.run();		return data;	}