@groovy.transform.CompileStatic class DefaultXmlRenderer<T> extends java.lang.Object implements Renderer<T>
Default renderer for XML responses
Modifiers | Name | Description |
---|---|---|
private java.lang.String |
encoding |
|
private org.grails.web.gsp.io.GrailsConventionGroovyPageLocator |
groovyPageLocator |
|
private MimeType[] |
mimeTypes |
|
private java.lang.String |
namedConfiguration |
|
private RendererRegistry |
rendererRegistry |
|
private java.lang.Class<T> |
targetType |
Type | Name and description |
---|---|
java.lang.String |
encoding |
org.grails.web.gsp.io.GrailsConventionGroovyPageLocator |
groovyPageLocator |
MimeType[] |
mimeTypes |
java.lang.String |
namedConfiguration |
RendererRegistry |
rendererRegistry |
java.lang.Class<T> |
targetType |
Constructor and description |
---|
DefaultXmlRenderer
(java.lang.Class<T> targetType) |
DefaultXmlRenderer
(java.lang.Class<T> targetType, MimeType[] mimeTypes) |
DefaultXmlRenderer
(java.lang.Class<T> targetType, org.grails.web.gsp.io.GrailsConventionGroovyPageLocator groovyPageLocator) |
DefaultXmlRenderer
(java.lang.Class<T> targetType, org.grails.web.gsp.io.GrailsConventionGroovyPageLocator groovyPageLocator, RendererRegistry rendererRegistry) |
Type Params | Return Type | Name and description |
---|---|---|
|
void |
render(java.lang.Object object, RenderContext context) |
|
protected void |
renderXml(java.lang.Object object, RenderContext context) Subclasses should override to customize XML response rendering |
|
protected void |
renderXml(grails.converters.XML converter, RenderContext context) Subclasses should override to customize XML response rendering |
Methods inherited from class | Name |
---|---|
class java.lang.Object |
java.lang.Object#wait(long, int), java.lang.Object#wait(), java.lang.Object#wait(long), java.lang.Object#equals(java.lang.Object), java.lang.Object#toString(), java.lang.Object#hashCode(), java.lang.Object#getClass(), java.lang.Object#notify(), java.lang.Object#notifyAll() |
Subclasses should override to customize XML response rendering
Subclasses should override to customize XML response rendering
Groovy Documentation