Class NormalizedNodeSchemaUtils
java.lang.Object
org.opendaylight.yangtools.yang.data.util.NormalizedNodeSchemaUtils
-
Method Summary
Modifier and TypeMethodDescriptionstatic Optional<CaseSchemaNode>
detectCase
(ChoiceSchemaNode schema, AugmentationNode child) static Optional<CaseSchemaNode>
detectCase
(ChoiceSchemaNode schema, DataContainerChild child) static AugmentationSchemaNode
findCorrespondingAugment
(DataSchemaNode parent, DataSchemaNode child) Tries to find inparent
which is dealed as augmentation target node with QName aschild
.
-
Method Details
-
detectCase
public static Optional<CaseSchemaNode> detectCase(ChoiceSchemaNode schema, DataContainerChild child) -
detectCase
-
findCorrespondingAugment
public static AugmentationSchemaNode findCorrespondingAugment(DataSchemaNode parent, DataSchemaNode child) Tries to find inparent
which is dealed as augmentation target node with QName aschild
. If such node is found then it is returned, else null.- Parameters:
parent
- parent nodechild
- child node- Returns:
- augmentation schema
-