@Beta public interface AnnotationSchemaNode extends UnknownSchemaNode, TypeAware
DocumentedNode.WithStatus
Modifier and Type | Method and Description |
---|---|
static Optional<AnnotationSchemaNode> |
find(SchemaContext context,
QName qname)
Find specified annotation if it is supported by the specified SchemaContext.
|
static Map<QName,AnnotationSchemaNode> |
findAll(SchemaContext context)
Find all annotations supported by a SchemaContext.
|
getExtensionDefinition, getNodeParameter, getNodeType, isAddedByAugmentation
getPath, getQName
getStatus
getDescription, getReference, getUnknownSchemaNodes
isAddedByUses
static Optional<AnnotationSchemaNode> find(SchemaContext context, 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<QName,AnnotationSchemaNode> findAll(SchemaContext context)
context
- SchemaContext to searchAnnotationSchemaNode
s supported by the SchemaContext..NullPointerException
- if context is nullCopyright © 2019 OpenDaylight. All rights reserved.