public class ReferenceUtil extends Object
Constructor and Description |
---|
ReferenceUtil() |
Modifier and Type | Method and Description |
---|---|
static boolean |
canResolveRef(String $ref,
Node from)
Returns true only if the given reference can be resolved relative to the given document.
|
static boolean |
hasValue(Object value)
Check if the property value exists (is not undefined and is not null).
|
static Node |
resolveNodeRef(Node node)
Resolves a node reference.
|
static Node |
resolveRef(String $ref,
Node from)
Resolves a reference from a relative position in the data model.
|
public static Node resolveNodeRef(Node node)
public static Node resolveRef(String $ref, Node from)
$ref
- from
- public static boolean canResolveRef(String $ref, Node from)
$ref
- from
- public static boolean hasValue(Object value)
value
- Copyright © 2021 Red Hat. All rights reserved.