of

public static NodePath of(Array<String> pathElements)

Creates a NodePath by joining the given elements.

The elements are also checked for illegal path symbols. Such symbols ([, ], ., $, #) are replaced with the - (hyphen) symbol.

Return

the path

Parameters

pathElements

the elements of a database path


public static NodePath of(String path)

Creates a NodePath from the given string.

The path string is checked for illegal path symbols. Such symbols ([, ], ., $, #) are replaced with the - (hyphen) symbol.

Return

the path

Parameters

path

the path string