Class NormalizedNodeSchemaUtils
- java.lang.Object
-
- org.opendaylight.yangtools.yang.data.util.NormalizedNodeSchemaUtils
-
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static 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 Detail
-
detectCase
public static Optional<CaseSchemaNode> detectCase(ChoiceSchemaNode schema, DataContainerChild child)
-
detectCase
public static Optional<CaseSchemaNode> detectCase(ChoiceSchemaNode schema, AugmentationNode child)
-
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
-
-