// If the previously available node is not a parent of the specified
// node create a new node under the specified parent and set that
// as the node of the specified element.
// If the previously available node is not a parent of the specified
// node create a new node under the specified parent and set that
// as the node of the specified element.
node = nodeId != null ? withParentNode.getOrCreateNode(nodeId, nodeClass) : withParentNode.addNode(nodeClass);
forElement.setHint(withNodeKey, node);
if (nodeCreationCallback != null)
node = nodeId != null ? withParentNode.getOrCreateNode(nodeId, nodeClass) : withParentNode.addNode(nodeClass);
forElement.setHint(withNodeKey, node);
if (nodeCreationCallback != null)