public final class RegexWalkFilter extends java.lang.Object implements WalkFilter
| Constructor and Description |
|---|
RegexWalkFilter(java.lang.String pathRegex)
Constructor.
|
| 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 RegexWalkFilter(java.lang.String pathRegex)
pathRegex - Path regex to use for filtering.public boolean beforeArray(java.lang.Object array,
FieldInfo fieldInfo)
WalkFilterbeforeArray in interface WalkFilterarray - Zserio array.fieldInfo - Array field info.public boolean afterArray(java.lang.Object array,
FieldInfo fieldInfo)
WalkFilterafterArray in interface WalkFilterarray - Zserio array.fieldInfo - Array field info.public boolean beforeCompound(java.lang.Object compound,
FieldInfo fieldInfo,
int elementIndex)
WalkFilterbeforeCompound in interface WalkFiltercompound - 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)
WalkFilterafterCompound in interface WalkFiltercompound - 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)
WalkFilterbeforeValue in interface WalkFiltervalue - 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)
WalkFilterafterValue in interface WalkFiltervalue - 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 2025-10-02 14:26:25