Interface DomainOutputRenderer

  • All Superinterfaces:
    DomainRenderer

    public interface DomainOutputRenderer
    extends DomainRenderer
    Used to render markup that represents how single domain class property will be displayed
    • Method Detail

      • renderListOutput

        groovy.lang.Closure renderListOutput​(DomainProperty property)
        Defines how a given domain class property will be rendered in the context of a list of domains class instances
        Parameters:
        property - The domain property to be rendered
        Returns:
        The closure to be passed to an instance of MarkupBuilder
      • renderOutput

        groovy.lang.Closure renderOutput​(DomainProperty property)
        Defines how a given domain class property will be rendered in the context of a single domain class instance
        Parameters:
        property - The domain property to be rendered
        Returns:
        The closure to be passed to an instance of MarkupBuilder