Class FieldErrorNode.Field

java.lang.Object
name.martingeisse.grumpyjson.FieldErrorNode
name.martingeisse.grumpyjson.FieldErrorNode.Field
Enclosing class:
FieldErrorNode

public static final class FieldErrorNode.Field extends FieldErrorNode
A node that specifies a single field nesting level for its subtree.
  • Method Details

    • getName

      public String getName()
      Getter method for the field name under which the subtree is nested.
      Returns:
      the field name
    • getNode

      public FieldErrorNode getNode()
      Getter method for the local root node of the subtree which is nested under the field.
      Returns:
      the subtree root
    • flatten

      protected void flatten(List<FieldErrorNode.FlattenedError> errors, List<String> segments)
      Description copied from class: FieldErrorNode
      NOT PUBLIC API
      Specified by:
      flatten in class FieldErrorNode
      Parameters:
      errors - ...
      segments - ...