| Modifier and Type | Method and Description |
|---|---|
| public Object | Returns: the object child node valuethe child node identifier childNodeName, Object the object to read the child node from object)Returns the value of the given object child node, the child node being identified by the childNodeName parameter. |
| public Set | Returns: the names of the children nodes of the given objectthe object to get the child nodes from node)Returns the names of the children nodes of the given object that will be used in the recursive comparison. |
| public default String | Returns: a description of the strategyReturns a human-readable description of the strategy to be used in error messages. |
| getChildNodeValue | back to summary |
|---|---|
| public Object getChildNodeValue(String childNodeName, Object object) Returns the value of the given object child node, the child node being identified by the childNodeName parameter. It's the implementor choice how to resolve the child node value, a typical implementation consists of considering childNodeName to be a field name and then use introspection to read the field value, but if the object is a Map the implementation could consider the child node name to be a key of the map. | |
| getChildrenNodeNamesOf | back to summary |
|---|---|
| public Set Returns the names of the children nodes of the given object that will be used in the recursive comparison. A typical implementation could look at the object fields or properties. | |
| getDescription | back to summary |
|---|---|
| public default String getDescription() Returns a human-readable description of the strategy to be used in error messages.
The default implementation returns
| |