Interface NodeResolver.Factory

Enclosing interface:
NodeResolver

public static interface NodeResolver.Factory
Provides fields.
Since:
4.0.0
  • Method Summary

    Modifier and Type
    Method
    Description
    @Nullable NodeResolver
    make(String name, AnnotatedElement element)
    Create a function that resolves a child node from its parent.
  • Method Details

    • make

      @Nullable NodeResolver make(String name, AnnotatedElement element)
      Create a function that resolves a child node from its parent.
      Parameters:
      name - field name
      element - annotations on the field
      Returns:
      null to continue, NodeResolver.SKIP_FIELD to stop further processing and exclude this field from serialization, or a resolver for a node.
      Since:
      4.0.0