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