public static interface DocumentFactoryBuilder.Navigate
|Modifier and Type||Method and Description|
Plugin works by accepting parent object, current evaluated object, member used for navigation and detected metadata.
java.lang.Object navigate(java.lang.Object parent, java.lang.Object value, java.lang.String member, java.lang.String metadata)
Plugin works by accepting parent object, current evaluated object, member used for navigation and detected metadata. It is only invoked when metadata is present and custom navigation separator is specified.
By default value is provided by member evaluation of parent object. This means method or field evaluation, or value access in Map via key/member.
Metadata is extracted between navigation separator and navigation char. Example tag for semicolon navigation separator (:) and default navigation char (.):
will navigate from root object over items member and
This way plugin can intercept default navigation over items member
and instead of returning list will return second element of the list as a result.
All registered plugins will be called.
parent- parent object instance
value- current result of navigation
member- member specified in tag for navigation
metadata- metadata part for navigation