public final class DefaultWalkObserver extends java.lang.Object implements WalkObserver
| Constructor and Description |
|---|
DefaultWalkObserver() |
| Modifier and Type | Method and Description |
|---|---|
void |
beginArray(java.lang.Object array,
FieldInfo fieldInfo)
Called at the beginning of an array.
|
void |
beginCompound(java.lang.Object compound,
FieldInfo fieldInfo,
int elementIndex)
Called at the beginning of an compound field object.
|
void |
beginRoot(java.lang.Object compound)
Called for the root compound zserio object which is to be walked-through.
|
void |
endArray(java.lang.Object array,
FieldInfo fieldInfo)
Called at the end of an array.
|
void |
endCompound(java.lang.Object compound,
FieldInfo fieldInfo,
int elementIndex)
Called at the end of just walked compound object.
|
void |
endRoot(java.lang.Object compound)
Called at the end of just walked root compound zserio object.
|
void |
visitValue(java.lang.Object value,
FieldInfo fieldInfo,
int elementIndex)
Called when a simple (or an unset compound - i.e.
|
public void beginRoot(java.lang.Object compound)
WalkObserverbeginRoot in interface WalkObservercompound - Root compound zserio object.public void endRoot(java.lang.Object compound)
WalkObserverendRoot in interface WalkObservercompound - Root compound zserio object.public void beginArray(java.lang.Object array,
FieldInfo fieldInfo)
WalkObserverbeginArray in interface WalkObserverarray - Zserio array.fieldInfo - Array field info.public void endArray(java.lang.Object array,
FieldInfo fieldInfo)
WalkObserverendArray in interface WalkObserverarray - Zserio array.fieldInfo - Array field info.public void beginCompound(java.lang.Object compound,
FieldInfo fieldInfo,
int elementIndex)
WalkObserverbeginCompound in interface WalkObservercompound - Compound zserio object.fieldInfo - Compound field info.elementIndex - Element index in array or NOT_ELEMENT if the compound is not in array.public void endCompound(java.lang.Object compound,
FieldInfo fieldInfo,
int elementIndex)
WalkObserverendCompound in interface WalkObservercompound - Compound zserio object.fieldInfo - Compound field info.elementIndex - Element index in array or NOT_ELEMENT if the compound is not in array.public void visitValue(java.lang.Object value,
FieldInfo fieldInfo,
int elementIndex)
WalkObservervisitValue in interface WalkObservervalue - Simple value.fieldInfo - Field info of the simple value.elementIndex - Element index in array or NOT_ELEMENT if the compound is not in array.Last updated 2025-10-02 14:26:25