content
The field for the
content record component.description - a non-null String that describes the content of this nodeattributes - a non-null Map that describes the metadata of this objectcontent - a nullable object: a List of Node, a String or a Numberprivate final Attributesattributes record component.private final Objectcontent record component.private final Stringdescription record component.Node(String description,
Attributes attributes,
Object content) Node record class.voidassertNode(String description,
Supplier<String> error) attributes record component.children()content()content record component.Optional<byte[]> description record component.booleanfindNode()private static AttributesgetAttributesOrThrow(Map<?,?> attributes) private static Collection<Node> getNodesOrThrow(Node[] entries) private static Collection<Node> getNodesOrThrow(Collection<?> entries) booleanbooleanhasDescription(String description) final inthashCode()booleanid()static Nodestatic Nodeof(String description,
Attributes attributes,
Node... content) static Nodeof(String description,
Attributes attributes,
Object content) static Nodestatic Nodestatic Nodestatic Nodeintsize()toJson()toString()description record component.attributes record component.content record component.Node record class.description - the value for the description record componentattributes - the value for the attributes record componentcontent - the value for the content record componentdescription - a non-null String that describes the data that this object holdsdescription - a non-null String that describes the data that this object holdscontent - any number of non-null nodesdescription - a non-null String that describes the data that this object holdsattributes - the attributes of this nodecontent - any number of non-null nodesdescription - a non-null String that describes the data that this object holdsattributes - the attributes of this nodecontent - any number of non-null nodesdescription - a non-null String that describes the data that this object holdsattributes - the attributes of this nodecontent - any number of non-null nodesdescription - a non-null String that describes the data that this object holdsattributes - the attributes of this nodecontent - any number of non-null nodesdescription - the non-null description to check againstdescription - the nullable descriptiondescription - the nullable descriptiondescription record component.description record componentattributes record component.attributes record componentcontent record component.content record component