Class AbstractRenderer
java.lang.Object
org.hibernate.models.rendering.spi.AbstractRenderer
- All Implemented Interfaces:
Renderer
- Direct Known Subclasses:
SimpleRenderer
Base support for Renderer implementations. Handles rendering of annotations.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected abstract RenderingTarget<A extends Annotation>
voidrenderAnnotation(A annotation, ModelsContext context) Render details about the annotation (top-level)voidrenderClass(ClassDetails classDetails, ModelsContext context) Render details about the classprotected abstract voidrenderClassDetails(ClassDetails classDetails, ModelsContext context) voidrenderField(FieldDetails fieldDetails, ModelsContext context) Render details about the fieldprotected abstract voidrenderFieldDetails(FieldDetails fieldDetails, ModelsContext context) voidrenderMethod(MethodDetails methodDetails, ModelsContext context) Render details about the methodprotected abstract voidrenderMethodDetails(MethodDetails methodDetails, ModelsContext context) <A extends Annotation>
voidrenderNestedAnnotation(A annotation, ModelsContext context) Render details about the unnamed nested annotation.<A extends Annotation>
voidrenderNestedAnnotation(String name, A annotation, ModelsContext context) Render details about the named nested annotation.voidrenderRecordComponent(RecordComponentDetails recordComponentDetails, ModelsContext context) Render details about the record componentprotected abstract voidrenderRecordComponentDetails(RecordComponentDetails recordComponentDetails, ModelsContext context)
-
Constructor Details
-
AbstractRenderer
public AbstractRenderer()
-
-
Method Details
-
getRenderingTarget
-
renderClass
Description copied from interface:RendererRender details about the class- Specified by:
renderClassin interfaceRenderer
-
renderClassDetails
-
renderField
Description copied from interface:RendererRender details about the field- Specified by:
renderFieldin interfaceRenderer
-
renderFieldDetails
-
renderMethod
Description copied from interface:RendererRender details about the method- Specified by:
renderMethodin interfaceRenderer
-
renderMethodDetails
-
renderRecordComponent
public void renderRecordComponent(RecordComponentDetails recordComponentDetails, ModelsContext context) Description copied from interface:RendererRender details about the record component- Specified by:
renderRecordComponentin interfaceRenderer
-
renderRecordComponentDetails
protected abstract void renderRecordComponentDetails(RecordComponentDetails recordComponentDetails, ModelsContext context) -
renderAnnotation
Description copied from interface:RendererRender details about the annotation (top-level)- Specified by:
renderAnnotationin interfaceRenderer
-
renderNestedAnnotation
public <A extends Annotation> void renderNestedAnnotation(String name, A annotation, ModelsContext context) Description copied from interface:RendererRender details about the named nested annotation.- Specified by:
renderNestedAnnotationin interfaceRenderer
-
renderNestedAnnotation
Description copied from interface:RendererRender details about the unnamed nested annotation.- Specified by:
renderNestedAnnotationin interfaceRenderer
-