Interface LeafrefResolver
- All Known Implementing Classes:
NormalizedNodeStreamWriterStack
,SchemaInferenceStack
- Functional Interface:
- This is a functional interface and can therefore be used as the assignment target for a lambda expression or method reference.
Helper interface aiding resolution of
type leafref
chains.-
Method Summary
Modifier and TypeMethodDescription@NonNull TypeDefinition<?>
resolveLeafref
(@NonNull LeafrefTypeDefinition type) Resolve specifiedLeafrefTypeDefinition
until a non-leafref
type is found.
-
Method Details
-
resolveLeafref
Resolve specifiedLeafrefTypeDefinition
until a non-leafref
type is found.- Parameters:
type
- leafref definition- Returns:
- Resolved type
- Throws:
NullPointerException
- iftype
is nullIllegalArgumentException
- if the type definition cannot be resolved
-