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