
org.grails.scaffolding.registry.DomainOutputRenderer.groovy Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of fields Show documentation
Show all versions of fields Show documentation
Fields integration for Grails
The newest version!
package org.grails.scaffolding.registry
import org.grails.scaffolding.model.property.DomainProperty
/**
* Used to render markup that represents how single domain class property will be displayed
*
* @author James Kleeh
*/
interface DomainOutputRenderer extends DomainRenderer {
/**
* Defines how a given domain class property will be rendered in the context of a list of domains class instances
*
* @param property The domain property to be rendered
* @return The closure to be passed to an instance of {@link groovy.xml.MarkupBuilder}
*/
Closure renderListOutput(DomainProperty property)
/**
* Defines how a given domain class property will be rendered in the context of a single domain class instance
*
* @param property The domain property to be rendered
* @return The closure to be passed to an instance of {@link groovy.xml.MarkupBuilder}
*/
Closure renderOutput(DomainProperty property)
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy