protected class BaseDocument.StateBlobAccessor extends Object implements Document.BlobAccessor
| Modifier and Type | Field and Description |
|---|---|
protected Runnable |
markDirty |
protected Collection<String> |
path |
protected T |
state |
| Constructor and Description |
|---|
StateBlobAccessor(Collection<String> path,
T state,
Runnable markDirty) |
| Modifier and Type | Method and Description |
|---|---|
Blob |
getBlob()
Gets the blob.
|
String |
getXPath()
Gets the blob's xpath.
|
void |
setBlob(Blob blob)
Sets the blob.
|
protected final Collection<String> path
protected final T extends StateAccessor state
public StateBlobAccessor(Collection<String> path, T state, Runnable markDirty)
public String getXPath()
Document.BlobAccessorgetXPath in interface Document.BlobAccessorpublic Blob getBlob() throws PropertyException
Document.BlobAccessorgetBlob in interface Document.BlobAccessorPropertyExceptionpublic void setBlob(Blob blob) throws PropertyException
Document.BlobAccessorsetBlob in interface Document.BlobAccessorPropertyExceptionCopyright © 2016 Nuxeo SA. All rights reserved.