|
Oracle® Coherence Java API Reference v3.5 E14977-01 |
|||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface PofValue
PofValue represents the POF data structure in a POF stream, or any sub-structure or value thereof.
PofValueParser.parse(ReadBuffer, PofContext)
Method Summary | |
---|---|
Binary |
applyChanges() Apply all the changes that were made to this value and return a binary representation of the new value. |
ReadBuffer |
getChanges() Return a buffer containing changes made to this PofValue in the format defined by the BinaryDeltaCompressor . |
PofValue |
getChild(int nIndex) Locate a child PofValue contained within this PofValue. |
PofValue |
getParent() Return the parent of this value. |
PofValue |
getRoot() Return the root of the hierarchy this value belongs to. |
int |
getTypeId() Obtain the POF type identifier for this value. |
java.lang.Object |
getValue() Return the deserialized value which this PofValue represents. |
void |
setValue(java.lang.Object oValue) Update this PofValue. |
Method Detail |
---|
int getTypeId()
PofValue getRoot()
PofValue getParent()
PofValue getChild(int nIndex)
nIndex
- index of the child valuePofNavigationException
- if this value is a "terminal" or the child value cannot be located for any other reasonjava.lang.Object getValue()
void setValue(java.lang.Object oValue)
getValue()
method, but will not be applied to the underlying POF stream until the applyChanges()
method is invoked on the root PofValue.oValue
- new deserialized value for this PofValueBinary applyChanges()
java.lang.UnsupportedOperationException
- if called on a non-root PofValueReadBuffer getChanges()
BinaryDeltaCompressor
. <p/> Note: this method can only be called on the root PofValuejava.lang.UnsupportedOperationException
- if called on a non-root PofValue
|
Oracle® Coherence Java API Reference v3.5 E14977-01 |
|||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |