public final class DefaultWalkFilter extends java.lang.Object implements WalkFilter
Constructor and Description |
---|
DefaultWalkFilter() |
Modifier and Type | Method and Description |
---|---|
boolean |
afterArray(java.lang.Object array,
FieldInfo fieldInfo)
Called after an array.
|
boolean |
afterCompound(java.lang.Object compound,
FieldInfo fieldInfo,
int elementIndex)
Called after a compound object.
|
boolean |
afterValue(java.lang.Object value,
FieldInfo fieldInfo,
int elementIndex)
Called after a simple value.
|
boolean |
beforeArray(java.lang.Object array,
FieldInfo fieldInfo)
Called before an array.
|
boolean |
beforeCompound(java.lang.Object compound,
FieldInfo fieldInfo,
int elementIndex)
Called before a compound object.
|
boolean |
beforeValue(java.lang.Object value,
FieldInfo fieldInfo,
int elementIndex)
Called before a simple (or an unset compound - i.e.
|
public boolean beforeArray(java.lang.Object array, FieldInfo fieldInfo)
WalkFilter
beforeArray
in interface WalkFilter
array
- Zserio array.fieldInfo
- Array field info.public boolean afterArray(java.lang.Object array, FieldInfo fieldInfo)
WalkFilter
afterArray
in interface WalkFilter
array
- Zserio array.fieldInfo
- Array field info.public boolean beforeCompound(java.lang.Object compound, FieldInfo fieldInfo, int elementIndex)
WalkFilter
beforeCompound
in interface WalkFilter
compound
- Compound zserio object.fieldInfo
- Compound field info.elementIndex
- Element index in array or NOT_ELEMENT if the compound is not in array.public boolean afterCompound(java.lang.Object compound, FieldInfo fieldInfo, int elementIndex)
WalkFilter
afterCompound
in interface WalkFilter
compound
- Compound zserio object.fieldInfo
- Compound field info.elementIndex
- Element index in array or NOT_ELEMENT if the compound is not in array.public boolean beforeValue(java.lang.Object value, FieldInfo fieldInfo, int elementIndex)
WalkFilter
beforeValue
in interface WalkFilter
value
- Simple value.fieldInfo
- Field info of the value.elementIndex
- Element index in array or NOT_ELEMENT if the compound is not in array.public boolean afterValue(java.lang.Object value, FieldInfo fieldInfo, int elementIndex)
WalkFilter
afterValue
in interface WalkFilter
value
- Simple value.fieldInfo
- Field info of the value.elementIndex
- Element index in array or NOT_ELEMENT if the compound is not in array.Last updated 2024-12-05 10:34:50