Package name.martingeisse.grumpyjson
Class FieldErrorNode.Field
java.lang.Object
name.martingeisse.grumpyjson.FieldErrorNode
name.martingeisse.grumpyjson.FieldErrorNode.Field
- Enclosing class:
FieldErrorNode
A node that specifies a single field nesting level for its subtree.
-
Nested Class Summary
Nested classes/interfaces inherited from class name.martingeisse.grumpyjson.FieldErrorNode
FieldErrorNode.Field, FieldErrorNode.FlattenedError, FieldErrorNode.InternalException, FieldErrorNode.Message, FieldErrorNode.Siblings -
Method Summary
Modifier and TypeMethodDescriptionprotected voidflatten(List<FieldErrorNode.FlattenedError> errors, List<String> segments) NOT PUBLIC APIgetName()Getter method for the field name under which the subtree is nested.getNode()Getter method for the local root node of the subtree which is nested under the field.
-
Method Details
-
getName
Getter method for the field name under which the subtree is nested.- Returns:
- the field name
-
getNode
Getter method for the local root node of the subtree which is nested under the field.- Returns:
- the subtree root
-
flatten
Description copied from class:FieldErrorNodeNOT PUBLIC API- Specified by:
flattenin classFieldErrorNode- Parameters:
errors- ...segments- ...
-