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