/** * Retrieve all JSON nodes of the extension attribute referenced by the * provided path. Equivalent to using the * {@link JsonUtils#findMatchingPaths(Path, ObjectNode)} * method: JsonUtils.getValues(Path.fromString(path), * getExtensionObjectNode()). * * The {@link JsonUtils#nodeToValue(JsonNode, Class)} method may be used to * bind the retrieved JSON node into specific value type instances. * * @param path The path to the attribute whose value to retrieve. * * @return List of all JSON nodes referenced by the provided path. * @throws ScimException If the path is invalid. */ public List<JsonNode> getExtensionValues(final String path) throws ScimException { return getExtensionValues(Path.fromString(path)); }
/** * Retrieve all JSON nodes of the extension attribute referenced by the * provided path. Equivalent to using the * {@link JsonUtils#findMatchingPaths(Path, ObjectNode)} * method: JsonUtils.getValues(Path.fromString(path), * getExtensionObjectNode()). * * The {@link JsonUtils#nodeToValue(JsonNode, Class)} method may be used to * bind the retrieved JSON node into specific value type instances. * * @param path The path to the attribute whose value to retrieve. * * @return List of all JSON nodes referenced by the provided path. * @throws ScimException If the path is invalid. */ public List<JsonNode> getExtensionValues(final String path) throws ScimException { return getExtensionValues(Path.fromString(path)); }