@Beta
public interface AnnotationSchemaNode
extends org.opendaylight.yangtools.yang.model.api.UnknownSchemaNode, org.opendaylight.yangtools.yang.model.api.TypeAware
| Modifier and Type | Method and Description |
|---|---|
static Optional<AnnotationSchemaNode> |
find(org.opendaylight.yangtools.yang.model.api.SchemaContext context,
org.opendaylight.yangtools.yang.common.QName qname)
Find specified annotation if it is supported by the specified SchemaContext.
|
static Map<org.opendaylight.yangtools.yang.common.QName,AnnotationSchemaNode> |
findAll(org.opendaylight.yangtools.yang.model.api.SchemaContext context)
Find all annotations supported by a SchemaContext.
|
getExtensionDefinition, getNodeParameter, getNodeType, isAddedByAugmentationgetPath, getQNamegetStatusgetDescription, getReference, getUnknownSchemaNodesstatic Optional<AnnotationSchemaNode> find(org.opendaylight.yangtools.yang.model.api.SchemaContext context, org.opendaylight.yangtools.yang.common.QName qname)
context - SchemaContext to searchqname - Annotation nameAnnotationSchemaNode corresponding to specified name, or empty if it is not supported
by the SchemaContext..NullPointerException - if any of the arguments is nullstatic Map<org.opendaylight.yangtools.yang.common.QName,AnnotationSchemaNode> findAll(org.opendaylight.yangtools.yang.model.api.SchemaContext context)
context - SchemaContext to searchAnnotationSchemaNodes supported by the SchemaContext..NullPointerException - if context is nullCopyright © 2018 OpenDaylight. All rights reserved.