Package org.apache.juneau.jsonschema
Interface JsonSchemaMetaProvider
- All Superinterfaces:
AnnotationProvider
- All Known Implementing Classes:
JsonSchemaGenerator
,JsonSchemaSerializer
,JsonSchemaSerializer.Readable
,JsonSchemaSerializer.Simple
,JsonSchemaSerializer.SimpleReadable
Interface for providing access to
JsonSchemaClassMeta
and JsonSchemaBeanPropertyMeta
objects.
See Also:
-
Field Summary
Fields inherited from interface org.apache.juneau.AnnotationProvider
DEFAULT, DISABLE_ANNOTATION_CACHING
-
Method Summary
Modifier and TypeMethodDescriptionReturns the language-specific metadata on the specified bean property.getJsonSchemaClassMeta
(ClassMeta<?> cm) Returns the language-specific metadata on the specified class.Methods inherited from interface org.apache.juneau.AnnotationProvider
firstAnnotation, firstAnnotation, firstAnnotation, firstAnnotation, firstDeclaredAnnotation, forEachAnnotation, forEachAnnotation, forEachAnnotation, forEachAnnotation, forEachDeclaredAnnotation, lastAnnotation, lastAnnotation, lastAnnotation, lastAnnotation, lastDeclaredAnnotation
-
Method Details
-
getJsonSchemaClassMeta
Returns the language-specific metadata on the specified class.- Parameters:
cm
- The class to return the metadata on.- Returns:
- The metadata.
-
getJsonSchemaBeanPropertyMeta
Returns the language-specific metadata on the specified bean property.- Parameters:
bpm
- The bean property to return the metadata on.- Returns:
- The metadata.
-