Interface AnnotationSchemaNodeAware
- All Known Subinterfaces:
AnnotationSchemaNodeAwareSchemaContext
- All Known Implementing Classes:
EffectiveSchemaContext
,SimpleSchemaContext
Interface for entities which can lookup
AnnotationSchemaNode
s based on their name.- Author:
- Robert Varga
-
Method Summary
Modifier and TypeMethodDescription@NonNull Optional<AnnotationSchemaNode>
findAnnotation
(QName qname) Find an annotation based on its QName.
-
Method Details
-
findAnnotation
Find an annotation based on its QName.- Parameters:
qname
- Annotation name- Returns:
- AnnotationSchemaNode if found
- Throws:
NullPointerException
- ifqname
is null
-