Interface AnnotationSchemaNodeAware
- All Known Subinterfaces:
AnnotationSchemaNodeAwareSchemaContext
@Beta
public interface AnnotationSchemaNodeAware
Interface for entities which can lookup
AnnotationSchemaNodes 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- ifqnameis null
-