diff --git a/.gitignore b/.gitignore index ae0c7ec..554f9f7 100644 --- a/.gitignore +++ b/.gitignore @@ -4,4 +4,6 @@ docs *.log *.zip .DS_Store -grails-rendering-* \ No newline at end of file +.idea +*.iml +grails-rendering-* diff --git a/RenderingGrailsPlugin.groovy b/RenderingGrailsPlugin.groovy index b3c14ba..2ead220 100644 --- a/RenderingGrailsPlugin.groovy +++ b/RenderingGrailsPlugin.groovy @@ -15,7 +15,7 @@ */ class RenderingGrailsPlugin { - def version = "0.4.3" + def version = "0.4.4" def grailsVersion = "1.2.0 > *" def dependsOn = [:] diff --git a/_layouts/main.html b/_layouts/main.html new file mode 100644 index 0000000..22a3973 --- /dev/null +++ b/_layouts/main.html @@ -0,0 +1,57 @@ + + + +
+ +Version | +0.4.3 | + |
Grails Version | +1.2.0 > * | +|
Author | +Grails Plugin Collective | +
+
+
|
++Groovy Documentation + | +|||||||
+ | + FRAMES + NO FRAMES + + + + | + +|||||||
+SUMMARY: NESTED | FIELD | PROPERTY | CONSTR | METHOD | ++DETAIL: FIELD | PROPERTY | CONSTR | METHOD | +
java.lang.Object +BackgroundRenderingService +
class BackgroundRenderingService + ++ + + + + + + + + + + + + + + + + + + + + +
+ Property Summary | +|
---|---|
+ java.lang.Object |
+
+ pdfRenderingService
+ + + |
+
+ Constructor Summary | +|
+ BackgroundRenderingService()
+ + + |
+
+ Method Summary | +|
---|---|
+ java.lang.Object
+ |
+
+ fireEvent(java.lang.Object errorHolder)
+ + + |
+
+ void
+ |
+
+ onApplicationEvent(RenderEvent event)
+ + + |
+
+ Methods inherited from class java.lang.Object + | |
---|---|
java.lang.Object#wait(), java.lang.Object#wait(long), java.lang.Object#wait(long, int), 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() |
+ + + + + + + + + + + + + + + +
+ Property Detail | +
---|
java.lang.Object pdfRenderingService+
+
+ Constructor Detail | +
---|
BackgroundRenderingService()+
+
+ Method Detail | +
---|
java.lang.Object fireEvent(java.lang.Object errorHolder)+
+
void onApplicationEvent(RenderEvent event)+
+
Groovy Documentation
+
+
+
|
++Groovy Documentation + | +|||||||
+ | + FRAMES + NO FRAMES + + + + | + +|||||||
+SUMMARY: NESTED | FIELD | PROPERTY | CONSTR | METHOD | ++DETAIL: FIELD | PROPERTY | CONSTR | METHOD | +
java.lang.Object +spock.lang.Specification +
grails.plugin.spock.IntegrationSpec +
BackgroundRenderingSpec +
class BackgroundRenderingSpec +extends grails.plugin.spock.IntegrationSpec + ++ + + + + + + + + + + + + + + +
+ Field Summary | +
---|
+ Fields inherited from class grails.plugin.spock.IntegrationSpec + | |
---|---|
$spock_sharedInstance, __timeStamp, __timeStamp__239_neverHappen1292003085656, _ |
+ Fields inherited from class spock.lang.Specification + | |
---|---|
_ |
+ Property Summary | +|
---|---|
+ java.lang.Object |
+
+ backgroundRenderingService
+ + + |
+
+ Constructor Summary | +|
+ BackgroundRenderingSpec()
+ + + |
+
+ Method Summary | +|
---|---|
+ java.lang.Object
+ |
+
+ background render()
+ + + |
+
+ Methods inherited from class grails.plugin.spock.IntegrationSpec + | |
---|---|
grails.plugin.spock.IntegrationSpec#setProperty(java.lang.String, java.lang.Object), grails.plugin.spock.IntegrationSpec#getProperty(java.lang.String), grails.plugin.spock.IntegrationSpec#invokeMethod(java.lang.String, java.lang.Object), grails.plugin.spock.IntegrationSpec#getMetaClass(), grails.plugin.spock.IntegrationSpec#setMetaClass(groovy.lang.MetaClass), grails.plugin.spock.IntegrationSpec#super, grails.plugin.spock.IntegrationSpec#super, grails.plugin.spock.IntegrationSpec#super, grails.plugin.spock.IntegrationSpec#super, grails.plugin.spock.IntegrationSpec#super, grails.plugin.spock.IntegrationSpec#super, grails.plugin.spock.IntegrationSpec#super, grails.plugin.spock.IntegrationSpec#super, grails.plugin.spock.IntegrationSpec#super, grails.plugin.spock.IntegrationSpec#super, grails.plugin.spock.IntegrationSpec#super, grails.plugin.spock.IntegrationSpec#this, grails.plugin.spock.IntegrationSpec#this, grails.plugin.spock.IntegrationSpec#this, grails.plugin.spock.IntegrationSpec#this, grails.plugin.spock.IntegrationSpec#this, grails.plugin.spock.IntegrationSpec#this, grails.plugin.spock.IntegrationSpec#this, grails.plugin.spock.IntegrationSpec#super, grails.plugin.spock.IntegrationSpec#super, grails.plugin.spock.IntegrationSpec#super, grails.plugin.spock.IntegrationSpec#super, grails.plugin.spock.IntegrationSpec#super, grails.plugin.spock.IntegrationSpec#super, grails.plugin.spock.IntegrationSpec#super, grails.plugin.spock.IntegrationSpec#super, grails.plugin.spock.IntegrationSpec#this, grails.plugin.spock.IntegrationSpec#this, grails.plugin.spock.IntegrationSpec#this, grails.plugin.spock.IntegrationSpec#old(java.lang.Object), grails.plugin.spock.IntegrationSpec#thrown(java.lang.Class), grails.plugin.spock.IntegrationSpec#thrown(), grails.plugin.spock.IntegrationSpec#notThrown(java.lang.Class), grails.plugin.spock.IntegrationSpec#noExceptionThrown(), grails.plugin.spock.IntegrationSpec#Mock(), grails.plugin.spock.IntegrationSpec#Mock(java.lang.Class), grails.plugin.spock.IntegrationSpec#interaction(groovy.lang.Closure), grails.plugin.spock.IntegrationSpec#wait(), grails.plugin.spock.IntegrationSpec#wait(long), grails.plugin.spock.IntegrationSpec#wait(long, int), grails.plugin.spock.IntegrationSpec#equals(java.lang.Object), grails.plugin.spock.IntegrationSpec#toString(), grails.plugin.spock.IntegrationSpec#hashCode(), grails.plugin.spock.IntegrationSpec#getClass(), grails.plugin.spock.IntegrationSpec#notify(), grails.plugin.spock.IntegrationSpec#notifyAll() |
+ Methods inherited from class spock.lang.Specification + | |
---|---|
spock.lang.Specification#old(java.lang.Object), spock.lang.Specification#thrown(java.lang.Class), spock.lang.Specification#thrown(), spock.lang.Specification#notThrown(java.lang.Class), spock.lang.Specification#noExceptionThrown(), spock.lang.Specification#Mock(), spock.lang.Specification#Mock(java.lang.Class), spock.lang.Specification#interaction(groovy.lang.Closure), spock.lang.Specification#wait(), spock.lang.Specification#wait(long), spock.lang.Specification#wait(long, int), spock.lang.Specification#equals(java.lang.Object), spock.lang.Specification#toString(), spock.lang.Specification#hashCode(), spock.lang.Specification#getClass(), spock.lang.Specification#notify(), spock.lang.Specification#notifyAll() |
+ Methods inherited from class java.lang.Object + | |
---|---|
java.lang.Object#wait(), java.lang.Object#wait(long), java.lang.Object#wait(long, int), 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() |
+ + + + + + + + + + + + + + + +
+ Property Detail | +
---|
java.lang.Object backgroundRenderingService+
+
+ Constructor Detail | +
---|
BackgroundRenderingSpec()+
+
+ Method Detail | +
---|
java.lang.Object background render()+
+
Groovy Documentation
+
+
+
|
++Groovy Documentation + | +|||||||
+ | + FRAMES + NO FRAMES + + + + | + +|||||||
+SUMMARY: NESTED | FIELD | CONSTR | METHOD | ++DETAIL: FIELD | CONSTR | METHOD | +
java.lang.Object +FunctionalSpec +
ControllerRelativeTemplateSpec +
class ControllerRelativeTemplateSpec +extends FunctionalSpec + ++ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ Constructor Summary | +|
+ ControllerRelativeTemplateSpec()
+ + + |
+
+ Method Summary | +|
---|---|
+ java.lang.Object
+ |
+
+ accessingControllerRelativeTemplateWorks()
+ + + |
+
+ + + + + + + + + + + + + + + + + + + + + + + + + +
+ Constructor Detail | +
---|
ControllerRelativeTemplateSpec()+
+
+ Method Detail | +
---|
java.lang.Object accessingControllerRelativeTemplateWorks()+
+
Groovy Documentation
+
+
+
|
++Groovy Documentation + | +|||||||
+ | + FRAMES + NO FRAMES + + + + | + +|||||||
+SUMMARY: NESTED | FIELD | CONSTR | METHOD | ++DETAIL: FIELD | CONSTR | METHOD | +
java.lang.Object +DataUri +
class DataUri + ++ + + + + + + + + + + + + + + + +
+ Field Summary | +|
---|---|
+ private boolean |
+
+ base64
+ + + |
+
+ private java.lang.String |
+
+ charset
+ + + |
+
+ private java.lang.String |
+
+ data
+ + + |
+
+ private java.lang.String |
+
+ mimeType
+ + + |
+
+ Constructor Summary | +|
+ DataUri(java.lang.String uri)
+ + + |
+
+ Method Summary | +|
---|---|
+ protected void
+ |
+
+ determineParts(java.lang.String value)
+ + + |
+
+ byte[]
+ |
+
+ getBytes()
+ + + |
+
+ java.io.InputStream
+ |
+
+ getInputStream()
+ + + |
+
+ static boolean
+ |
+
+ isDataUri(java.lang.String uri)
+ + + |
+
+ protected void
+ |
+
+ processMetadata(String[] metadataPieces)
+ + + |
+
+ Methods inherited from class java.lang.Object + | |
---|---|
java.lang.Object#wait(), java.lang.Object#wait(long), java.lang.Object#wait(long, int), 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() |
+ Field Detail | +
---|
private boolean base64+
+
private java.lang.String charset+
+
private java.lang.String data+
+
private java.lang.String mimeType+
+
+ Constructor Detail | +
---|
DataUri(java.lang.String uri)+
+
+ Method Detail | +
---|
protected void determineParts(java.lang.String value)+
+
byte[] getBytes()+
+
java.io.InputStream getInputStream()+
+
static boolean isDataUri(java.lang.String uri)+
+
protected void processMetadata(String[] metadataPieces)+
+
Groovy Documentation
+
+
+
|
++Groovy Documentation + | +|||||||
+ | + FRAMES + NO FRAMES + + + + | + +|||||||
+SUMMARY: NESTED | FIELD | CONSTR | METHOD | ++DETAIL: FIELD | CONSTR | METHOD | +
java.lang.Object +org.xhtmlrenderer.swing.NaiveUserAgent +
org.xhtmlrenderer.pdf.ITextUserAgent +
DataUriAwareITextUserAgent +
class DataUriAwareITextUserAgent +extends org.xhtmlrenderer.pdf.ITextUserAgent + ++ + + + + + + + + + + + + + + + +
+ Field Summary | +|
---|---|
+ private static java.lang.Object |
+
+ log
+ + + |
+
+ Constructor Summary | +|
+ DataUriAwareITextUserAgent(org.xhtmlrenderer.pdf.ITextOutputDevice outputDevice)
+ + + |
+
+ Method Summary | +|
---|---|
+ org.xhtmlrenderer.resource.ImageResource
+ |
+
+ getImageResource(java.lang.String uri)
+ + + |
+
+ Methods inherited from class org.xhtmlrenderer.pdf.ITextUserAgent + | |
---|---|
org.xhtmlrenderer.pdf.ITextUserAgent#getSharedContext(), org.xhtmlrenderer.pdf.ITextUserAgent#setSharedContext(org.xhtmlrenderer.layout.SharedContext), org.xhtmlrenderer.pdf.ITextUserAgent#getImageResource(java.lang.String), org.xhtmlrenderer.pdf.ITextUserAgent#getBaseURL(), org.xhtmlrenderer.pdf.ITextUserAgent#resolveURI(java.lang.String), org.xhtmlrenderer.pdf.ITextUserAgent#shrinkImageCache(), org.xhtmlrenderer.pdf.ITextUserAgent#clearImageCache(), org.xhtmlrenderer.pdf.ITextUserAgent#getCSSResource(java.lang.String), org.xhtmlrenderer.pdf.ITextUserAgent#getXMLResource(java.lang.String), org.xhtmlrenderer.pdf.ITextUserAgent#getBinaryResource(java.lang.String), org.xhtmlrenderer.pdf.ITextUserAgent#isVisited(java.lang.String), org.xhtmlrenderer.pdf.ITextUserAgent#setBaseURL(java.lang.String), org.xhtmlrenderer.pdf.ITextUserAgent#documentStarted(), org.xhtmlrenderer.pdf.ITextUserAgent#documentLoaded(), org.xhtmlrenderer.pdf.ITextUserAgent#onLayoutException(java.lang.Throwable), org.xhtmlrenderer.pdf.ITextUserAgent#onRenderException(java.lang.Throwable), org.xhtmlrenderer.pdf.ITextUserAgent#wait(), org.xhtmlrenderer.pdf.ITextUserAgent#wait(long), org.xhtmlrenderer.pdf.ITextUserAgent#wait(long, int), org.xhtmlrenderer.pdf.ITextUserAgent#equals(java.lang.Object), org.xhtmlrenderer.pdf.ITextUserAgent#toString(), org.xhtmlrenderer.pdf.ITextUserAgent#hashCode(), org.xhtmlrenderer.pdf.ITextUserAgent#getClass(), org.xhtmlrenderer.pdf.ITextUserAgent#notify(), org.xhtmlrenderer.pdf.ITextUserAgent#notifyAll() |
+ Methods inherited from class org.xhtmlrenderer.swing.NaiveUserAgent + | |
---|---|
org.xhtmlrenderer.swing.NaiveUserAgent#getBaseURL(), org.xhtmlrenderer.swing.NaiveUserAgent#getImageResource(java.lang.String), org.xhtmlrenderer.swing.NaiveUserAgent#resolveURI(java.lang.String), org.xhtmlrenderer.swing.NaiveUserAgent#shrinkImageCache(), org.xhtmlrenderer.swing.NaiveUserAgent#clearImageCache(), org.xhtmlrenderer.swing.NaiveUserAgent#getCSSResource(java.lang.String), org.xhtmlrenderer.swing.NaiveUserAgent#getXMLResource(java.lang.String), org.xhtmlrenderer.swing.NaiveUserAgent#getBinaryResource(java.lang.String), org.xhtmlrenderer.swing.NaiveUserAgent#isVisited(java.lang.String), org.xhtmlrenderer.swing.NaiveUserAgent#setBaseURL(java.lang.String), org.xhtmlrenderer.swing.NaiveUserAgent#documentStarted(), org.xhtmlrenderer.swing.NaiveUserAgent#documentLoaded(), org.xhtmlrenderer.swing.NaiveUserAgent#onLayoutException(java.lang.Throwable), org.xhtmlrenderer.swing.NaiveUserAgent#onRenderException(java.lang.Throwable), org.xhtmlrenderer.swing.NaiveUserAgent#wait(), org.xhtmlrenderer.swing.NaiveUserAgent#wait(long), org.xhtmlrenderer.swing.NaiveUserAgent#wait(long, int), org.xhtmlrenderer.swing.NaiveUserAgent#equals(java.lang.Object), org.xhtmlrenderer.swing.NaiveUserAgent#toString(), org.xhtmlrenderer.swing.NaiveUserAgent#hashCode(), org.xhtmlrenderer.swing.NaiveUserAgent#getClass(), org.xhtmlrenderer.swing.NaiveUserAgent#notify(), org.xhtmlrenderer.swing.NaiveUserAgent#notifyAll() |
+ Methods inherited from class java.lang.Object + | |
---|---|
java.lang.Object#wait(), java.lang.Object#wait(long), java.lang.Object#wait(long, int), 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() |
+ Field Detail | +
---|
private static java.lang.Object log+
+
+ Constructor Detail | +
---|
DataUriAwareITextUserAgent(org.xhtmlrenderer.pdf.ITextOutputDevice outputDevice)+
+
+ Method Detail | +
---|
org.xhtmlrenderer.resource.ImageResource getImageResource(java.lang.String uri)+
+
Groovy Documentation
+
+
+
|
++Groovy Documentation + | +|||||||
+ | + FRAMES + NO FRAMES + + + + | + +|||||||
+SUMMARY: NESTED | FIELD | CONSTR | METHOD | ++DETAIL: FIELD | CONSTR | METHOD | +
java.lang.Object +org.xhtmlrenderer.swing.NaiveUserAgent +
DataUriAwareNaiveUserAgent +
class DataUriAwareNaiveUserAgent +extends org.xhtmlrenderer.swing.NaiveUserAgent + ++ + + + + + + + + + + + + + + + +
+ Field Summary | +|
---|---|
+ private static java.lang.Object |
+
+ log
+ + + |
+
+ Constructor Summary | +|
+ DataUriAwareNaiveUserAgent()
+ + + |
+
+ Method Summary | +|
---|---|
+ protected java.io.InputStream
+ |
+
+ resolveAndOpenStream(java.lang.String uri)
+ + + |
+
+ java.lang.String
+ |
+
+ resolveURI(java.lang.String uri)
+ + + |
+
+ Methods inherited from class org.xhtmlrenderer.swing.NaiveUserAgent + | |
---|---|
org.xhtmlrenderer.swing.NaiveUserAgent#getBaseURL(), org.xhtmlrenderer.swing.NaiveUserAgent#getImageResource(java.lang.String), org.xhtmlrenderer.swing.NaiveUserAgent#resolveURI(java.lang.String), org.xhtmlrenderer.swing.NaiveUserAgent#shrinkImageCache(), org.xhtmlrenderer.swing.NaiveUserAgent#clearImageCache(), org.xhtmlrenderer.swing.NaiveUserAgent#getCSSResource(java.lang.String), org.xhtmlrenderer.swing.NaiveUserAgent#getXMLResource(java.lang.String), org.xhtmlrenderer.swing.NaiveUserAgent#getBinaryResource(java.lang.String), org.xhtmlrenderer.swing.NaiveUserAgent#isVisited(java.lang.String), org.xhtmlrenderer.swing.NaiveUserAgent#setBaseURL(java.lang.String), org.xhtmlrenderer.swing.NaiveUserAgent#documentStarted(), org.xhtmlrenderer.swing.NaiveUserAgent#documentLoaded(), org.xhtmlrenderer.swing.NaiveUserAgent#onLayoutException(java.lang.Throwable), org.xhtmlrenderer.swing.NaiveUserAgent#onRenderException(java.lang.Throwable), org.xhtmlrenderer.swing.NaiveUserAgent#wait(), org.xhtmlrenderer.swing.NaiveUserAgent#wait(long), org.xhtmlrenderer.swing.NaiveUserAgent#wait(long, int), org.xhtmlrenderer.swing.NaiveUserAgent#equals(java.lang.Object), org.xhtmlrenderer.swing.NaiveUserAgent#toString(), org.xhtmlrenderer.swing.NaiveUserAgent#hashCode(), org.xhtmlrenderer.swing.NaiveUserAgent#getClass(), org.xhtmlrenderer.swing.NaiveUserAgent#notify(), org.xhtmlrenderer.swing.NaiveUserAgent#notifyAll() |
+ Methods inherited from class java.lang.Object + | |
---|---|
java.lang.Object#wait(), java.lang.Object#wait(long), java.lang.Object#wait(long, int), 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() |
+ Field Detail | +
---|
private static java.lang.Object log+
+
+ Constructor Detail | +
---|
DataUriAwareNaiveUserAgent()+
+
+ Method Detail | +
---|
protected java.io.InputStream resolveAndOpenStream(java.lang.String uri)+
+
java.lang.String resolveURI(java.lang.String uri)+
+
Groovy Documentation
+
+
+
|
++Groovy Documentation + | +|||||||
+ | + FRAMES + NO FRAMES + + + + | + +|||||||
+SUMMARY: NESTED | FIELD | CONSTR | METHOD | ++DETAIL: FIELD | CONSTR | METHOD | +
java.lang.Object +spock.lang.Specification +
grails.plugin.spock.UnitSpec +
DataUriSpec +
class DataUriSpec +extends grails.plugin.spock.UnitSpec + ++ + + + + + + + + + + + + + + +
+ Field Summary | +
---|
+ Fields inherited from class grails.plugin.spock.UnitSpec + | |
---|---|
$spock_sharedInstance, __timeStamp, __timeStamp__239_neverHappen1292003085682, _ |
+ Fields inherited from class spock.lang.Specification + | |
---|---|
_ |
+ Constructor Summary | +|
+ DataUriSpec()
+ + + |
+
+ Method Summary | +|
---|---|
+ java.lang.Object
+ |
+
+ encoding ascii octets round trip()
+ + + |
+
+ java.lang.Object
+ |
+
+ encoding base64 round trip()
+ + + |
+
+ protected java.lang.Object
+ |
+
+ getRedDotBytes()
+ + + |
+
+ Methods inherited from class grails.plugin.spock.UnitSpec + | |
---|---|
grails.plugin.spock.UnitSpec#setProperty(java.lang.String, java.lang.Object), grails.plugin.spock.UnitSpec#getProperty(java.lang.String), grails.plugin.spock.UnitSpec#invokeMethod(java.lang.String, java.lang.Object), grails.plugin.spock.UnitSpec#getMetaClass(), grails.plugin.spock.UnitSpec#setMetaClass(groovy.lang.MetaClass), grails.plugin.spock.UnitSpec#super, grails.plugin.spock.UnitSpec#super, grails.plugin.spock.UnitSpec#super, grails.plugin.spock.UnitSpec#super, grails.plugin.spock.UnitSpec#super, grails.plugin.spock.UnitSpec#super, grails.plugin.spock.UnitSpec#super, grails.plugin.spock.UnitSpec#super, grails.plugin.spock.UnitSpec#super, grails.plugin.spock.UnitSpec#super, grails.plugin.spock.UnitSpec#super, grails.plugin.spock.UnitSpec#this, grails.plugin.spock.UnitSpec#this, grails.plugin.spock.UnitSpec#this, grails.plugin.spock.UnitSpec#getDomainClassesInfo(), grails.plugin.spock.UnitSpec#setDomainClassesInfo(org.codehaus.groovy.grails.commons.DefaultArtefactInfo), grails.plugin.spock.UnitSpec#this, grails.plugin.spock.UnitSpec#this, grails.plugin.spock.UnitSpec#this, grails.plugin.spock.UnitSpec#this, grails.plugin.spock.UnitSpec#super, grails.plugin.spock.UnitSpec#super, grails.plugin.spock.UnitSpec#super, grails.plugin.spock.UnitSpec#super, grails.plugin.spock.UnitSpec#super, grails.plugin.spock.UnitSpec#super, grails.plugin.spock.UnitSpec#super, grails.plugin.spock.UnitSpec#super, grails.plugin.spock.UnitSpec#old(java.lang.Object), grails.plugin.spock.UnitSpec#thrown(java.lang.Class), grails.plugin.spock.UnitSpec#thrown(), grails.plugin.spock.UnitSpec#notThrown(java.lang.Class), grails.plugin.spock.UnitSpec#noExceptionThrown(), grails.plugin.spock.UnitSpec#Mock(), grails.plugin.spock.UnitSpec#Mock(java.lang.Class), grails.plugin.spock.UnitSpec#interaction(groovy.lang.Closure), grails.plugin.spock.UnitSpec#wait(), grails.plugin.spock.UnitSpec#wait(long), grails.plugin.spock.UnitSpec#wait(long, int), grails.plugin.spock.UnitSpec#equals(java.lang.Object), grails.plugin.spock.UnitSpec#toString(), grails.plugin.spock.UnitSpec#hashCode(), grails.plugin.spock.UnitSpec#getClass(), grails.plugin.spock.UnitSpec#notify(), grails.plugin.spock.UnitSpec#notifyAll() |
+ Methods inherited from class spock.lang.Specification + | |
---|---|
spock.lang.Specification#old(java.lang.Object), spock.lang.Specification#thrown(java.lang.Class), spock.lang.Specification#thrown(), spock.lang.Specification#notThrown(java.lang.Class), spock.lang.Specification#noExceptionThrown(), spock.lang.Specification#Mock(), spock.lang.Specification#Mock(java.lang.Class), spock.lang.Specification#interaction(groovy.lang.Closure), spock.lang.Specification#wait(), spock.lang.Specification#wait(long), spock.lang.Specification#wait(long, int), spock.lang.Specification#equals(java.lang.Object), spock.lang.Specification#toString(), spock.lang.Specification#hashCode(), spock.lang.Specification#getClass(), spock.lang.Specification#notify(), spock.lang.Specification#notifyAll() |
+ Methods inherited from class java.lang.Object + | |
---|---|
java.lang.Object#wait(), java.lang.Object#wait(long), java.lang.Object#wait(long, int), 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() |
+ + + + + + + + + + + + + + + + + + + + + + + + + +
+ Constructor Detail | +
---|
DataUriSpec()+
+
+ Method Detail | +
---|
java.lang.Object encoding ascii octets round trip()+
+
java.lang.Object encoding base64 round trip()+
+
protected java.lang.Object getRedDotBytes()+
+
Groovy Documentation
+
+
+
|
++Groovy Documentation + | +|||||||
+ | + FRAMES + NO FRAMES + + + + | + +|||||||
+SUMMARY: NESTED | FIELD | CONSTR | METHOD | ++DETAIL: FIELD | CONSTR | METHOD | +
java.lang.Object +grails.plugin.rendering.image.ImageRenderingService +
GifRenderingService +
class GifRenderingService +extends ImageRenderingService + ++ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ Constructor Summary | +|
+ GifRenderingService()
+ + + |
+
+ Method Summary | +|
---|---|
+ protected java.lang.Object
+ |
+
+ getDefaultContentType()
+ + + |
+
+ protected java.lang.Object
+ |
+
+ getImageType()
+ + + |
+
+ + + + + + + + + + + + + + + + + + + + + + + + + +
+ Constructor Detail | +
---|
GifRenderingService()+
+
+ Method Detail | +
---|
protected java.lang.Object getDefaultContentType()+
+
protected java.lang.Object getImageType()+
+
Groovy Documentation
+
+
+
|
++Groovy Documentation + | +|||||||
+ | + FRAMES + NO FRAMES + + + + | + +|||||||
+SUMMARY: NESTED | FIELD | PROPERTY | CONSTR | METHOD | ++DETAIL: FIELD | PROPERTY | CONSTR | METHOD | +
java.lang.Object +grails.plugin.rendering.image.ImageRenderingServiceSpec +
GifRenderingServiceSpec +
class GifRenderingServiceSpec +extends ImageRenderingServiceSpec + ++ + + + + + + + + + + + + + + + + + + + + +
+ Property Summary | +|
---|---|
+ java.lang.Object |
+
+ gifRenderingService
+ + + |
+
+ Constructor Summary | +|
+ GifRenderingServiceSpec()
+ + + |
+
+ Method Summary | +|
---|---|
+ java.lang.Object
+ |
+
+ getRenderer()
+ + + |
+
+ + + + + + + + + + + + + + + +
+ Property Detail | +
---|
java.lang.Object gifRenderingService+
+
+ Constructor Detail | +
---|
GifRenderingServiceSpec()+
+
+ Method Detail | +
---|
java.lang.Object getRenderer()+
+
Groovy Documentation
+
+
+
|
++Groovy Documentation + | +|||||||
+ | + FRAMES + NO FRAMES + + + + | + +|||||||
+SUMMARY: NESTED | FIELD | CONSTR | METHOD | ++DETAIL: FIELD | CONSTR | METHOD | +
java.lang.Object +java.lang.Throwable +
java.lang.Exception +
java.lang.RuntimeException +
GrailsRenderingException +
class GrailsRenderingException +extends java.lang.RuntimeException + ++ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ Constructor Summary | +|
+ GrailsRenderingException(java.lang.CharSequence message, java.lang.Throwable cause = null)
+ + + |
+
+ Method Summary | +
---|
+ Methods inherited from class java.lang.RuntimeException + | |
---|---|
java.lang.RuntimeException#printStackTrace(java.io.PrintStream), java.lang.RuntimeException#printStackTrace(), java.lang.RuntimeException#printStackTrace(java.io.PrintWriter), java.lang.RuntimeException#fillInStackTrace(), java.lang.RuntimeException#getCause(), java.lang.RuntimeException#initCause(java.lang.Throwable), java.lang.RuntimeException#toString(), java.lang.RuntimeException#getMessage(), java.lang.RuntimeException#getLocalizedMessage(), java.lang.RuntimeException#getStackTrace(), java.lang.RuntimeException#setStackTrace([Ljava.lang.StackTraceElement;), java.lang.RuntimeException#wait(), java.lang.RuntimeException#wait(long), java.lang.RuntimeException#wait(long, int), java.lang.RuntimeException#equals(java.lang.Object), java.lang.RuntimeException#hashCode(), java.lang.RuntimeException#getClass(), java.lang.RuntimeException#notify(), java.lang.RuntimeException#notifyAll() |
+ Methods inherited from class java.lang.Exception + | |
---|---|
java.lang.Exception#printStackTrace(java.io.PrintStream), java.lang.Exception#printStackTrace(), java.lang.Exception#printStackTrace(java.io.PrintWriter), java.lang.Exception#fillInStackTrace(), java.lang.Exception#getCause(), java.lang.Exception#initCause(java.lang.Throwable), java.lang.Exception#toString(), java.lang.Exception#getMessage(), java.lang.Exception#getLocalizedMessage(), java.lang.Exception#getStackTrace(), java.lang.Exception#setStackTrace([Ljava.lang.StackTraceElement;), java.lang.Exception#wait(), java.lang.Exception#wait(long), java.lang.Exception#wait(long, int), java.lang.Exception#equals(java.lang.Object), java.lang.Exception#hashCode(), java.lang.Exception#getClass(), java.lang.Exception#notify(), java.lang.Exception#notifyAll() |
+ Methods inherited from class java.lang.Throwable + | |
---|---|
java.lang.Throwable#printStackTrace(java.io.PrintStream), java.lang.Throwable#printStackTrace(), java.lang.Throwable#printStackTrace(java.io.PrintWriter), java.lang.Throwable#fillInStackTrace(), java.lang.Throwable#getCause(), java.lang.Throwable#initCause(java.lang.Throwable), java.lang.Throwable#toString(), java.lang.Throwable#getMessage(), java.lang.Throwable#getLocalizedMessage(), java.lang.Throwable#getStackTrace(), java.lang.Throwable#setStackTrace([Ljava.lang.StackTraceElement;), java.lang.Throwable#wait(), java.lang.Throwable#wait(long), java.lang.Throwable#wait(long, int), java.lang.Throwable#equals(java.lang.Object), java.lang.Throwable#hashCode(), java.lang.Throwable#getClass(), java.lang.Throwable#notify(), java.lang.Throwable#notifyAll() |
+ Methods inherited from class java.lang.Object + | |
---|---|
java.lang.Object#wait(), java.lang.Object#wait(long), java.lang.Object#wait(long, int), 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() |
+ + + + + + + + + + + + + + + + + + + + + + + + + +
+ Constructor Detail | +
---|
GrailsRenderingException(java.lang.CharSequence message, java.lang.Throwable cause = null)+
+
Groovy Documentation
+
+
+
|
++Groovy Documentation + | +|||||||
+ | + FRAMES + NO FRAMES + + + + | + +|||||||
+SUMMARY: NESTED | FIELD | PROPERTY | CONSTR | METHOD | ++DETAIL: FIELD | PROPERTY | CONSTR | METHOD | +
java.lang.Object +grails.plugin.rendering.RenderingService +
ImageRenderingService +
abstract class ImageRenderingService +extends RenderingService + ++ + + + + + + + + + + + + + + + + + + + + +
+ Property Summary | +|
---|---|
+ static java.lang.Object |
+
+ DEFAULT_BUFFERED_IMAGE_TYPE
+ + + |
+
+ static java.lang.Object |
+
+ transactional
+ + + |
+
+ Constructor Summary | +|
+ ImageRenderingService()
+ + + |
+
+ Method Summary | +|
---|---|
+ protected java.lang.Object
+ |
+
+ configureRenderer(org.xhtmlrenderer.simple.Graphics2DRenderer renderer)
+ + + |
+
+ protected java.lang.Object
+ |
+
+ convert(java.util.Map args, java.awt.image.BufferedImage image, java.io.OutputStream outputStream)
+ + + |
+
+ protected java.awt.image.BufferedImage
+ |
+
+ createBufferedImage(java.util.Map args, org.w3c.dom.Document document)
+ + + |
+
+ protected java.lang.Object
+ |
+
+ doRender(java.util.Map args, org.w3c.dom.Document document, java.io.OutputStream outputStream)
+ + + |
+
+ protected java.lang.Object
+ |
+
+ doScaleTransform(java.lang.Object image, java.lang.Object width, java.lang.Object height, java.lang.Object widthScale, java.lang.Object heightScale, java.lang.Object bufferedImageType)
+ + + |
+
+ protected java.lang.Object
+ |
+
+ getDefaultBufferedImageType()
+ + + |
+
+ protected java.lang.Object
+ |
+
+ getImageType()
+ + + |
+
+ protected java.lang.Object
+ |
+
+ resize(java.lang.Object image, java.util.Map resizeArgs, java.lang.Object bufferedImageType)
+ + + |
+
+ protected java.lang.Object
+ |
+
+ resize(java.lang.Object image, java.lang.Object width, java.lang.Object height, java.lang.Object bufferedImageType)
+ + + |
+
+ protected java.lang.Object
+ |
+
+ scale(java.lang.Object image, java.util.Map scaleArgs, java.lang.Object bufferedImageType)
+ + + |
+
+ protected java.lang.Object
+ |
+
+ scale(java.lang.Object image, java.lang.Object widthScale, java.lang.Object heightScale, java.lang.Object bufferedImageType)
+ + + |
+
+ + + + + + + + + + + + + + + +
+ Property Detail | +
---|
static java.lang.Object DEFAULT_BUFFERED_IMAGE_TYPE+
+
static java.lang.Object transactional+
+
+ Constructor Detail | +
---|
ImageRenderingService()+
+
+ Method Detail | +
---|
protected java.lang.Object configureRenderer(org.xhtmlrenderer.simple.Graphics2DRenderer renderer)+
+
protected java.lang.Object convert(java.util.Map args, java.awt.image.BufferedImage image, java.io.OutputStream outputStream)+
+
protected java.awt.image.BufferedImage createBufferedImage(java.util.Map args, org.w3c.dom.Document document)+
+
protected java.lang.Object doRender(java.util.Map args, org.w3c.dom.Document document, java.io.OutputStream outputStream)+
+
protected java.lang.Object doScaleTransform(java.lang.Object image, java.lang.Object width, java.lang.Object height, java.lang.Object widthScale, java.lang.Object heightScale, java.lang.Object bufferedImageType)+
+
protected java.lang.Object getDefaultBufferedImageType()+
+
protected java.lang.Object getImageType()+
+
protected java.lang.Object resize(java.lang.Object image, java.util.Map resizeArgs, java.lang.Object bufferedImageType)+
+
protected java.lang.Object resize(java.lang.Object image, java.lang.Object width, java.lang.Object height, java.lang.Object bufferedImageType)+
+
protected java.lang.Object scale(java.lang.Object image, java.util.Map scaleArgs, java.lang.Object bufferedImageType)+
+
protected java.lang.Object scale(java.lang.Object image, java.lang.Object widthScale, java.lang.Object heightScale, java.lang.Object bufferedImageType)+
+
Groovy Documentation
+
+
+
|
++Groovy Documentation + | +|||||||
+ | + FRAMES + NO FRAMES + + + + | + +|||||||
+SUMMARY: NESTED | FIELD | CONSTR | METHOD | ++DETAIL: FIELD | CONSTR | METHOD | +
java.lang.Object +grails.plugin.rendering.RenderingServiceSpec +
ImageRenderingServiceSpec +
abstract class ImageRenderingServiceSpec +extends RenderingServiceSpec + ++ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ Constructor Summary | +|
+ ImageRenderingServiceSpec()
+ + + |
+
+ Method Summary | +|
---|---|
+ protected java.lang.Object
+ |
+
+ image(java.util.Map args)
+ + + |
+
+ java.lang.Object
+ |
+
+ imageResize()
+ + + |
+
+ java.lang.Object
+ |
+
+ imageScale()
+ + + |
+
+ java.lang.Object
+ |
+
+ renderImageWithAutoHeight()
+ + + |
+
+ java.lang.Object
+ |
+
+ renderImageWithHeight()
+ + + |
+
+ protected java.lang.Object
+ |
+
+ toBufferedImage(java.lang.Object baos)
+ + + |
+
+ + + + + + + + + + + + + + + + + + + + + + + + + +
+ Constructor Detail | +
---|
ImageRenderingServiceSpec()+
+
+ Method Detail | +
---|
protected java.lang.Object image(java.util.Map args)+
+
java.lang.Object imageResize()+
+
java.lang.Object imageScale()+
+
java.lang.Object renderImageWithAutoHeight()+
+
java.lang.Object renderImageWithHeight()+
+
protected java.lang.Object toBufferedImage(java.lang.Object baos)+
+
Groovy Documentation
+
+
+
|
++Groovy Documentation + | +|||||||
+ | + FRAMES + NO FRAMES + + + + | + +|||||||
+SUMMARY: NESTED | FIELD | CONSTR | METHOD | ++DETAIL: FIELD | CONSTR | METHOD | +
java.lang.Object +grails.plugin.rendering.image.ImageRenderingService +
JpegRenderingService +
class JpegRenderingService +extends ImageRenderingService + ++ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ Constructor Summary | +|
+ JpegRenderingService()
+ + + |
+
+ Method Summary | +|
---|---|
+ protected java.lang.Object
+ |
+
+ getDefaultBufferedImageType()
+ + + |
+
+ protected java.lang.Object
+ |
+
+ getDefaultContentType()
+ + + |
+
+ protected java.lang.Object
+ |
+
+ getImageType()
+ + + |
+
+ + + + + + + + + + + + + + + + + + + + + + + + + +
+ Constructor Detail | +
---|
JpegRenderingService()+
+
+ Method Detail | +
---|
protected java.lang.Object getDefaultBufferedImageType()+
+
protected java.lang.Object getDefaultContentType()+
+
protected java.lang.Object getImageType()+
+
Groovy Documentation
+
+
+
|
++Groovy Documentation + | +|||||||
+ | + FRAMES + NO FRAMES + + + + | + +|||||||
+SUMMARY: NESTED | FIELD | PROPERTY | CONSTR | METHOD | ++DETAIL: FIELD | PROPERTY | CONSTR | METHOD | +
java.lang.Object +grails.plugin.rendering.image.ImageRenderingServiceSpec +
JpegRenderingServiceSpec +
class JpegRenderingServiceSpec +extends ImageRenderingServiceSpec + ++ + + + + + + + + + + + + + + + + + + + + +
+ Property Summary | +|
---|---|
+ java.lang.Object |
+
+ jpegRenderingService
+ + + |
+
+ Constructor Summary | +|
+ JpegRenderingServiceSpec()
+ + + |
+
+ Method Summary | +|
---|---|
+ java.lang.Object
+ |
+
+ getRenderer()
+ + + |
+
+ + + + + + + + + + + + + + + +
+ Property Detail | +
---|
java.lang.Object jpegRenderingService+
+
+ Constructor Detail | +
---|
JpegRenderingServiceSpec()+
+
+ Method Detail | +
---|
java.lang.Object getRenderer()+
+
Groovy Documentation
+
+
+
|
++Groovy Documentation + | +|||||||
+ | + FRAMES + NO FRAMES + + + + | + +|||||||
+SUMMARY: NESTED | FIELD | PROPERTY | CONSTR | METHOD | ++DETAIL: FIELD | PROPERTY | CONSTR | METHOD | +
java.lang.Object +DefaultPackage.PdfGrailsPlugin +
class PdfGrailsPlugin + ++ + + + + + + + + + + + + + + + + + + + + +
+ Property Summary | +|
---|---|
+ def |
+
+ author
+ + + |
+
+ def |
+
+ authorEmail
+ + + |
+
+ def |
+
+ dependsOn
+ + + |
+
+ def |
+
+ description
+ + + |
+
+ def |
+
+ doWithDynamicMethods
+ + + |
+
+ def |
+
+ documentation
+ + + |
+
+ def |
+
+ grailsVersion
+ + + |
+
+ def |
+
+ loadAfter
+ + + |
+
+ def |
+
+ observe
+ + /*", + "grails-app/controllers/* + |
+
+ def |
+
+ onChange
+ + + |
+
+ def |
+
+ pluginExcludes
+ + + |
+
+ def |
+
+ title
+ + + |
+
+ def |
+
+ version
+ + + |
+
+ Constructor Summary | +|
+ PdfGrailsPlugin()
+ + + |
+
+ Method Summary | +|
---|---|
+ def
+ |
+
+ addRenderPdf(def pdfRenderingService, def clazz)
+ + + |
+
+ Methods inherited from class java.lang.Object + | |
---|---|
wait, wait, wait, hashCode, getClass, equals, toString, notify, notifyAll |
+ + + + + + + + + + + + + + + +
+ Property Detail | +
---|
def author+
+
def authorEmail+
+
def dependsOn+
+
def description+
+
def doWithDynamicMethods+
+
def documentation+
+
def grailsVersion+
+
def loadAfter+
+
def observe+
+
def onChange+
+
def pluginExcludes+
+
def title+
+
def version+
+
+ Constructor Detail | +
---|
PdfGrailsPlugin()+
+
+ Method Detail | +
---|
public def addRenderPdf(def pdfRenderingService, def clazz)+
+
Groovy Documentation
+
+
+
|
++Groovy Documentation + | +|||||||
+ | + FRAMES + NO FRAMES + + + + | + +|||||||
+SUMMARY: NESTED | FIELD | PROPERTY | CONSTR | METHOD | ++DETAIL: FIELD | PROPERTY | CONSTR | METHOD | +
java.lang.Object +PdfPluginTestGrailsPlugin +
class PdfPluginTestGrailsPlugin + ++ + + + + + + + + + + + + + + + + + + + + +
+ Property Summary | +|
---|---|
+ java.lang.Object |
+
+ author
+ + + |
+
+ java.lang.Object |
+
+ authorEmail
+ + + |
+
+ java.lang.Object |
+
+ dependsOn
+ + + |
+
+ java.lang.Object |
+
+ description
+ + + |
+
+ java.lang.Object |
+
+ doWithApplicationContext
+ + + |
+
+ java.lang.Object |
+
+ doWithDynamicMethods
+ + + |
+
+ java.lang.Object |
+
+ doWithSpring
+ + + |
+
+ java.lang.Object |
+
+ doWithWebDescriptor
+ + + |
+
+ java.lang.Object |
+
+ documentation
+ + + |
+
+ java.lang.Object |
+
+ grailsVersion
+ + + |
+
+ java.lang.Object |
+
+ onChange
+ + + |
+
+ java.lang.Object |
+
+ onConfigChange
+ + + |
+
+ java.lang.Object |
+
+ pluginExcludes
+ + + |
+
+ java.lang.Object |
+
+ title
+ + + |
+
+ java.lang.Object |
+
+ version
+ + + |
+
+ Constructor Summary | +|
+ PdfPluginTestGrailsPlugin()
+ + + |
+
+ Method Summary | +
---|
+ Methods inherited from class java.lang.Object + | |
---|---|
java.lang.Object#wait(), java.lang.Object#wait(long), java.lang.Object#wait(long, int), 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() |
+ + + + + + + + + + + + + + + +
+ Property Detail | +
---|
java.lang.Object author+
+
java.lang.Object authorEmail+
+
java.lang.Object dependsOn+
+
java.lang.Object description+
+
java.lang.Object doWithApplicationContext+
+
java.lang.Object doWithDynamicMethods+
+
java.lang.Object doWithSpring+
+
java.lang.Object doWithWebDescriptor+
+
java.lang.Object documentation+
+
java.lang.Object grailsVersion+
+
java.lang.Object onChange+
+
java.lang.Object onConfigChange+
+
java.lang.Object pluginExcludes+
+
java.lang.Object title+
+
java.lang.Object version+
+
+ Constructor Detail | +
---|
PdfPluginTestGrailsPlugin()+
+
Groovy Documentation
+
+
+
|
++Groovy Documentation + | +|||||||
+ | + FRAMES + NO FRAMES + + + + | + +|||||||
+SUMMARY: NESTED | FIELD | PROPERTY | CONSTR | METHOD | ++DETAIL: FIELD | PROPERTY | CONSTR | METHOD | +
java.lang.Object +grails.plugin.rendering.RenderingService +
PdfRenderingService +
class PdfRenderingService +extends RenderingService + ++ + + + + + + + + + + + + + + + + + + + + +
+ Property Summary | +|
---|---|
+ static java.lang.Object |
+
+ transactional
+ + + |
+
+ Constructor Summary | +|
+ PdfRenderingService()
+ + + |
+
+ Method Summary | +|
---|---|
+ protected java.lang.Object
+ |
+
+ configureRenderer(org.xhtmlrenderer.pdf.ITextRenderer renderer)
+ + + |
+
+ protected java.lang.Object
+ |
+
+ doRender(java.util.Map args, org.w3c.dom.Document document, java.io.OutputStream outputStream)
+ + + |
+
+ protected java.lang.Object
+ |
+
+ getDefaultContentType()
+ + + |
+
+ + + + + + + + + + + + + + + +
+ Property Detail | +
---|
static java.lang.Object transactional+
+
+ Constructor Detail | +
---|
PdfRenderingService()+
+
+ Method Detail | +
---|
protected java.lang.Object configureRenderer(org.xhtmlrenderer.pdf.ITextRenderer renderer)+
+
protected java.lang.Object doRender(java.util.Map args, org.w3c.dom.Document document, java.io.OutputStream outputStream)+
+
protected java.lang.Object getDefaultContentType()+
+
Groovy Documentation
+
+
+
|
++Groovy Documentation + | +|||||||
+ | + FRAMES + NO FRAMES + + + + | + +|||||||
+SUMMARY: NESTED | FIELD | PROPERTY | CONSTR | METHOD | ++DETAIL: FIELD | PROPERTY | CONSTR | METHOD | +
java.lang.Object +grails.plugin.rendering.RenderingServiceSpec +
PdfRenderingServiceSpec +
class PdfRenderingServiceSpec +extends RenderingServiceSpec + ++ + + + + + + + + + + + + + + + + + + + + +
+ Property Summary | +|
---|---|
+ java.lang.Object |
+
+ pdfRenderingService
+ + + |
+
+ Constructor Summary | +|
+ PdfRenderingServiceSpec()
+ + + |
+
+ Method Summary | +|
---|---|
+ protected java.lang.Object
+ |
+
+ createPdf(java.util.Map renderArgs)
+ + + |
+
+ protected java.lang.Object
+ |
+
+ createPdf(java.io.InputStream inputStream)
+ + + |
+
+ protected java.lang.Object
+ |
+
+ extractTextLines(java.util.Map renderArgs)
+ + + |
+
+ protected java.lang.Object
+ |
+
+ extractTextLines(byte[] bytes)
+ + + |
+
+ protected java.lang.Object
+ |
+
+ extractTextLines(org.apache.pdfbox.pdmodel.PDDocument pdf)
+ + + |
+
+ java.lang.Object
+ |
+
+ getRenderer()
+ + + |
+
+ + + + + + + + + + + + + + + +
+ Property Detail | +
---|
java.lang.Object pdfRenderingService+
+
+ Constructor Detail | +
---|
PdfRenderingServiceSpec()+
+
+ Method Detail | +
---|
protected java.lang.Object createPdf(java.util.Map renderArgs)+
+
protected java.lang.Object createPdf(java.io.InputStream inputStream)+
+
protected java.lang.Object extractTextLines(java.util.Map renderArgs)+
+
protected java.lang.Object extractTextLines(byte[] bytes)+
+
protected java.lang.Object extractTextLines(org.apache.pdfbox.pdmodel.PDDocument pdf)+
+
java.lang.Object getRenderer()+
+
Groovy Documentation
+
+
+
|
++Groovy Documentation + | +|||||||
+ | + FRAMES + NO FRAMES + + + + | + +|||||||
+SUMMARY: NESTED | FIELD | CONSTR | METHOD | ++DETAIL: FIELD | CONSTR | METHOD | +
java.lang.Object +grails.plugin.rendering.image.ImageRenderingService +
PngRenderingService +
class PngRenderingService +extends ImageRenderingService + ++ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ Constructor Summary | +|
+ PngRenderingService()
+ + + |
+
+ Method Summary | +|
---|---|
+ protected java.lang.Object
+ |
+
+ getDefaultContentType()
+ + + |
+
+ protected java.lang.Object
+ |
+
+ getImageType()
+ + + |
+
+ + + + + + + + + + + + + + + + + + + + + + + + + +
+ Constructor Detail | +
---|
PngRenderingService()+
+
+ Method Detail | +
---|
protected java.lang.Object getDefaultContentType()+
+
protected java.lang.Object getImageType()+
+
Groovy Documentation
+
+
+
|
++Groovy Documentation + | +|||||||
+ | + FRAMES + NO FRAMES + + + + | + +|||||||
+SUMMARY: NESTED | FIELD | PROPERTY | CONSTR | METHOD | ++DETAIL: FIELD | PROPERTY | CONSTR | METHOD | +
java.lang.Object +grails.plugin.rendering.image.ImageRenderingServiceSpec +
PngRenderingServiceSpec +
class PngRenderingServiceSpec +extends ImageRenderingServiceSpec + ++ + + + + + + + + + + + + + + + + + + + + +
+ Property Summary | +|
---|---|
+ java.lang.Object |
+
+ pngRenderingService
+ + + |
+
+ Constructor Summary | +|
+ PngRenderingServiceSpec()
+ + + |
+
+ Method Summary | +|
---|---|
+ java.lang.Object
+ |
+
+ getRenderer()
+ + + |
+
+ + + + + + + + + + + + + + + +
+ Property Detail | +
---|
java.lang.Object pngRenderingService+
+
+ Constructor Detail | +
---|
PngRenderingServiceSpec()+
+
+ Method Detail | +
---|
java.lang.Object getRenderer()+
+
Groovy Documentation
+
+
+
|
++Groovy Documentation + | +|||||||
+ | + FRAMES + NO FRAMES + + + + | + +|||||||
+SUMMARY: NESTED | FIELD | PROPERTY | CONSTR | METHOD | ++DETAIL: FIELD | PROPERTY | CONSTR | METHOD | +
java.lang.Object +RenderEnvironment +
class RenderEnvironment + ++ + + + + + + + + + + + + + + + +
+ Field Summary | +|
---|---|
+ private java.lang.Object |
+
+ originalOut
+ + + |
+
+ private java.lang.Object |
+
+ originalRequestAttributes
+ + + |
+
+ private java.lang.Object |
+
+ renderRequestAttributes
+ + + |
+
+ Property Summary | +|
---|---|
+ org.springframework.context.ApplicationContext |
+
+ applicationContext
+ + + |
+
+ java.util.Locale |
+
+ locale
+ + + |
+
+ java.io.Writer |
+
+ out
+ + + |
+
+ Constructor Summary | +|
+ RenderEnvironment(org.springframework.context.ApplicationContext applicationContext, java.io.Writer out, java.util.Locale locale = null)
+ + + |
+
+ Method Summary | +|
---|---|
+ private java.lang.Object
+ |
+
+ close()
+ + + |
+
+ java.lang.String
+ |
+
+ getControllerName()
+ + + |
+
+ private java.lang.Object
+ |
+
+ init()
+ + + |
+
+ static java.lang.Object
+ |
+
+ with(org.springframework.context.ApplicationContext applicationContext, java.io.Writer out, groovy.lang.Closure block)
+ + Establish an environment inheriting the locale of the current request if there is one + |
+
+ static java.lang.Object
+ |
+
+ with(org.springframework.context.ApplicationContext applicationContext, java.io.Writer out, java.util.Locale locale, groovy.lang.Closure block)
+ + Establish an environment with a specific locale + |
+
+ Methods inherited from class java.lang.Object + | |
---|---|
java.lang.Object#wait(), java.lang.Object#wait(long), java.lang.Object#wait(long, int), 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() |
+ Field Detail | +
---|
private java.lang.Object originalOut+
+
private java.lang.Object originalRequestAttributes+
+
private java.lang.Object renderRequestAttributes+
+
+ Property Detail | +
---|
final org.springframework.context.ApplicationContext applicationContext+
+
final java.util.Locale locale+
+
final java.io.Writer out+
+
+ Constructor Detail | +
---|
RenderEnvironment(org.springframework.context.ApplicationContext applicationContext, java.io.Writer out, java.util.Locale locale = null)+
+
+ Method Detail | +
---|
private java.lang.Object close()+
+
java.lang.String getControllerName()+
+
private java.lang.Object init()+
+
static java.lang.Object with(org.springframework.context.ApplicationContext applicationContext, java.io.Writer out, groovy.lang.Closure block)+
+
static java.lang.Object with(org.springframework.context.ApplicationContext applicationContext, java.io.Writer out, java.util.Locale locale, groovy.lang.Closure block)+
+
Groovy Documentation
+
+
+
|
++Groovy Documentation + | +|||||||
+ | + FRAMES + NO FRAMES + + + + | + +|||||||
+SUMMARY: NESTED | FIELD | CONSTR | METHOD | ++DETAIL: FIELD | CONSTR | METHOD | +
java.lang.Object +java.util.EventObject +
org.springframework.context.ApplicationEvent +
RenderEvent +
class RenderEvent +extends org.springframework.context.ApplicationEvent + ++ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ Constructor Summary | +|
+ RenderEvent(java.lang.Object renderError)
+ + + |
+
+ Method Summary | +
---|
+ Methods inherited from class org.springframework.context.ApplicationEvent + | |
---|---|
org.springframework.context.ApplicationEvent#getTimestamp(), org.springframework.context.ApplicationEvent#toString(), org.springframework.context.ApplicationEvent#getSource(), org.springframework.context.ApplicationEvent#wait(), org.springframework.context.ApplicationEvent#wait(long), org.springframework.context.ApplicationEvent#wait(long, int), org.springframework.context.ApplicationEvent#equals(java.lang.Object), org.springframework.context.ApplicationEvent#hashCode(), org.springframework.context.ApplicationEvent#getClass(), org.springframework.context.ApplicationEvent#notify(), org.springframework.context.ApplicationEvent#notifyAll() |
+ Methods inherited from class java.util.EventObject + | |
---|---|
java.util.EventObject#toString(), java.util.EventObject#getSource(), java.util.EventObject#wait(), java.util.EventObject#wait(long), java.util.EventObject#wait(long, int), java.util.EventObject#equals(java.lang.Object), java.util.EventObject#hashCode(), java.util.EventObject#getClass(), java.util.EventObject#notify(), java.util.EventObject#notifyAll() |
+ Methods inherited from class java.lang.Object + | |
---|---|
java.lang.Object#wait(), java.lang.Object#wait(long), java.lang.Object#wait(long, int), 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() |
+ + + + + + + + + + + + + + + + + + + + + + + + + +
+ Constructor Detail | +
---|
RenderEvent(java.lang.Object renderError)+
+
Groovy Documentation
+
+
+
|
++Groovy Documentation + | +|||||||
+ | + FRAMES + NO FRAMES + + + + | + +|||||||
+SUMMARY: NESTED | FIELD | PROPERTY | CONSTR | METHOD | ++DETAIL: FIELD | PROPERTY | CONSTR | METHOD | +
java.lang.Object +RenderingController +
class RenderingController + ++ + + + + + + + + + + + + + + + + + + + + +
+ Property Summary | +|
---|---|
+ java.lang.Object |
+
+ dataUriImg
+ + + |
+
+ java.lang.Object |
+
+ dataUriPdf
+ + + |
+
+ java.lang.Object |
+
+ encodingTest
+ + + |
+
+ java.lang.Object |
+
+ gif
+ + + |
+
+ java.lang.Object |
+
+ jpeg
+ + + |
+
+ java.lang.Object |
+
+ pdf
+ + + |
+
+ java.lang.Object |
+
+ png
+ + + |
+
+ java.lang.Object |
+
+ relative
+ + + |
+
+ Constructor Summary | +|
+ RenderingController()
+ + + |
+
+ Method Summary | +|
---|---|
+ protected java.lang.Object
+ |
+
+ getTemplate()
+ + + |
+
+ Methods inherited from class java.lang.Object + | |
---|---|
java.lang.Object#wait(), java.lang.Object#wait(long), java.lang.Object#wait(long, int), 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() |
+ + + + + + + + + + + + + + + +
+ Property Detail | +
---|
java.lang.Object dataUriImg+
+
java.lang.Object dataUriPdf+
+
java.lang.Object encodingTest+
+
java.lang.Object gif+
+
java.lang.Object jpeg+
+
java.lang.Object pdf+
+
java.lang.Object png+
+
java.lang.Object relative+
+
+ Constructor Detail | +
---|
RenderingController()+
+
+ Method Detail | +
---|
protected java.lang.Object getTemplate()+
+
Groovy Documentation
+
+
+
|
++Groovy Documentation + | +|||||||
+ | + FRAMES + NO FRAMES + + + + | + +|||||||
+SUMMARY: NESTED | FIELD | CONSTR | METHOD | ++DETAIL: FIELD | CONSTR | METHOD | +
java.lang.Object +java.lang.Throwable +
java.lang.Exception +
java.lang.RuntimeException +
GrailsRenderingException +
RenderingException +
class RenderingException +extends GrailsRenderingException + ++ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ Constructor Summary | +|
+ RenderingException(java.lang.Object cause)
+ + + |
+
+ Method Summary | +
---|
+ Methods inherited from class java.lang.RuntimeException + | |
---|---|
java.lang.RuntimeException#printStackTrace(java.io.PrintStream), java.lang.RuntimeException#printStackTrace(), java.lang.RuntimeException#printStackTrace(java.io.PrintWriter), java.lang.RuntimeException#fillInStackTrace(), java.lang.RuntimeException#getCause(), java.lang.RuntimeException#initCause(java.lang.Throwable), java.lang.RuntimeException#toString(), java.lang.RuntimeException#getMessage(), java.lang.RuntimeException#getLocalizedMessage(), java.lang.RuntimeException#getStackTrace(), java.lang.RuntimeException#setStackTrace([Ljava.lang.StackTraceElement;), java.lang.RuntimeException#wait(), java.lang.RuntimeException#wait(long), java.lang.RuntimeException#wait(long, int), java.lang.RuntimeException#equals(java.lang.Object), java.lang.RuntimeException#hashCode(), java.lang.RuntimeException#getClass(), java.lang.RuntimeException#notify(), java.lang.RuntimeException#notifyAll() |
+ Methods inherited from class java.lang.Exception + | |
---|---|
java.lang.Exception#printStackTrace(java.io.PrintStream), java.lang.Exception#printStackTrace(), java.lang.Exception#printStackTrace(java.io.PrintWriter), java.lang.Exception#fillInStackTrace(), java.lang.Exception#getCause(), java.lang.Exception#initCause(java.lang.Throwable), java.lang.Exception#toString(), java.lang.Exception#getMessage(), java.lang.Exception#getLocalizedMessage(), java.lang.Exception#getStackTrace(), java.lang.Exception#setStackTrace([Ljava.lang.StackTraceElement;), java.lang.Exception#wait(), java.lang.Exception#wait(long), java.lang.Exception#wait(long, int), java.lang.Exception#equals(java.lang.Object), java.lang.Exception#hashCode(), java.lang.Exception#getClass(), java.lang.Exception#notify(), java.lang.Exception#notifyAll() |
+ Methods inherited from class java.lang.Throwable + | |
---|---|
java.lang.Throwable#printStackTrace(java.io.PrintStream), java.lang.Throwable#printStackTrace(), java.lang.Throwable#printStackTrace(java.io.PrintWriter), java.lang.Throwable#fillInStackTrace(), java.lang.Throwable#getCause(), java.lang.Throwable#initCause(java.lang.Throwable), java.lang.Throwable#toString(), java.lang.Throwable#getMessage(), java.lang.Throwable#getLocalizedMessage(), java.lang.Throwable#getStackTrace(), java.lang.Throwable#setStackTrace([Ljava.lang.StackTraceElement;), java.lang.Throwable#wait(), java.lang.Throwable#wait(long), java.lang.Throwable#wait(long, int), java.lang.Throwable#equals(java.lang.Object), java.lang.Throwable#hashCode(), java.lang.Throwable#getClass(), java.lang.Throwable#notify(), java.lang.Throwable#notifyAll() |
+ Methods inherited from class java.lang.Object + | |
---|---|
java.lang.Object#wait(), java.lang.Object#wait(long), java.lang.Object#wait(long, int), 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() |
+ + + + + + + + + + + + + + + + + + + + + + + + + +
+ Constructor Detail | +
---|
RenderingException(java.lang.Object cause)+
+
Groovy Documentation
+
+
+
|
++Groovy Documentation + | +|||||||
+ | + FRAMES + NO FRAMES + + + + | + +|||||||
+SUMMARY: NESTED | FIELD | PROPERTY | CONSTR | METHOD | ++DETAIL: FIELD | PROPERTY | CONSTR | METHOD | +
java.lang.Object +RenderingGrailsPlugin +
class RenderingGrailsPlugin + ++ + + + + + + + + + + + + + + + + + + + + +
+ Property Summary | +|
---|---|
+ java.lang.Object |
+
+ author
+ + + |
+
+ java.lang.Object |
+
+ authorEmail
+ + + |
+
+ java.lang.Object |
+
+ dependsOn
+ + + |
+
+ java.lang.Object |
+
+ description
+ + + |
+
+ java.lang.Object |
+
+ doWithDynamicMethods
+ + + |
+
+ java.lang.Object |
+
+ documentation
+ + + |
+
+ java.lang.Object |
+
+ grailsVersion
+ + + |
+
+ java.lang.Object |
+
+ loadAfter
+ + + |
+
+ java.lang.Object |
+
+ observe
+ + /*", + "grails-app/controllers/* + |
+
+ java.lang.Object |
+
+ onChange
+ + + |
+
+ java.lang.Object |
+
+ pluginExcludes
+ + + |
+
+ java.lang.Object |
+
+ renderMethodTemplate
+ + + |
+
+ java.lang.Object |
+
+ title
+ + + |
+
+ java.lang.Object |
+
+ version
+ + + |
+
+ Constructor Summary | +|
+ RenderingGrailsPlugin()
+ + + |
+
+ Method Summary | +|
---|---|
+ java.lang.Object
+ |
+
+ addRenderMethods(java.lang.Object ctx, java.lang.Object clazz)
+ + + |
+
+ Methods inherited from class java.lang.Object + | |
---|---|
java.lang.Object#wait(), java.lang.Object#wait(long), java.lang.Object#wait(long, int), 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() |
+ + + + + + + + + + + + + + + +
+ Property Detail | +
---|
java.lang.Object author+
+
java.lang.Object authorEmail+
+
java.lang.Object dependsOn+
+
java.lang.Object description+
+
java.lang.Object doWithDynamicMethods+
+
java.lang.Object documentation+
+
java.lang.Object grailsVersion+
+
java.lang.Object loadAfter+
+
java.lang.Object observe+
+
java.lang.Object onChange+
+
java.lang.Object pluginExcludes+
+
java.lang.Object renderMethodTemplate+
+
java.lang.Object title+
+
java.lang.Object version+
+
+ Constructor Detail | +
---|
RenderingGrailsPlugin()+
+
+ Method Detail | +
---|
java.lang.Object addRenderMethods(java.lang.Object ctx, java.lang.Object clazz)+
+
Groovy Documentation
+
+
+
|
++Groovy Documentation + | +|||||||
+ | + FRAMES + NO FRAMES + + + + | + +|||||||
+SUMMARY: NESTED | FIELD | PROPERTY | CONSTR | METHOD | ++DETAIL: FIELD | PROPERTY | CONSTR | METHOD | +
java.lang.Object +spock.lang.Specification +
grails.plugin.spock.IntegrationSpec +
RenderingGrailsPluginSpec +
class RenderingGrailsPluginSpec +extends grails.plugin.spock.IntegrationSpec + ++ + + + + + + + + + + + + + + +
+ Field Summary | +
---|
+ Fields inherited from class grails.plugin.spock.IntegrationSpec + | |
---|---|
$spock_sharedInstance, __timeStamp, __timeStamp__239_neverHappen1292003085656, _ |
+ Fields inherited from class spock.lang.Specification + | |
---|---|
_ |
+ Property Summary | +|
---|---|
+ java.lang.Object |
+
+ grailsApplication
+ + + |
+
+ Constructor Summary | +|
+ RenderingGrailsPluginSpec()
+ + + |
+
+ Method Summary | +|
---|---|
+ protected java.lang.Object
+ |
+
+ createController()
+ + + |
+
+ protected java.lang.Object
+ |
+
+ reloadControllerClass()
+ + + |
+
+ java.lang.Object
+ |
+
+ supportReloadingControllerClasses()
+ + + |
+
+ Methods inherited from class grails.plugin.spock.IntegrationSpec + | |
---|---|
grails.plugin.spock.IntegrationSpec#setProperty(java.lang.String, java.lang.Object), grails.plugin.spock.IntegrationSpec#getProperty(java.lang.String), grails.plugin.spock.IntegrationSpec#invokeMethod(java.lang.String, java.lang.Object), grails.plugin.spock.IntegrationSpec#getMetaClass(), grails.plugin.spock.IntegrationSpec#setMetaClass(groovy.lang.MetaClass), grails.plugin.spock.IntegrationSpec#super, grails.plugin.spock.IntegrationSpec#super, grails.plugin.spock.IntegrationSpec#super, grails.plugin.spock.IntegrationSpec#super, grails.plugin.spock.IntegrationSpec#super, grails.plugin.spock.IntegrationSpec#super, grails.plugin.spock.IntegrationSpec#super, grails.plugin.spock.IntegrationSpec#super, grails.plugin.spock.IntegrationSpec#super, grails.plugin.spock.IntegrationSpec#super, grails.plugin.spock.IntegrationSpec#super, grails.plugin.spock.IntegrationSpec#this, grails.plugin.spock.IntegrationSpec#this, grails.plugin.spock.IntegrationSpec#this, grails.plugin.spock.IntegrationSpec#this, grails.plugin.spock.IntegrationSpec#this, grails.plugin.spock.IntegrationSpec#this, grails.plugin.spock.IntegrationSpec#this, grails.plugin.spock.IntegrationSpec#super, grails.plugin.spock.IntegrationSpec#super, grails.plugin.spock.IntegrationSpec#super, grails.plugin.spock.IntegrationSpec#super, grails.plugin.spock.IntegrationSpec#super, grails.plugin.spock.IntegrationSpec#super, grails.plugin.spock.IntegrationSpec#super, grails.plugin.spock.IntegrationSpec#super, grails.plugin.spock.IntegrationSpec#this, grails.plugin.spock.IntegrationSpec#this, grails.plugin.spock.IntegrationSpec#this, grails.plugin.spock.IntegrationSpec#old(java.lang.Object), grails.plugin.spock.IntegrationSpec#thrown(java.lang.Class), grails.plugin.spock.IntegrationSpec#thrown(), grails.plugin.spock.IntegrationSpec#notThrown(java.lang.Class), grails.plugin.spock.IntegrationSpec#noExceptionThrown(), grails.plugin.spock.IntegrationSpec#Mock(), grails.plugin.spock.IntegrationSpec#Mock(java.lang.Class), grails.plugin.spock.IntegrationSpec#interaction(groovy.lang.Closure), grails.plugin.spock.IntegrationSpec#wait(), grails.plugin.spock.IntegrationSpec#wait(long), grails.plugin.spock.IntegrationSpec#wait(long, int), grails.plugin.spock.IntegrationSpec#equals(java.lang.Object), grails.plugin.spock.IntegrationSpec#toString(), grails.plugin.spock.IntegrationSpec#hashCode(), grails.plugin.spock.IntegrationSpec#getClass(), grails.plugin.spock.IntegrationSpec#notify(), grails.plugin.spock.IntegrationSpec#notifyAll() |
+ Methods inherited from class spock.lang.Specification + | |
---|---|
spock.lang.Specification#old(java.lang.Object), spock.lang.Specification#thrown(java.lang.Class), spock.lang.Specification#thrown(), spock.lang.Specification#notThrown(java.lang.Class), spock.lang.Specification#noExceptionThrown(), spock.lang.Specification#Mock(), spock.lang.Specification#Mock(java.lang.Class), spock.lang.Specification#interaction(groovy.lang.Closure), spock.lang.Specification#wait(), spock.lang.Specification#wait(long), spock.lang.Specification#wait(long, int), spock.lang.Specification#equals(java.lang.Object), spock.lang.Specification#toString(), spock.lang.Specification#hashCode(), spock.lang.Specification#getClass(), spock.lang.Specification#notify(), spock.lang.Specification#notifyAll() |
+ Methods inherited from class java.lang.Object + | |
---|---|
java.lang.Object#wait(), java.lang.Object#wait(long), java.lang.Object#wait(long, int), 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() |
+ + + + + + + + + + + + + + + +
+ Property Detail | +
---|
java.lang.Object grailsApplication+
+
+ Constructor Detail | +
---|
RenderingGrailsPluginSpec()+
+
+ Method Detail | +
---|
protected java.lang.Object createController()+
+
protected java.lang.Object reloadControllerClass()+
+
@Unroll("rendering #action works from controllers and survives a reload") +java.lang.Object supportReloadingControllerClasses()+
+
Groovy Documentation
+
+
+
|
++Groovy Documentation + | +|||||||
+ | + FRAMES + NO FRAMES + + + + | + +|||||||
+SUMMARY: NESTED | FIELD | PROPERTY | CONSTR | METHOD | ++DETAIL: FIELD | PROPERTY | CONSTR | METHOD | +
java.lang.Object +RenderingService +
abstract class RenderingService + ++ + + + + + + + + + + + + + + + + + + + + +
+ Property Summary | +|
---|---|
+ java.lang.Object |
+
+ grailsApplication
+ + + |
+
+ static java.lang.Object |
+
+ transactional
+ + + |
+
+ java.lang.Object |
+
+ xhtmlDocumentService
+ + + |
+
+ Constructor Summary | +|
+ RenderingService()
+ + + |
+
+ Method Summary | +|
---|---|
+ protected java.lang.Object
+ |
+
+ configureResponse(java.util.Map args, javax.servlet.http.HttpServletResponse response)
+ + + |
+
+ protected java.lang.Object
+ |
+
+ doRender(java.util.Map args, org.w3c.dom.Document document, java.io.OutputStream outputStream)
+ + + |
+
+ protected java.lang.Object
+ |
+
+ getDefaultContentType()
+ + + |
+
+ protected java.lang.Object
+ |
+
+ processArgs(java.util.Map args)
+ + + |
+
+ java.io.OutputStream
+ |
+
+ render(java.util.Map args, java.io.OutputStream outputStream = new ByteArrayOutputStream()
+ + + |
+
+ java.io.OutputStream
+ |
+
+ render(java.util.Map args, org.w3c.dom.Document document, java.io.OutputStream outputStream = new ByteArrayOutputStream()
+ + + |
+
+ boolean
+ |
+
+ render(java.util.Map args, javax.servlet.http.HttpServletResponse response)
+ + + |
+
+ protected java.lang.Object
+ |
+
+ setContentDisposition(java.util.Map args, javax.servlet.http.HttpServletResponse response)
+ + + |
+
+ protected java.lang.Object
+ |
+
+ setContentType(java.util.Map args, javax.servlet.http.HttpServletResponse response)
+ + + |
+
+ protected java.lang.Object
+ |
+
+ setResponseHeaders(java.util.Map args, javax.servlet.http.HttpServletResponse response)
+ + + |
+
+ protected java.lang.Object
+ |
+
+ writeToResponse(java.util.Map args, javax.servlet.http.HttpServletResponse response, java.io.InputStream input)
+ + + |
+
+ protected java.lang.Object
+ |
+
+ writeToResponse(java.util.Map args, javax.servlet.http.HttpServletResponse response, byte[] bytes)
+ + + |
+
+ Methods inherited from class java.lang.Object + | |
---|---|
java.lang.Object#wait(), java.lang.Object#wait(long), java.lang.Object#wait(long, int), 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() |
+ + + + + + + + + + + + + + + +
+ Property Detail | +
---|
java.lang.Object grailsApplication+
+
static java.lang.Object transactional+
+
java.lang.Object xhtmlDocumentService+
+
+ Constructor Detail | +
---|
RenderingService()+
+
+ Method Detail | +
---|
protected java.lang.Object configureResponse(java.util.Map args, javax.servlet.http.HttpServletResponse response)+
+
protected java.lang.Object doRender(java.util.Map args, org.w3c.dom.Document document, java.io.OutputStream outputStream)+
+
protected java.lang.Object getDefaultContentType()+
+
protected java.lang.Object processArgs(java.util.Map args)+
+
java.io.OutputStream render(java.util.Map args, java.io.OutputStream outputStream = new ByteArrayOutputStream()+
+
java.io.OutputStream render(java.util.Map args, org.w3c.dom.Document document, java.io.OutputStream outputStream = new ByteArrayOutputStream()+
+
boolean render(java.util.Map args, javax.servlet.http.HttpServletResponse response)+
+
protected java.lang.Object setContentDisposition(java.util.Map args, javax.servlet.http.HttpServletResponse response)+
+
protected java.lang.Object setContentType(java.util.Map args, javax.servlet.http.HttpServletResponse response)+
+
protected java.lang.Object setResponseHeaders(java.util.Map args, javax.servlet.http.HttpServletResponse response)+
+
protected java.lang.Object writeToResponse(java.util.Map args, javax.servlet.http.HttpServletResponse response, java.io.InputStream input)+
+
protected java.lang.Object writeToResponse(java.util.Map args, javax.servlet.http.HttpServletResponse response, byte[] bytes)+
+
Groovy Documentation
+
+
+
|
++Groovy Documentation + | +|||||||
+ | + FRAMES + NO FRAMES + + + + | + +|||||||
+SUMMARY: NESTED | FIELD | PROPERTY | CONSTR | METHOD | ++DETAIL: FIELD | PROPERTY | CONSTR | METHOD | +
java.lang.Object +spock.lang.Specification +
grails.plugin.spock.IntegrationSpec +
RenderingServiceSpec +
abstract class RenderingServiceSpec +extends grails.plugin.spock.IntegrationSpec + ++ + + + + + + + + + + + + + + +
+ Field Summary | +
---|
+ Fields inherited from class grails.plugin.spock.IntegrationSpec + | |
---|---|
$spock_sharedInstance, __timeStamp, __timeStamp__239_neverHappen1292003085656, _ |
+ Fields inherited from class spock.lang.Specification + | |
---|---|
_ |
+ Property Summary | +|
---|---|
+ java.lang.Object |
+
+ grailsApplication
+ + + |
+
+ java.lang.Object |
+
+ pluginManager
+ + + |
+
+ Constructor Summary | +|
+ RenderingServiceSpec()
+ + + |
+
+ Method Summary | +|
---|---|
+ java.lang.Object
+ |
+
+ badXmlThrowsXmlParseException()
+ + + |
+
+ java.lang.Object
+ |
+
+ can handle data uris()
+ + + |
+
+ protected java.lang.Object
+ |
+
+ createController()
+ + + |
+
+ protected java.lang.Object
+ |
+
+ createMockResponse()
+ + + |
+
+ protected java.lang.Object
+ |
+
+ getDataUriTemplate()
+ + + |
+
+ protected java.lang.Object
+ |
+
+ getPluginTemplate(java.util.Map args = [:])
+ + + |
+
+ java.lang.Object
+ |
+
+ getRenderer()
+ + + |
+
+ protected java.lang.Object
+ |
+
+ getSimpleTemplate(java.util.Map args = [:])
+ + + |
+
+ java.lang.Object
+ |
+
+ renderTemplateInPlugin()
+ + + |
+
+ java.lang.Object
+ |
+
+ renderToResponse()
+ + + |
+
+ java.lang.Object
+ |
+
+ renderToResponseViaBytes()
+ + + |
+
+ java.lang.Object
+ |
+
+ renderWithNoTemplateThrowsException()
+ + + |
+
+ java.lang.Object
+ |
+
+ renderWithUnknownTemplateThrowsException()
+ + + |
+
+ java.lang.Object
+ |
+
+ simpleRender()
+ + + |
+
+ Methods inherited from class grails.plugin.spock.IntegrationSpec + | |
---|---|
grails.plugin.spock.IntegrationSpec#setProperty(java.lang.String, java.lang.Object), grails.plugin.spock.IntegrationSpec#getProperty(java.lang.String), grails.plugin.spock.IntegrationSpec#invokeMethod(java.lang.String, java.lang.Object), grails.plugin.spock.IntegrationSpec#getMetaClass(), grails.plugin.spock.IntegrationSpec#setMetaClass(groovy.lang.MetaClass), grails.plugin.spock.IntegrationSpec#super, grails.plugin.spock.IntegrationSpec#super, grails.plugin.spock.IntegrationSpec#super, grails.plugin.spock.IntegrationSpec#super, grails.plugin.spock.IntegrationSpec#super, grails.plugin.spock.IntegrationSpec#super, grails.plugin.spock.IntegrationSpec#super, grails.plugin.spock.IntegrationSpec#super, grails.plugin.spock.IntegrationSpec#super, grails.plugin.spock.IntegrationSpec#super, grails.plugin.spock.IntegrationSpec#super, grails.plugin.spock.IntegrationSpec#this, grails.plugin.spock.IntegrationSpec#this, grails.plugin.spock.IntegrationSpec#this, grails.plugin.spock.IntegrationSpec#this, grails.plugin.spock.IntegrationSpec#this, grails.plugin.spock.IntegrationSpec#this, grails.plugin.spock.IntegrationSpec#this, grails.plugin.spock.IntegrationSpec#super, grails.plugin.spock.IntegrationSpec#super, grails.plugin.spock.IntegrationSpec#super, grails.plugin.spock.IntegrationSpec#super, grails.plugin.spock.IntegrationSpec#super, grails.plugin.spock.IntegrationSpec#super, grails.plugin.spock.IntegrationSpec#super, grails.plugin.spock.IntegrationSpec#super, grails.plugin.spock.IntegrationSpec#this, grails.plugin.spock.IntegrationSpec#this, grails.plugin.spock.IntegrationSpec#this, grails.plugin.spock.IntegrationSpec#old(java.lang.Object), grails.plugin.spock.IntegrationSpec#thrown(java.lang.Class), grails.plugin.spock.IntegrationSpec#thrown(), grails.plugin.spock.IntegrationSpec#notThrown(java.lang.Class), grails.plugin.spock.IntegrationSpec#noExceptionThrown(), grails.plugin.spock.IntegrationSpec#Mock(), grails.plugin.spock.IntegrationSpec#Mock(java.lang.Class), grails.plugin.spock.IntegrationSpec#interaction(groovy.lang.Closure), grails.plugin.spock.IntegrationSpec#wait(), grails.plugin.spock.IntegrationSpec#wait(long), grails.plugin.spock.IntegrationSpec#wait(long, int), grails.plugin.spock.IntegrationSpec#equals(java.lang.Object), grails.plugin.spock.IntegrationSpec#toString(), grails.plugin.spock.IntegrationSpec#hashCode(), grails.plugin.spock.IntegrationSpec#getClass(), grails.plugin.spock.IntegrationSpec#notify(), grails.plugin.spock.IntegrationSpec#notifyAll() |
+ Methods inherited from class spock.lang.Specification + | |
---|---|
spock.lang.Specification#old(java.lang.Object), spock.lang.Specification#thrown(java.lang.Class), spock.lang.Specification#thrown(), spock.lang.Specification#notThrown(java.lang.Class), spock.lang.Specification#noExceptionThrown(), spock.lang.Specification#Mock(), spock.lang.Specification#Mock(java.lang.Class), spock.lang.Specification#interaction(groovy.lang.Closure), spock.lang.Specification#wait(), spock.lang.Specification#wait(long), spock.lang.Specification#wait(long, int), spock.lang.Specification#equals(java.lang.Object), spock.lang.Specification#toString(), spock.lang.Specification#hashCode(), spock.lang.Specification#getClass(), spock.lang.Specification#notify(), spock.lang.Specification#notifyAll() |
+ Methods inherited from class java.lang.Object + | |
---|---|
java.lang.Object#wait(), java.lang.Object#wait(long), java.lang.Object#wait(long, int), 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() |
+ + + + + + + + + + + + + + + +
+ Property Detail | +
---|
java.lang.Object grailsApplication+
+
java.lang.Object pluginManager+
+
+ Constructor Detail | +
---|
RenderingServiceSpec()+
+
+ Method Detail | +
---|
java.lang.Object badXmlThrowsXmlParseException()+
+
java.lang.Object can handle data uris()+
+
protected java.lang.Object createController()+
+
protected java.lang.Object createMockResponse()+
+
protected java.lang.Object getDataUriTemplate()+
+
protected java.lang.Object getPluginTemplate(java.util.Map args = [:])+
+
java.lang.Object getRenderer()+
+
protected java.lang.Object getSimpleTemplate(java.util.Map args = [:])+
+
java.lang.Object renderTemplateInPlugin()+
+
java.lang.Object renderToResponse()+
+
java.lang.Object renderToResponseViaBytes()+
+
java.lang.Object renderWithNoTemplateThrowsException()+
+
java.lang.Object renderWithUnknownTemplateThrowsException()+
+
java.lang.Object simpleRender()+
+
Groovy Documentation
+
+
+
|
++Groovy Documentation + | +|||||||
+ | + FRAMES + NO FRAMES + + + + | + +|||||||
+SUMMARY: NESTED | FIELD | PROPERTY | CONSTR | METHOD | ++DETAIL: FIELD | PROPERTY | CONSTR | METHOD | +
java.lang.Object +RenderingTagLib +
class RenderingTagLib + ++ +
+
+ Property Summary | +|
---|---|
+ java.lang.Object |
+
+ inlineGif
+ + + |
+
+ java.lang.Object |
+
+ inlineImage
+ + + |
+
+ java.lang.Object |
+
+ inlineJpeg
+ + + |
+
+ java.lang.Object |
+
+ inlinePng
+ + + |
+
+ static java.lang.Object |
+
+ namespace
+ + + |
+
+ Constructor Summary | +|
+ RenderingTagLib()
+ + + |
+
+ Method Summary | +
---|
+ Methods inherited from class java.lang.Object + | |
---|---|
java.lang.Object#wait(), java.lang.Object#wait(long), java.lang.Object#wait(long, int), 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() |
+ + + + + + + + + + + + + + + +
+ Property Detail | +
---|
java.lang.Object inlineGif+
+
java.lang.Object inlineImage+
+
java.lang.Object inlineJpeg+
+
java.lang.Object inlinePng+
+
static java.lang.Object namespace+
+
+ Constructor Detail | +
---|
RenderingTagLib()+
+
Groovy Documentation
+
+
+
|
++Groovy Documentation + | +|||||||
+ | + FRAMES + NO FRAMES + + + + | + +|||||||
+SUMMARY: NESTED | FIELD | PROPERTY | CONSTR | METHOD | ++DETAIL: FIELD | PROPERTY | CONSTR | METHOD | +
java.lang.Object +spock.lang.Specification +
grails.plugin.spock.IntegrationSpec +
grails.plugin.spock.GroovyPagesSpec +
RenderingTagLibSpec +
class RenderingTagLibSpec +extends grails.plugin.spock.GroovyPagesSpec + ++ + + + + + + + + + + + + + + +
+ Field Summary | +
---|
+ Fields inherited from class grails.plugin.spock.GroovyPagesSpec + | |
---|---|
__timeStamp, __timeStamp__239_neverHappen1292003085707, $spock_sharedInstance, __timeStamp, __timeStamp__239_neverHappen1292003085656, _ |
+ Fields inherited from class grails.plugin.spock.IntegrationSpec + | |
---|---|
$spock_sharedInstance, __timeStamp, __timeStamp__239_neverHappen1292003085656, _ |
+ Fields inherited from class spock.lang.Specification + | |
---|---|
_ |
+ Property Summary | +|
---|---|
+ java.lang.Object |
+
+ bytes
+ + + |
+
+ java.lang.Object |
+
+ encoded
+ + + |
+
+ Constructor Summary | +|
+ RenderingTagLibSpec()
+ + + |
+
+ Method Summary | +|
---|---|
+ protected java.lang.Object
+ |
+
+ getDataUri()
+ + + |
+
+ protected java.lang.Object
+ |
+
+ getOutputBytes()
+ + + |
+
+ protected java.lang.Object
+ |
+
+ getOutputMimeType()
+ + + |
+
+ protected java.lang.Object
+ |
+
+ getSrcAttribute()
+ + + |
+
+ java.lang.Object
+ |
+
+ gif tag()
+ + + |
+
+ java.lang.Object
+ |
+
+ inline image tag()
+ + + |
+
+ java.lang.Object
+ |
+
+ jpeg tag()
+ + + |
+
+ java.lang.Object
+ |
+
+ png tag()
+ + + |
+
+ java.lang.Object
+ |
+
+ setup()
+ + + |
+
+ Methods inherited from class grails.plugin.spock.GroovyPagesSpec + | |
---|---|
grails.plugin.spock.GroovyPagesSpec#getParams(), grails.plugin.spock.GroovyPagesSpec#setParams(java.util.Map), grails.plugin.spock.GroovyPagesSpec#this, grails.plugin.spock.GroovyPagesSpec#this, grails.plugin.spock.GroovyPagesSpec#this, grails.plugin.spock.GroovyPagesSpec#super, grails.plugin.spock.GroovyPagesSpec#super, grails.plugin.spock.GroovyPagesSpec#super, grails.plugin.spock.GroovyPagesSpec#super, grails.plugin.spock.GroovyPagesSpec#super, grails.plugin.spock.GroovyPagesSpec#getOutput(), grails.plugin.spock.GroovyPagesSpec#super, grails.plugin.spock.GroovyPagesSpec#getTemplate(), grails.plugin.spock.GroovyPagesSpec#super, grails.plugin.spock.GroovyPagesSpec#super, grails.plugin.spock.GroovyPagesSpec#super, grails.plugin.spock.GroovyPagesSpec#super, grails.plugin.spock.GroovyPagesSpec#getRequest(), grails.plugin.spock.GroovyPagesSpec#setControllerName(java.lang.String), grails.plugin.spock.GroovyPagesSpec#getGroovyPagesTemplateEngine(), grails.plugin.spock.GroovyPagesSpec#setGroovyPagesTemplateEngine(org.codehaus.groovy.grails.web.pages.GroovyPagesTemplateEngine), grails.plugin.spock.GroovyPagesSpec#setTemplate(java.lang.String), grails.plugin.spock.GroovyPagesSpec#this, grails.plugin.spock.GroovyPagesSpec#super, grails.plugin.spock.GroovyPagesSpec#super, grails.plugin.spock.GroovyPagesSpec#super, grails.plugin.spock.GroovyPagesSpec#super, grails.plugin.spock.GroovyPagesSpec#super, grails.plugin.spock.GroovyPagesSpec#super, grails.plugin.spock.GroovyPagesSpec#super, grails.plugin.spock.GroovyPagesSpec#super, grails.plugin.spock.GroovyPagesSpec#super, grails.plugin.spock.GroovyPagesSpec#super, grails.plugin.spock.GroovyPagesSpec#super, grails.plugin.spock.GroovyPagesSpec#super, grails.plugin.spock.GroovyPagesSpec#super, grails.plugin.spock.GroovyPagesSpec#super, grails.plugin.spock.GroovyPagesSpec#setProperty(java.lang.String, java.lang.Object), grails.plugin.spock.GroovyPagesSpec#getProperty(java.lang.String), grails.plugin.spock.GroovyPagesSpec#invokeMethod(java.lang.String, java.lang.Object), grails.plugin.spock.GroovyPagesSpec#getMetaClass(), grails.plugin.spock.GroovyPagesSpec#setMetaClass(groovy.lang.MetaClass), grails.plugin.spock.GroovyPagesSpec#super, grails.plugin.spock.GroovyPagesSpec#super, grails.plugin.spock.GroovyPagesSpec#super, grails.plugin.spock.GroovyPagesSpec#super, grails.plugin.spock.GroovyPagesSpec#super, grails.plugin.spock.GroovyPagesSpec#super, grails.plugin.spock.GroovyPagesSpec#super, grails.plugin.spock.GroovyPagesSpec#super, grails.plugin.spock.GroovyPagesSpec#this, grails.plugin.spock.GroovyPagesSpec#this, grails.plugin.spock.GroovyPagesSpec#this, grails.plugin.spock.GroovyPagesSpec#this, grails.plugin.spock.GroovyPagesSpec#this, grails.plugin.spock.GroovyPagesSpec#this, grails.plugin.spock.GroovyPagesSpec#this, grails.plugin.spock.GroovyPagesSpec#super, grails.plugin.spock.GroovyPagesSpec#super, grails.plugin.spock.GroovyPagesSpec#super, grails.plugin.spock.GroovyPagesSpec#super, grails.plugin.spock.GroovyPagesSpec#this, grails.plugin.spock.GroovyPagesSpec#this, grails.plugin.spock.GroovyPagesSpec#this, grails.plugin.spock.GroovyPagesSpec#old(java.lang.Object), grails.plugin.spock.GroovyPagesSpec#thrown(java.lang.Class), grails.plugin.spock.GroovyPagesSpec#thrown(), grails.plugin.spock.GroovyPagesSpec#notThrown(java.lang.Class), grails.plugin.spock.GroovyPagesSpec#noExceptionThrown(), grails.plugin.spock.GroovyPagesSpec#Mock(), grails.plugin.spock.GroovyPagesSpec#Mock(java.lang.Class), grails.plugin.spock.GroovyPagesSpec#interaction(groovy.lang.Closure), grails.plugin.spock.GroovyPagesSpec#wait(), grails.plugin.spock.GroovyPagesSpec#wait(long), grails.plugin.spock.GroovyPagesSpec#wait(long, int), grails.plugin.spock.GroovyPagesSpec#equals(java.lang.Object), grails.plugin.spock.GroovyPagesSpec#toString(), grails.plugin.spock.GroovyPagesSpec#hashCode(), grails.plugin.spock.GroovyPagesSpec#getClass(), grails.plugin.spock.GroovyPagesSpec#notify(), grails.plugin.spock.GroovyPagesSpec#notifyAll() |
+ Methods inherited from class grails.plugin.spock.IntegrationSpec + | |
---|---|
grails.plugin.spock.IntegrationSpec#setProperty(java.lang.String, java.lang.Object), grails.plugin.spock.IntegrationSpec#getProperty(java.lang.String), grails.plugin.spock.IntegrationSpec#invokeMethod(java.lang.String, java.lang.Object), grails.plugin.spock.IntegrationSpec#getMetaClass(), grails.plugin.spock.IntegrationSpec#setMetaClass(groovy.lang.MetaClass), grails.plugin.spock.IntegrationSpec#super, grails.plugin.spock.IntegrationSpec#super, grails.plugin.spock.IntegrationSpec#super, grails.plugin.spock.IntegrationSpec#super, grails.plugin.spock.IntegrationSpec#super, grails.plugin.spock.IntegrationSpec#super, grails.plugin.spock.IntegrationSpec#super, grails.plugin.spock.IntegrationSpec#super, grails.plugin.spock.IntegrationSpec#super, grails.plugin.spock.IntegrationSpec#super, grails.plugin.spock.IntegrationSpec#super, grails.plugin.spock.IntegrationSpec#this, grails.plugin.spock.IntegrationSpec#this, grails.plugin.spock.IntegrationSpec#this, grails.plugin.spock.IntegrationSpec#this, grails.plugin.spock.IntegrationSpec#this, grails.plugin.spock.IntegrationSpec#this, grails.plugin.spock.IntegrationSpec#this, grails.plugin.spock.IntegrationSpec#super, grails.plugin.spock.IntegrationSpec#super, grails.plugin.spock.IntegrationSpec#super, grails.plugin.spock.IntegrationSpec#super, grails.plugin.spock.IntegrationSpec#super, grails.plugin.spock.IntegrationSpec#super, grails.plugin.spock.IntegrationSpec#super, grails.plugin.spock.IntegrationSpec#super, grails.plugin.spock.IntegrationSpec#this, grails.plugin.spock.IntegrationSpec#this, grails.plugin.spock.IntegrationSpec#this, grails.plugin.spock.IntegrationSpec#old(java.lang.Object), grails.plugin.spock.IntegrationSpec#thrown(java.lang.Class), grails.plugin.spock.IntegrationSpec#thrown(), grails.plugin.spock.IntegrationSpec#notThrown(java.lang.Class), grails.plugin.spock.IntegrationSpec#noExceptionThrown(), grails.plugin.spock.IntegrationSpec#Mock(), grails.plugin.spock.IntegrationSpec#Mock(java.lang.Class), grails.plugin.spock.IntegrationSpec#interaction(groovy.lang.Closure), grails.plugin.spock.IntegrationSpec#wait(), grails.plugin.spock.IntegrationSpec#wait(long), grails.plugin.spock.IntegrationSpec#wait(long, int), grails.plugin.spock.IntegrationSpec#equals(java.lang.Object), grails.plugin.spock.IntegrationSpec#toString(), grails.plugin.spock.IntegrationSpec#hashCode(), grails.plugin.spock.IntegrationSpec#getClass(), grails.plugin.spock.IntegrationSpec#notify(), grails.plugin.spock.IntegrationSpec#notifyAll() |
+ Methods inherited from class spock.lang.Specification + | |
---|---|
spock.lang.Specification#old(java.lang.Object), spock.lang.Specification#thrown(java.lang.Class), spock.lang.Specification#thrown(), spock.lang.Specification#notThrown(java.lang.Class), spock.lang.Specification#noExceptionThrown(), spock.lang.Specification#Mock(), spock.lang.Specification#Mock(java.lang.Class), spock.lang.Specification#interaction(groovy.lang.Closure), spock.lang.Specification#wait(), spock.lang.Specification#wait(long), spock.lang.Specification#wait(long, int), spock.lang.Specification#equals(java.lang.Object), spock.lang.Specification#toString(), spock.lang.Specification#hashCode(), spock.lang.Specification#getClass(), spock.lang.Specification#notify(), spock.lang.Specification#notifyAll() |
+ Methods inherited from class java.lang.Object + | |
---|---|
java.lang.Object#wait(), java.lang.Object#wait(long), java.lang.Object#wait(long, int), 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() |
+ + + + + + + + + + + + + + + +
+ Property Detail | +
---|
@Shared +java.lang.Object bytes+
+
@Shared +java.lang.Object encoded+
+
+ Constructor Detail | +
---|
RenderingTagLibSpec()+
+
+ Method Detail | +
---|
protected java.lang.Object getDataUri()+
+
protected java.lang.Object getOutputBytes()+
+
protected java.lang.Object getOutputMimeType()+
+
protected java.lang.Object getSrcAttribute()+
+
java.lang.Object gif tag()+
+
java.lang.Object inline image tag()+
+
java.lang.Object jpeg tag()+
+
java.lang.Object png tag()+
+
java.lang.Object setup()+
+
Groovy Documentation
+
+
+
|
++Groovy Documentation + | +|||||||
+ | + FRAMES + NO FRAMES + + + + | + +|||||||
+SUMMARY: NESTED | FIELD | CONSTR | METHOD | ++DETAIL: FIELD | CONSTR | METHOD | +
java.lang.Object +grails.plugin.rendering.GrailsRenderingException +
UnknownTemplateException +
class UnknownTemplateException +extends GrailsRenderingException + ++ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ Constructor Summary | +|
+ UnknownTemplateException(java.lang.String template, java.lang.String plugin = null)
+ + + |
+
+ + + + + + + + + + + + + + + + + + + + + + + + + +
+ Constructor Detail | +
---|
UnknownTemplateException(java.lang.String template, java.lang.String plugin = null)+
+
Groovy Documentation
+
+
+
|
++Groovy Documentation + | +|||||||
+ | + FRAMES + NO FRAMES + + + + | + +|||||||
+SUMMARY: NESTED | FIELD | PROPERTY | CONSTR | METHOD | ++DETAIL: FIELD | PROPERTY | CONSTR | METHOD | +
java.lang.Object +UrlMappings +
class UrlMappings + ++ + + + + + + + + + + + + + + + + + + + + +
+ Property Summary | +|
---|---|
+ static java.lang.Object |
+
+ mappings
+ + + |
+
+ Constructor Summary | +|
+ UrlMappings()
+ + + |
+
+ Method Summary | +
---|
+ Methods inherited from class java.lang.Object + | |
---|---|
java.lang.Object#wait(), java.lang.Object#wait(long), java.lang.Object#wait(long, int), 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() |
+ + + + + + + + + + + + + + + +
+ Property Detail | +
---|
static java.lang.Object mappings+
+
+ Constructor Detail | +
---|
UrlMappings()+
+
Groovy Documentation
+
+
+
|
++Groovy Documentation + | +|||||||
+ | + FRAMES + NO FRAMES + + + + | + +|||||||
+SUMMARY: NESTED | FIELD | PROPERTY | CONSTR | METHOD | ++DETAIL: FIELD | PROPERTY | CONSTR | METHOD | +
java.lang.Object +XhtmlDocumentService +
class XhtmlDocumentService + ++ + + + + + + + + + + + + + + + + + + + + +
+ Property Summary | +|
---|---|
+ java.lang.Object |
+
+ grailsApplication
+ + + |
+
+ java.lang.Object |
+
+ groovyPagesTemplateEngine
+ + + |
+
+ java.lang.Object |
+
+ groovyPagesUriService
+ + + |
+
+ static java.lang.Object |
+
+ transactional
+ + + |
+
+ Constructor Summary | +|
+ XhtmlDocumentService()
+ + + |
+
+ Method Summary | +|
---|---|
+ org.w3c.dom.Document
+ |
+
+ createDocument(java.util.Map args)
+ + + |
+
+ protected java.lang.Object
+ |
+
+ createDocument(java.lang.String xhtml)
+ + + |
+
+ protected java.lang.Object
+ |
+
+ createDocument(org.xml.sax.InputSource xhtml)
+ + + |
+
+ protected java.lang.Object
+ |
+
+ createTemplate(java.util.Map args)
+ + + |
+
+ protected java.lang.Object
+ |
+
+ generateXhtml(java.util.Map args)
+ + + |
+
+ protected java.lang.Object
+ |
+
+ getContextPath(java.lang.Object args)
+ + + |
+
+ Methods inherited from class java.lang.Object + | |
---|---|
java.lang.Object#wait(), java.lang.Object#wait(long), java.lang.Object#wait(long, int), 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() |
+ + + + + + + + + + + + + + + +
+ Property Detail | +
---|
java.lang.Object grailsApplication+
+
java.lang.Object groovyPagesTemplateEngine+
+
java.lang.Object groovyPagesUriService+
+
static java.lang.Object transactional+
+
+ Constructor Detail | +
---|
XhtmlDocumentService()+
+
+ Method Detail | +
---|
org.w3c.dom.Document createDocument(java.util.Map args)+
+
protected java.lang.Object createDocument(java.lang.String xhtml)+
+
protected java.lang.Object createDocument(org.xml.sax.InputSource xhtml)+
+
protected java.lang.Object createTemplate(java.util.Map args)+
+
protected java.lang.Object generateXhtml(java.util.Map args)+
+
protected java.lang.Object getContextPath(java.lang.Object args)+
+
Groovy Documentation
+
+
+
|
++Groovy Documentation + | +|||||||
+ | + FRAMES + NO FRAMES + + + + | + +|||||||
+SUMMARY: NESTED | FIELD | PROPERTY | CONSTR | METHOD | ++DETAIL: FIELD | PROPERTY | CONSTR | METHOD | +
java.lang.Object +spock.lang.Specification +
grails.plugin.spock.IntegrationSpec +
XhtmlDocumentServiceSpec +
class XhtmlDocumentServiceSpec +extends grails.plugin.spock.IntegrationSpec + ++ +
+ The xhtmlDocumentService is exercised in the rendering + service tests. This is here for testing future functionality. + +
++ Field Summary | +
---|
+ Fields inherited from class grails.plugin.spock.IntegrationSpec + | |
---|---|
$spock_sharedInstance, __timeStamp, __timeStamp__239_neverHappen1292003085656, _ |
+ Fields inherited from class spock.lang.Specification + | |
---|---|
_ |
+ Property Summary | +|
---|---|
+ java.lang.Object |
+
+ xhtmlDocumentService
+ + + |
+
+ Constructor Summary | +|
+ XhtmlDocumentServiceSpec()
+ + + |
+
+ Method Summary | +|
---|---|
+ java.lang.Object
+ |
+
+ emptyScenario()
+ + + |
+
+ Methods inherited from class grails.plugin.spock.IntegrationSpec + | |
---|---|
grails.plugin.spock.IntegrationSpec#setProperty(java.lang.String, java.lang.Object), grails.plugin.spock.IntegrationSpec#getProperty(java.lang.String), grails.plugin.spock.IntegrationSpec#invokeMethod(java.lang.String, java.lang.Object), grails.plugin.spock.IntegrationSpec#getMetaClass(), grails.plugin.spock.IntegrationSpec#setMetaClass(groovy.lang.MetaClass), grails.plugin.spock.IntegrationSpec#super, grails.plugin.spock.IntegrationSpec#super, grails.plugin.spock.IntegrationSpec#super, grails.plugin.spock.IntegrationSpec#super, grails.plugin.spock.IntegrationSpec#super, grails.plugin.spock.IntegrationSpec#super, grails.plugin.spock.IntegrationSpec#super, grails.plugin.spock.IntegrationSpec#super, grails.plugin.spock.IntegrationSpec#super, grails.plugin.spock.IntegrationSpec#super, grails.plugin.spock.IntegrationSpec#super, grails.plugin.spock.IntegrationSpec#this, grails.plugin.spock.IntegrationSpec#this, grails.plugin.spock.IntegrationSpec#this, grails.plugin.spock.IntegrationSpec#this, grails.plugin.spock.IntegrationSpec#this, grails.plugin.spock.IntegrationSpec#this, grails.plugin.spock.IntegrationSpec#this, grails.plugin.spock.IntegrationSpec#super, grails.plugin.spock.IntegrationSpec#super, grails.plugin.spock.IntegrationSpec#super, grails.plugin.spock.IntegrationSpec#super, grails.plugin.spock.IntegrationSpec#super, grails.plugin.spock.IntegrationSpec#super, grails.plugin.spock.IntegrationSpec#super, grails.plugin.spock.IntegrationSpec#super, grails.plugin.spock.IntegrationSpec#this, grails.plugin.spock.IntegrationSpec#this, grails.plugin.spock.IntegrationSpec#this, grails.plugin.spock.IntegrationSpec#old(java.lang.Object), grails.plugin.spock.IntegrationSpec#thrown(java.lang.Class), grails.plugin.spock.IntegrationSpec#thrown(), grails.plugin.spock.IntegrationSpec#notThrown(java.lang.Class), grails.plugin.spock.IntegrationSpec#noExceptionThrown(), grails.plugin.spock.IntegrationSpec#Mock(), grails.plugin.spock.IntegrationSpec#Mock(java.lang.Class), grails.plugin.spock.IntegrationSpec#interaction(groovy.lang.Closure), grails.plugin.spock.IntegrationSpec#wait(), grails.plugin.spock.IntegrationSpec#wait(long), grails.plugin.spock.IntegrationSpec#wait(long, int), grails.plugin.spock.IntegrationSpec#equals(java.lang.Object), grails.plugin.spock.IntegrationSpec#toString(), grails.plugin.spock.IntegrationSpec#hashCode(), grails.plugin.spock.IntegrationSpec#getClass(), grails.plugin.spock.IntegrationSpec#notify(), grails.plugin.spock.IntegrationSpec#notifyAll() |
+ Methods inherited from class spock.lang.Specification + | |
---|---|
spock.lang.Specification#old(java.lang.Object), spock.lang.Specification#thrown(java.lang.Class), spock.lang.Specification#thrown(), spock.lang.Specification#notThrown(java.lang.Class), spock.lang.Specification#noExceptionThrown(), spock.lang.Specification#Mock(), spock.lang.Specification#Mock(java.lang.Class), spock.lang.Specification#interaction(groovy.lang.Closure), spock.lang.Specification#wait(), spock.lang.Specification#wait(long), spock.lang.Specification#wait(long, int), spock.lang.Specification#equals(java.lang.Object), spock.lang.Specification#toString(), spock.lang.Specification#hashCode(), spock.lang.Specification#getClass(), spock.lang.Specification#notify(), spock.lang.Specification#notifyAll() |
+ Methods inherited from class java.lang.Object + | |
---|---|
java.lang.Object#wait(), java.lang.Object#wait(long), java.lang.Object#wait(long, int), 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() |
+ + + + + + + + + + + + + + + +
+ Property Detail | +
---|
java.lang.Object xhtmlDocumentService+
+
+ Constructor Detail | +
---|
XhtmlDocumentServiceSpec()+
+
+ Method Detail | +
---|
java.lang.Object emptyScenario()+
+
Groovy Documentation
+
+
+
|
++Groovy Documentation + | +|||||||
+ | + FRAMES + NO FRAMES + + + + | + +|||||||
+SUMMARY: NESTED | FIELD | CONSTR | METHOD | ++DETAIL: FIELD | CONSTR | METHOD | +
java.lang.Object +grails.plugin.rendering.GrailsRenderingException +
XmlParseException +
class XmlParseException +extends GrailsRenderingException + ++ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ Constructor Summary | +|
+ XmlParseException(java.lang.Object xml, java.lang.Object cause)
+ + + |
+
+ + + + + + + + + + + + + + + + + + + + + + + + + +
+ Constructor Detail | +
---|
XmlParseException(java.lang.Object xml, java.lang.Object cause)+
+
Groovy Documentation
+
+
+
|
++ Groovy Documentation + + | +|||||||
+ PREV + NEXT | ++ FRAMES + NO FRAMES + + + + + | +
+ + + + +
+ Class Summary | +|
---|---|
BackgroundRenderingSpec | ++ |
ControllerRelativeTemplateSpec | ++ |
PdfRenderingServiceSpec | ++ |
PngRenderingServiceSpec | ++ |
RenderEnvironment | ++ |
RenderingServiceSpec | ++ |
UrlMappings | ++ |
BackgroundRenderingSpec | ++ |
ControllerRelativeTemplateSpec | ++ |
RenderingServiceSpec | ++ |
RenderEnvironment | ++ |
PngRenderingServiceSpec | ++ |
PdfRenderingServiceSpec | ++ |
+
Groovy Documentation
+
+
+
|
++ Groovy Documentation + + | +|||||||
+ PREV + NEXT | ++ FRAMES + NO FRAMES + + + + | +
Groovy Documentation
+
+
+
|
++Groovy Documentation + | +|||||||
+ | + FRAMES + NO FRAMES + + + + | + +|||||||
+SUMMARY: NESTED | FIELD | CONSTR | METHOD | ++DETAIL: FIELD | CONSTR | METHOD | +
java.lang.Object +grails-app.conf.BuildConfig +
class BuildConfig + ++ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ Constructor Summary | +|
+ BuildConfig()
+ + + |
+
+ Method Summary | +
---|
+ Methods inherited from class java.lang.Object + | |
---|---|
java.lang.Object#wait(), java.lang.Object#wait(long), java.lang.Object#wait(long, int), 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() |
+ + + + + + + + + + + + + + + + + + + + + + + + + +
+ Constructor Detail | +
---|
BuildConfig()+
+
Groovy Documentation
+
+
+
|
++Groovy Documentation + | +|||||||
+ | + FRAMES + NO FRAMES + + + + | + +|||||||
+SUMMARY: NESTED | FIELD | CONSTR | METHOD | ++DETAIL: FIELD | CONSTR | METHOD | +
java.lang.Object +grails-app.conf.Config +
class Config + ++ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ Constructor Summary | +|
+ Config()
+ + + |
+
+ Method Summary | +
---|
+ Methods inherited from class java.lang.Object + | |
---|---|
java.lang.Object#wait(), java.lang.Object#wait(long), java.lang.Object#wait(long, int), 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() |
+ + + + + + + + + + + + + + + + + + + + + + + + + +
+ Constructor Detail | +
---|
Config()+
+
Groovy Documentation
+
+
+
|
++Groovy Documentation + | +|||||||
+ | + FRAMES + NO FRAMES + + + + | + +|||||||
+SUMMARY: NESTED | FIELD | CONSTR | METHOD | ++DETAIL: FIELD | CONSTR | METHOD | +
java.lang.Object +grails-app.conf.DataSource +
class DataSource + ++ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ Constructor Summary | +|
+ DataSource()
+ + + |
+
+ Method Summary | +
---|
+ Methods inherited from class java.lang.Object + | |
---|---|
java.lang.Object#wait(), java.lang.Object#wait(long), java.lang.Object#wait(long, int), 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() |
+ + + + + + + + + + + + + + + + + + + + + + + + + +
+ Constructor Detail | +
---|
DataSource()+
+
Groovy Documentation
+
+
+
|
++Groovy Documentation + | +|||||||
+ | + FRAMES + NO FRAMES + + + + | + +|||||||
+SUMMARY: NESTED | FIELD | PROPERTY | CONSTR | METHOD | ++DETAIL: FIELD | PROPERTY | CONSTR | METHOD | +
java.lang.Object +grails-app.conf.UrlMappings +
class UrlMappings + ++ + + + + + + + + + + + + + + + + + + + + +
+ Property Summary | +|
---|---|
+ static def |
+
+ mappings
+ + + |
+
+ Constructor Summary | +|
+ UrlMappings()
+ + + |
+
+ Method Summary | +
---|
+ Methods inherited from class java.lang.Object + | |
---|---|
java.lang.Object#wait(), java.lang.Object#wait(long), java.lang.Object#wait(long, int), 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() |
+ + + + + + + + + + + + + + + +
+ Property Detail | +
---|
static def mappings+
+
+ Constructor Detail | +
---|
UrlMappings()+
+
Groovy Documentation
+
+Classes
+ BuildConfig Config DataSource UrlMappings |
+
+
+
|
++ Groovy Documentation + + | +|||||||
+ PREV + NEXT | ++ FRAMES + NO FRAMES + + + + + | +
+ + + + +
+ Class Summary | +|
---|---|
BuildConfig | ++ |
Config | ++ |
DataSource | ++ |
UrlMappings | ++ |
+
Groovy Documentation
+
+
+
|
++Groovy Documentation + | +|||||||
+ | + FRAMES + NO FRAMES + + + + | + +|||||||
+SUMMARY: NESTED | FIELD | PROPERTY | CONSTR | METHOD | ++DETAIL: FIELD | PROPERTY | CONSTR | METHOD | +
java.lang.Object +grails-app.controllers.PdfTestController +
class PdfTestController + ++ + + + + + + + + + + + + + + + + + + + + +
+ Property Summary | +|
---|---|
+ def |
+
+ doit
+ + + |
+
+ Constructor Summary | +|
+ PdfTestController()
+ + + |
+
+ Method Summary | +
---|
+ Methods inherited from class java.lang.Object + | |
---|---|
wait, wait, wait, hashCode, getClass, equals, toString, notify, notifyAll |
+ + + + + + + + + + + + + + + +
+ Property Detail | +
---|
def doit+
+
+ Constructor Detail | +
---|
PdfTestController()+
+
Groovy Documentation
+
+
+
|
++Groovy Documentation + | +|||||||
+ | + FRAMES + NO FRAMES + + + + | + +|||||||
+SUMMARY: NESTED | FIELD | PROPERTY | CONSTR | METHOD | ++DETAIL: FIELD | PROPERTY | CONSTR | METHOD | +
java.lang.Object +grails-app.controllers.RenderingController +
class RenderingController + ++ + + + + + + + + + + + + + + + + + + + + +
+ Property Summary | +|
---|---|
+ def |
+
+ gif
+ + + |
+
+ def |
+
+ jpeg
+ + + |
+
+ def |
+
+ pdf
+ + + |
+
+ def |
+
+ png
+ + + |
+
+ def |
+
+ relative
+ + + |
+
+ Constructor Summary | +|
+ RenderingController()
+ + + |
+
+ Method Summary | +|
---|---|
+ protected def
+ |
+
+ getTemplate()
+ + + |
+
+ Methods inherited from class java.lang.Object + | |
---|---|
java.lang.Object#wait(), java.lang.Object#wait(long), java.lang.Object#wait(long, int), 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() |
+ + + + + + + + + + + + + + + +
+ Property Detail | +
---|
def gif+
+
def jpeg+
+
def pdf+
+
def png+
+
def relative+
+
+ Constructor Detail | +
---|
RenderingController()+
+
+ Method Detail | +
---|
protected def getTemplate()+
+
Groovy Documentation
+
+Classes
+ RenderingController |
+
+
+
|
++ Groovy Documentation + + | +|||||||
+ PREV + NEXT | ++ FRAMES + NO FRAMES + + + + + | +
+ + + + +
+ Class Summary | +|
---|---|
RenderingController | ++ |
+
Groovy Documentation
+
+
+
|
++Groovy Documentation + | +|||||||
+ | + FRAMES + NO FRAMES + + + + | + +|||||||
+SUMMARY: NESTED | FIELD | PROPERTY | CONSTR | METHOD | ++DETAIL: FIELD | PROPERTY | CONSTR | METHOD | +
java.lang.Object +grails-app.services.grails.plugin.pdf.PdfRenderingService +
class PdfRenderingService + ++ + + + + + + + + + + + + + + + + + + + + +
+ Property Summary | +|
---|---|
+ def |
+
+ groovyPagesTemplateEngine
+ + + |
+
+ static def |
+
+ transactional
+ + + |
+
+ Constructor Summary | +|
+ PdfRenderingService()
+ + + |
+
+ Method Summary | +|
---|---|
+ protected def
+ |
+
+ assertTemplateArgumentProvided(java.util.Map args)
+ + + |
+
+ protected def
+ |
+
+ createTemplate(def args)
+ + + |
+
+ java.io.OutputStream
+ |
+
+ render(java.util.Map args, java.io.OutputStream outputStream = new ByteArrayOutputStream()
+ + + |
+
+ java.io.OutputStream
+ |
+
+ render(java.util.Map args, HttpServletResponse response)
+ + + |
+
+ protected def
+ |
+
+ resolveGspTemplateResource(java.util.Map args)
+ + + |
+
+ protected def
+ |
+
+ throwUnknownTemplateError(java.util.Map args)
+ + + |
+
+ Methods inherited from class java.lang.Object + | |
---|---|
wait, wait, wait, hashCode, getClass, equals, toString, notify, notifyAll |
+ + + + + + + + + + + + + + + +
+ Property Detail | +
---|
def groovyPagesTemplateEngine+
+
static def transactional+
+
+ Constructor Detail | +
---|
PdfRenderingService()+
+
+ Method Detail | +
---|
protected def assertTemplateArgumentProvided(java.util.Map args)+
+
protected def createTemplate(def args)+
+
java.io.OutputStream render(java.util.Map args, java.io.OutputStream outputStream = new ByteArrayOutputStream()+
+
java.io.OutputStream render(java.util.Map args, HttpServletResponse response)+
+
protected def resolveGspTemplateResource(java.util.Map args)+
+
protected def throwUnknownTemplateError(java.util.Map args)+
+
Groovy Documentation
+
+Classes
+ PdfRenderingService |
+
+
+
|
++ Groovy Documentation + + | +|||||||
+ PREV + NEXT | ++ FRAMES + NO FRAMES + + + + + | +
+ + + + +
+ Class Summary | +|
---|---|
PdfRenderingService | ++ |
+
Groovy Documentation
+
+
+
|
++Groovy Documentation + | +|||||||
+ | + FRAMES + NO FRAMES + + + + | + +|||||||
+SUMMARY: NESTED | FIELD | PROPERTY | CONSTR | METHOD | ++DETAIL: FIELD | PROPERTY | CONSTR | METHOD | +
java.lang.Object +grails-app.services.grails.plugin.rendering.RenderingService +
class RenderingService + ++ + + + + + + + + + + + + + + + + + + + + +
+ Property Summary | +|
---|---|
+ def |
+
+ grailsApplication
+ + + |
+
+ static def |
+
+ transactional
+ + + |
+
+ def |
+
+ xhtmlDocumentService
+ + + |
+
+ Constructor Summary | +|
+ RenderingService()
+ + + |
+
+ Method Summary | +|
---|---|
+ protected def
+ |
+
+ configureResponse(java.util.Map args, javax.servlet.http.HttpServletResponse response)
+ + + |
+
+ protected def
+ |
+
+ doRender(java.util.Map args, org.w3c.dom.Document document, java.io.OutputStream outputStream)
+ + + |
+
+ protected def
+ |
+
+ getDefaultContentType()
+ + + |
+
+ protected def
+ |
+
+ processArgs(java.util.Map args)
+ + + |
+
+ java.io.OutputStream
+ |
+
+ render(java.util.Map args, java.io.OutputStream outputStream = new ByteArrayOutputStream()
+ + + |
+
+ java.io.OutputStream
+ |
+
+ render(java.util.Map args, org.w3c.dom.Document document, java.io.OutputStream outputStream = new ByteArrayOutputStream()
+ + + |
+
+ boolean
+ |
+
+ render(java.util.Map args, javax.servlet.http.HttpServletResponse response)
+ + + |
+
+ protected def
+ |
+
+ setContentDisposition(java.util.Map args, javax.servlet.http.HttpServletResponse response)
+ + + |
+
+ protected def
+ |
+
+ setContentType(java.util.Map args, javax.servlet.http.HttpServletResponse response)
+ + + |
+
+ protected def
+ |
+
+ setResponseHeaders(java.util.Map args, javax.servlet.http.HttpServletResponse response)
+ + + |
+
+ protected def
+ |
+
+ writeToResponse(java.util.Map args, javax.servlet.http.HttpServletResponse response, java.io.InputStream input)
+ + + |
+
+ protected def
+ |
+
+ writeToResponse(java.util.Map args, javax.servlet.http.HttpServletResponse response, byte[] bytes)
+ + + |
+
+ Methods inherited from class java.lang.Object + | |
---|---|
java.lang.Object#wait(), java.lang.Object#wait(long), java.lang.Object#wait(long, int), 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() |
+ + + + + + + + + + + + + + + +
+ Property Detail | +
---|
def grailsApplication+
+
static def transactional+
+
def xhtmlDocumentService+
+
+ Constructor Detail | +
---|
RenderingService()+
+
+ Method Detail | +
---|
protected def configureResponse(java.util.Map args, javax.servlet.http.HttpServletResponse response)+
+
protected def doRender(java.util.Map args, org.w3c.dom.Document document, java.io.OutputStream outputStream)+
+
protected def getDefaultContentType()+
+
protected def processArgs(java.util.Map args)+
+
java.io.OutputStream render(java.util.Map args, java.io.OutputStream outputStream = new ByteArrayOutputStream()+
+
java.io.OutputStream render(java.util.Map args, org.w3c.dom.Document document, java.io.OutputStream outputStream = new ByteArrayOutputStream()+
+
boolean render(java.util.Map args, javax.servlet.http.HttpServletResponse response)+
+
protected def setContentDisposition(java.util.Map args, javax.servlet.http.HttpServletResponse response)+
+
protected def setContentType(java.util.Map args, javax.servlet.http.HttpServletResponse response)+
+
protected def setResponseHeaders(java.util.Map args, javax.servlet.http.HttpServletResponse response)+
+
protected def writeToResponse(java.util.Map args, javax.servlet.http.HttpServletResponse response, java.io.InputStream input)+
+
protected def writeToResponse(java.util.Map args, javax.servlet.http.HttpServletResponse response, byte[] bytes)+
+
Groovy Documentation
+
+
+
|
++Groovy Documentation + | +|||||||
+ | + FRAMES + NO FRAMES + + + + | + +|||||||
+SUMMARY: NESTED | FIELD | PROPERTY | CONSTR | METHOD | ++DETAIL: FIELD | PROPERTY | CONSTR | METHOD | +
java.lang.Object +grails-app.services.grails.plugin.rendering.document.XhtmlDocumentService +
class XhtmlDocumentService + ++ + + + + + + + + + + + + + + + + + + + + +
+ Property Summary | +|
---|---|
+ def |
+
+ groovyPagesTemplateEngine
+ + + |
+
+ def |
+
+ groovyPagesUriService
+ + + |
+
+ static def |
+
+ transactional
+ + + |
+
+ Constructor Summary | +|
+ XhtmlDocumentService()
+ + + |
+
+ Method Summary | +|
---|---|
+ org.w3c.dom.Document
+ |
+
+ createDocument(java.util.Map args)
+ + + |
+
+ protected def
+ |
+
+ createDocument(java.lang.String xhtml)
+ + + |
+
+ protected def
+ |
+
+ createDocument(org.xml.sax.InputSource xhtml)
+ + + |
+
+ protected def
+ |
+
+ createTemplate(java.util.Map args)
+ + + |
+
+ protected def
+ |
+
+ generateXhtml(java.util.Map args)
+ + + |
+
+ protected def
+ |
+
+ getContextPath(def args)
+ + + |
+
+ Methods inherited from class java.lang.Object + | |
---|---|
java.lang.Object#wait(), java.lang.Object#wait(long), java.lang.Object#wait(long, int), 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() |
+ + + + + + + + + + + + + + + +
+ Property Detail | +
---|
def groovyPagesTemplateEngine+
+
def groovyPagesUriService+
+
static def transactional+
+
+ Constructor Detail | +
---|
XhtmlDocumentService()+
+
+ Method Detail | +
---|
org.w3c.dom.Document createDocument(java.util.Map args)+
+
protected def createDocument(java.lang.String xhtml)+
+
protected def createDocument(org.xml.sax.InputSource xhtml)+
+
protected def createTemplate(java.util.Map args)+
+
protected def generateXhtml(java.util.Map args)+
+
protected def getContextPath(def args)+
+
Groovy Documentation
+
+Classes
+ XhtmlDocumentService |
+
+
+
|
++ Groovy Documentation + + | +|||||||
+ PREV + NEXT | ++ FRAMES + NO FRAMES + + + + + | +
+ + + + +
+ Class Summary | +|
---|---|
XhtmlDocumentService | ++ |
+
Groovy Documentation
+
+
+
|
++Groovy Documentation + | +|||||||
+ | + FRAMES + NO FRAMES + + + + | + +|||||||
+SUMMARY: NESTED | FIELD | CONSTR | METHOD | ++DETAIL: FIELD | CONSTR | METHOD | +
java.lang.Object +grails.plugin.rendering.RenderingService +
grails-app.services.grails.plugin.rendering.image.ImageRenderingService +
grails-app.services.grails.plugin.rendering.image.GifRenderingService +
class GifRenderingService +extends ImageRenderingService + ++ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ Constructor Summary | +|
+ GifRenderingService()
+ + + |
+
+ Method Summary | +|
---|---|
+ protected def
+ |
+
+ getDefaultContentType()
+ + + |
+
+ protected def
+ |
+
+ getImageType()
+ + + |
+
+ Methods inherited from class ImageRenderingService + | |
---|---|
convert, createBufferedImage, doRender, doScaleTransform, getImageType, resize, resize, scale, scale |
+ + + + + + + + + + + + + + + + + + + + + + + + + +
+ Constructor Detail | +
---|
GifRenderingService()+
+
+ Method Detail | +
---|
protected def getDefaultContentType()+
+
protected def getImageType()+
+
Groovy Documentation
+
+
+
|
++Groovy Documentation + | +|||||||
+ | + FRAMES + NO FRAMES + + + + | + +|||||||
+SUMMARY: NESTED | FIELD | PROPERTY | CONSTR | METHOD | ++DETAIL: FIELD | PROPERTY | CONSTR | METHOD | +
java.lang.Object +grails.plugin.rendering.RenderingService +
grails-app.services.grails.plugin.rendering.image.ImageRenderingService +
class ImageRenderingService +extends RenderingService + ++ + + + + + + + + + + + + + + + + + + + + +
+ Property Summary | +|
---|---|
+ static def |
+
+ DEFAULT_BUFFERED_IMAGE_TYPE
+ + + |
+
+ static def |
+
+ transactional
+ + + |
+
+ Constructor Summary | +|
+ ImageRenderingService()
+ + + |
+
+ Method Summary | +|
---|---|
+ protected def
+ |
+
+ convert(java.util.Map args, java.awt.image.BufferedImage image, java.io.OutputStream outputStream)
+ + + |
+
+ protected java.awt.image.BufferedImage
+ |
+
+ createBufferedImage(java.util.Map args, org.w3c.dom.Document document)
+ + + |
+
+ protected def
+ |
+
+ doRender(java.util.Map args, org.w3c.dom.Document document, java.io.OutputStream outputStream)
+ + + |
+
+ protected def
+ |
+
+ doScaleTransform(def image, def width, def height, def widthScale, def heightScale, def bufferedImageType)
+ + + |
+
+ protected def
+ |
+
+ getImageType()
+ + + |
+
+ protected def
+ |
+
+ resize(def image, java.util.Map resizeArgs, def bufferedImageType)
+ + + |
+
+ protected def
+ |
+
+ resize(def image, def width, def height, def bufferedImageType)
+ + + |
+
+ protected def
+ |
+
+ scale(def image, java.util.Map scaleArgs, def bufferedImageType)
+ + + |
+
+ protected def
+ |
+
+ scale(def image, def widthScale, def heightScale, def bufferedImageType)
+ + + |
+
+ + + + + + + + + + + + + + + +
+ Property Detail | +
---|
static def DEFAULT_BUFFERED_IMAGE_TYPE+
+
static def transactional+
+
+ Constructor Detail | +
---|
ImageRenderingService()+
+
+ Method Detail | +
---|
protected def convert(java.util.Map args, java.awt.image.BufferedImage image, java.io.OutputStream outputStream)+
+
protected java.awt.image.BufferedImage createBufferedImage(java.util.Map args, org.w3c.dom.Document document)+
+
protected def doRender(java.util.Map args, org.w3c.dom.Document document, java.io.OutputStream outputStream)+
+
protected def doScaleTransform(def image, def width, def height, def widthScale, def heightScale, def bufferedImageType)+
+
protected def getImageType()+
+
protected def resize(def image, java.util.Map resizeArgs, def bufferedImageType)+
+
protected def resize(def image, def width, def height, def bufferedImageType)+
+
protected def scale(def image, java.util.Map scaleArgs, def bufferedImageType)+
+
protected def scale(def image, def widthScale, def heightScale, def bufferedImageType)+
+
Groovy Documentation
+
+
+
|
++Groovy Documentation + | +|||||||
+ | + FRAMES + NO FRAMES + + + + | + +|||||||
+SUMMARY: NESTED | FIELD | CONSTR | METHOD | ++DETAIL: FIELD | CONSTR | METHOD | +
java.lang.Object +grails.plugin.rendering.RenderingService +
grails-app.services.grails.plugin.rendering.image.ImageRenderingService +
grails-app.services.grails.plugin.rendering.image.JpegRenderingService +
class JpegRenderingService +extends ImageRenderingService + ++ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ Constructor Summary | +|
+ JpegRenderingService()
+ + + |
+
+ Method Summary | +|
---|---|
+ protected def
+ |
+
+ getDefaultContentType()
+ + + |
+
+ protected def
+ |
+
+ getImageType()
+ + + |
+
+ Methods inherited from class ImageRenderingService + | |
---|---|
convert, createBufferedImage, doRender, doScaleTransform, getImageType, resize, resize, scale, scale |
+ + + + + + + + + + + + + + + + + + + + + + + + + +
+ Constructor Detail | +
---|
JpegRenderingService()+
+
+ Method Detail | +
---|
protected def getDefaultContentType()+
+
protected def getImageType()+
+
Groovy Documentation
+
+
+
|
++Groovy Documentation + | +|||||||
+ | + FRAMES + NO FRAMES + + + + | + +|||||||
+SUMMARY: NESTED | FIELD | CONSTR | METHOD | ++DETAIL: FIELD | CONSTR | METHOD | +
java.lang.Object +grails.plugin.rendering.RenderingService +
grails-app.services.grails.plugin.rendering.image.ImageRenderingService +
grails-app.services.grails.plugin.rendering.image.PngRenderingService +
class PngRenderingService +extends ImageRenderingService + ++ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ Constructor Summary | +|
+ PngRenderingService()
+ + + |
+
+ Method Summary | +|
---|---|
+ protected def
+ |
+
+ getDefaultContentType()
+ + + |
+
+ protected def
+ |
+
+ getImageType()
+ + + |
+
+ Methods inherited from class ImageRenderingService + | |
---|---|
convert, createBufferedImage, doRender, doScaleTransform, getImageType, resize, resize, scale, scale |
+ + + + + + + + + + + + + + + + + + + + + + + + + +
+ Constructor Detail | +
---|
PngRenderingService()+
+
+ Method Detail | +
---|
protected def getDefaultContentType()+
+
protected def getImageType()+
+
Groovy Documentation
+
+Classes
+ GifRenderingService ImageRenderingService JpegRenderingService PngRenderingService |
+
+
+
|
++ Groovy Documentation + + | +|||||||
+ PREV + NEXT | ++ FRAMES + NO FRAMES + + + + + | +
+ + + + +
+ Class Summary | +|
---|---|
GifRenderingService | ++ |
ImageRenderingService | ++ |
JpegRenderingService | ++ |
PngRenderingService | ++ |
+
Groovy Documentation
+
+Classes
+ RenderingService |
+
+
+
|
++ Groovy Documentation + + | +|||||||
+ PREV + NEXT | ++ FRAMES + NO FRAMES + + + + + | +
+ + + + +
+ Class Summary | +|
---|---|
RenderingService | ++ |
+
Groovy Documentation
+
+
+
|
++Groovy Documentation + | +|||||||
+ | + FRAMES + NO FRAMES + + + + | + +|||||||
+SUMMARY: NESTED | FIELD | PROPERTY | CONSTR | METHOD | ++DETAIL: FIELD | PROPERTY | CONSTR | METHOD | +
java.lang.Object +grails.plugin.rendering.RenderingService +
grails-app.services.grails.plugin.rendering.pdf.PdfRenderingService +
class PdfRenderingService +extends RenderingService + ++ + + + + + + + + + + + + + + + + + + + + +
+ Property Summary | +|
---|---|
+ static def |
+
+ transactional
+ + + |
+
+ Constructor Summary | +|
+ PdfRenderingService()
+ + + |
+
+ Method Summary | +|
---|---|
+ protected def
+ |
+
+ doRender(java.util.Map args, org.w3c.dom.Document document, java.io.OutputStream outputStream)
+ + + |
+
+ protected def
+ |
+
+ getDefaultContentType()
+ + + |
+
+ + + + + + + + + + + + + + + +
+ Property Detail | +
---|
static def transactional+
+
+ Constructor Detail | +
---|
PdfRenderingService()+
+
+ Method Detail | +
---|
protected def doRender(java.util.Map args, org.w3c.dom.Document document, java.io.OutputStream outputStream)+
+
protected def getDefaultContentType()+
+
Groovy Documentation
+
+Classes
+ PdfRenderingService |
+
+
+
|
++ Groovy Documentation + + | +|||||||
+ PREV + NEXT | ++ FRAMES + NO FRAMES + + + + + | +
+ + + + +
+ Class Summary | +|
---|---|
PdfRenderingService | ++ |
+
Groovy Documentation
+
+
+
|
++Groovy Documentation + | +|||||||
+ | + FRAMES + NO FRAMES + + + + | + +|||||||
+SUMMARY: NESTED | FIELD | PROPERTY | CONSTR | METHOD | ++DETAIL: FIELD | PROPERTY | CONSTR | METHOD | +
java.lang.Object +grails-app.services.grails.plugin.rendering.test.BackgroundRenderingService +
class BackgroundRenderingService + ++ + + + + + + + + + + + + + + + + + + + + +
+ Property Summary | +|
---|---|
+ def |
+
+ pdfRenderingService
+ + + |
+
+ Constructor Summary | +|
+ BackgroundRenderingService()
+ + + |
+
+ Method Summary | +|
---|---|
+ def
+ |
+
+ fireEvent(def errorHolder)
+ + + |
+
+ void
+ |
+
+ onApplicationEvent(RenderEvent event)
+ + + |
+
+ Methods inherited from class java.lang.Object + | |
---|---|
java.lang.Object#wait(), java.lang.Object#wait(long), java.lang.Object#wait(long, int), 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() |
+ + + + + + + + + + + + + + + +
+ Property Detail | +
---|
def pdfRenderingService+
+
+ Constructor Detail | +
---|
BackgroundRenderingService()+
+
+ Method Detail | +
---|
public def fireEvent(def errorHolder)+
+
void onApplicationEvent(RenderEvent event)+
+
Groovy Documentation
+
+
+
|
++Groovy Documentation + | +|||||||
+ | + FRAMES + NO FRAMES + + + + | + +|||||||
+SUMMARY: NESTED | FIELD | CONSTR | METHOD | ++DETAIL: FIELD | CONSTR | METHOD | +
java.lang.Object +java.util.EventObject +
org.springframework.context.ApplicationEvent +
grails-app.services.grails.plugin.rendering.test.RenderEvent +
class RenderEvent +extends org.springframework.context.ApplicationEvent + ++ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ Constructor Summary | +|
+ RenderEvent(def renderError)
+ + + |
+
+ Method Summary | +
---|
+ Methods inherited from class org.springframework.context.ApplicationEvent + | |
---|---|
org.springframework.context.ApplicationEvent#getTimestamp(), org.springframework.context.ApplicationEvent#toString(), org.springframework.context.ApplicationEvent#getSource(), org.springframework.context.ApplicationEvent#wait(), org.springframework.context.ApplicationEvent#wait(long), org.springframework.context.ApplicationEvent#wait(long, int), org.springframework.context.ApplicationEvent#equals(java.lang.Object), org.springframework.context.ApplicationEvent#hashCode(), org.springframework.context.ApplicationEvent#getClass(), org.springframework.context.ApplicationEvent#notify(), org.springframework.context.ApplicationEvent#notifyAll() |
+ Methods inherited from class java.util.EventObject + | |
---|---|
java.util.EventObject#toString(), java.util.EventObject#getSource(), java.util.EventObject#wait(), java.util.EventObject#wait(long), java.util.EventObject#wait(long, int), java.util.EventObject#equals(java.lang.Object), java.util.EventObject#hashCode(), java.util.EventObject#getClass(), java.util.EventObject#notify(), java.util.EventObject#notifyAll() |
+ Methods inherited from class java.lang.Object + | |
---|---|
java.lang.Object#wait(), java.lang.Object#wait(long), java.lang.Object#wait(long, int), 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() |
+ + + + + + + + + + + + + + + + + + + + + + + + + +
+ Constructor Detail | +
---|
public RenderEvent(def renderError)+
+
Groovy Documentation
+
+Classes
+ BackgroundRenderingService RenderEvent |
+
+
+
|
++ Groovy Documentation + + | +|||||||
+ PREV + NEXT | ++ FRAMES + NO FRAMES + + + + + | +
+ + + + +
+ Class Summary | +|
---|---|
BackgroundRenderingService | ++ |
RenderEvent | ++ |
+
Groovy Documentation
+
+
+
|
++Groovy Documentation + | +|||||||
+ | + FRAMES + NO FRAMES + + + + | + +|||||||
+SUMMARY: NESTED | FIELD | CONSTR | METHOD | ++DETAIL: FIELD | CONSTR | METHOD | +
java.lang.Object +grails.plugin.rendering.BackgroundRenderingSpec +
class BackgroundRenderingSpec + ++ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ Constructor Summary | +|
+ BackgroundRenderingSpec()
+ + + |
+
+ Method Summary | +
---|
+ Methods inherited from class java.lang.Object + | |
---|---|
java.lang.Object#wait(), java.lang.Object#wait(long), java.lang.Object#wait(long, int), 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() |
+ + + + + + + + + + + + + + + + + + + + + + + + + +
+ Constructor Detail | +
---|
BackgroundRenderingSpec()+
+
Groovy Documentation
+
+
+
|
++Groovy Documentation + | +|||||||
+ | + FRAMES + NO FRAMES + + + + | + +|||||||
+SUMMARY: NESTED | FIELD | CONSTR | METHOD | ++DETAIL: FIELD | CONSTR | METHOD | +
java.lang.Object +grails.plugin.rendering.ControllerRelativeTemplateSpec +
class ControllerRelativeTemplateSpec + ++ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ Constructor Summary | +|
+ ControllerRelativeTemplateSpec()
+ + + |
+
+ Method Summary | +
---|
+ Methods inherited from class java.lang.Object + | |
---|---|
java.lang.Object#wait(), java.lang.Object#wait(long), java.lang.Object#wait(long, int), 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() |
+ + + + + + + + + + + + + + + + + + + + + + + + + +
+ Constructor Detail | +
---|
ControllerRelativeTemplateSpec()+
+
Groovy Documentation
+
+
+
|
++Groovy Documentation + | +|||||||
+ | + FRAMES + NO FRAMES + + + + | + +|||||||
+SUMMARY: NESTED | FIELD | CONSTR | METHOD | ++DETAIL: FIELD | CONSTR | METHOD | +
java.lang.Object +grails.plugin.rendering.GrailsRenderingException +
class GrailsRenderingException + ++ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ Constructor Summary | +|
+ GrailsRenderingException()
+ + + |
+
+ Method Summary | +
---|
+ Methods inherited from class java.lang.Object + | |
---|---|
java.lang.Object#wait(), java.lang.Object#wait(long), java.lang.Object#wait(long, int), 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() |
+ + + + + + + + + + + + + + + + + + + + + + + + + +
+ Constructor Detail | +
---|
GrailsRenderingException()+
+
Groovy Documentation
+
+
+
|
++Groovy Documentation + | +|||||||
+ | + FRAMES + NO FRAMES + + + + | + +|||||||
+SUMMARY: NESTED | FIELD | CONSTR | METHOD | ++DETAIL: FIELD | CONSTR | METHOD | +
java.lang.Object +grails.plugin.rendering.RenderingException +
class RenderingException + ++ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ Constructor Summary | +|
+ RenderingException()
+ + + |
+
+ Method Summary | +
---|
+ Methods inherited from class java.lang.Object + | |
---|---|
java.lang.Object#wait(), java.lang.Object#wait(long), java.lang.Object#wait(long, int), 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() |
+ + + + + + + + + + + + + + + + + + + + + + + + + +
+ Constructor Detail | +
---|
RenderingException()+
+
Groovy Documentation
+
+
+
|
++Groovy Documentation + | +|||||||
+ | + FRAMES + NO FRAMES + + + + | + +|||||||
+SUMMARY: NESTED | FIELD | CONSTR | METHOD | ++DETAIL: FIELD | CONSTR | METHOD | +
java.lang.Object +grails.plugin.rendering.RenderingGrailsPluginSpec +
class RenderingGrailsPluginSpec + ++ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ Constructor Summary | +|
+ RenderingGrailsPluginSpec()
+ + + |
+
+ Method Summary | +
---|
+ Methods inherited from class java.lang.Object + | |
---|---|
java.lang.Object#wait(), java.lang.Object#wait(long), java.lang.Object#wait(long, int), 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() |
+ + + + + + + + + + + + + + + + + + + + + + + + + +
+ Constructor Detail | +
---|
RenderingGrailsPluginSpec()+
+
Groovy Documentation
+
+
+
|
++Groovy Documentation + | +|||||||
+ | + FRAMES + NO FRAMES + + + + | + +|||||||
+SUMMARY: NESTED | FIELD | CONSTR | METHOD | ++DETAIL: FIELD | CONSTR | METHOD | +
java.lang.Object +grails.plugin.rendering.RenderingService +
class RenderingService + ++ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ Constructor Summary | +|
+ RenderingService()
+ + + |
+
+ Method Summary | +
---|
+ Methods inherited from class java.lang.Object + | |
---|---|
java.lang.Object#wait(), java.lang.Object#wait(long), java.lang.Object#wait(long, int), 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() |
+ + + + + + + + + + + + + + + + + + + + + + + + + +
+ Constructor Detail | +
---|
RenderingService()+
+
Groovy Documentation
+
+
+
|
++Groovy Documentation + | +|||||||
+ | + FRAMES + NO FRAMES + + + + | + +|||||||
+SUMMARY: NESTED | FIELD | CONSTR | METHOD | ++DETAIL: FIELD | CONSTR | METHOD | +
java.lang.Object +grails.plugin.rendering.RenderingServiceSpec +
class RenderingServiceSpec + ++ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ Constructor Summary | +|
+ RenderingServiceSpec()
+ + + |
+
+ Method Summary | +
---|
+ Methods inherited from class java.lang.Object + | |
---|---|
java.lang.Object#wait(), java.lang.Object#wait(long), java.lang.Object#wait(long, int), 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() |
+ + + + + + + + + + + + + + + + + + + + + + + + + +
+ Constructor Detail | +
---|
RenderingServiceSpec()+
+
Groovy Documentation
+
+
+
|
++Groovy Documentation + | +|||||||
+ | + FRAMES + NO FRAMES + + + + | + +|||||||
+SUMMARY: NESTED | FIELD | CONSTR | METHOD | ++DETAIL: FIELD | CONSTR | METHOD | +
java.lang.Object +grails.plugin.rendering.RenderingTagLib +
class RenderingTagLib + ++ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ Constructor Summary | +|
+ RenderingTagLib()
+ + + |
+
+ Method Summary | +
---|
+ Methods inherited from class java.lang.Object + | |
---|---|
java.lang.Object#wait(), java.lang.Object#wait(long), java.lang.Object#wait(long, int), 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() |
+ + + + + + + + + + + + + + + + + + + + + + + + + +
+ Constructor Detail | +
---|
RenderingTagLib()+
+
Groovy Documentation
+
+
+
|
++Groovy Documentation + | +|||||||
+ | + FRAMES + NO FRAMES + + + + | + +|||||||
+SUMMARY: NESTED | FIELD | CONSTR | METHOD | ++DETAIL: FIELD | CONSTR | METHOD | +
java.lang.Object +grails.plugin.rendering.RenderingTagLibSpec +
class RenderingTagLibSpec + ++ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ Constructor Summary | +|
+ RenderingTagLibSpec()
+ + + |
+
+ Method Summary | +
---|
+ Methods inherited from class java.lang.Object + | |
---|---|
java.lang.Object#wait(), java.lang.Object#wait(long), java.lang.Object#wait(long, int), 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() |
+ + + + + + + + + + + + + + + + + + + + + + + + + +
+ Constructor Detail | +
---|
RenderingTagLibSpec()+
+
Groovy Documentation
+
+
+
|
++Groovy Documentation + | +|||||||
+ | + FRAMES + NO FRAMES + + + + | + +|||||||
+SUMMARY: NESTED | FIELD | CONSTR | METHOD | ++DETAIL: FIELD | CONSTR | METHOD | +
java.lang.Object +grails.plugin.rendering.datauri.DataUri +
class DataUri + ++ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ Constructor Summary | +|
+ DataUri()
+ + + |
+
+ Method Summary | +
---|
+ Methods inherited from class java.lang.Object + | |
---|---|
java.lang.Object#wait(), java.lang.Object#wait(long), java.lang.Object#wait(long, int), 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() |
+ + + + + + + + + + + + + + + + + + + + + + + + + +
+ Constructor Detail | +
---|
DataUri()+
+
Groovy Documentation
+
+
+
|
++Groovy Documentation + | +|||||||
+ | + FRAMES + NO FRAMES + + + + | + +|||||||
+SUMMARY: NESTED | FIELD | CONSTR | METHOD | ++DETAIL: FIELD | CONSTR | METHOD | +
java.lang.Object +grails.plugin.rendering.datauri.DataUriAwareITextUserAgent +
class DataUriAwareITextUserAgent + ++ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ Constructor Summary | +|
+ DataUriAwareITextUserAgent()
+ + + |
+
+ Method Summary | +
---|
+ Methods inherited from class java.lang.Object + | |
---|---|
java.lang.Object#wait(), java.lang.Object#wait(long), java.lang.Object#wait(long, int), 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() |
+ + + + + + + + + + + + + + + + + + + + + + + + + +
+ Constructor Detail | +
---|
DataUriAwareITextUserAgent()+
+
Groovy Documentation
+
+
+
|
++Groovy Documentation + | +|||||||
+ | + FRAMES + NO FRAMES + + + + | + +|||||||
+SUMMARY: NESTED | FIELD | CONSTR | METHOD | ++DETAIL: FIELD | CONSTR | METHOD | +
java.lang.Object +grails.plugin.rendering.datauri.DataUriAwareNaiveUserAgent +
class DataUriAwareNaiveUserAgent + ++ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ Constructor Summary | +|
+ DataUriAwareNaiveUserAgent()
+ + + |
+
+ Method Summary | +
---|
+ Methods inherited from class java.lang.Object + | |
---|---|
java.lang.Object#wait(), java.lang.Object#wait(long), java.lang.Object#wait(long, int), 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() |
+ + + + + + + + + + + + + + + + + + + + + + + + + +
+ Constructor Detail | +
---|
DataUriAwareNaiveUserAgent()+
+
Groovy Documentation
+
+
+
|
++Groovy Documentation + | +|||||||
+ | + FRAMES + NO FRAMES + + + + | + +|||||||
+SUMMARY: NESTED | FIELD | CONSTR | METHOD | ++DETAIL: FIELD | CONSTR | METHOD | +
java.lang.Object +grails.plugin.rendering.datauri.DataUriSpec +
class DataUriSpec + ++ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ Constructor Summary | +|
+ DataUriSpec()
+ + + |
+
+ Method Summary | +
---|
+ Methods inherited from class java.lang.Object + | |
---|---|
java.lang.Object#wait(), java.lang.Object#wait(long), java.lang.Object#wait(long, int), 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() |
+ + + + + + + + + + + + + + + + + + + + + + + + + +
+ Constructor Detail | +
---|
DataUriSpec()+
+
Groovy Documentation
+
+Classes
+ DataUri DataUriAwareITextUserAgent DataUriAwareNaiveUserAgent DataUriSpec DataUri DataUriAwareITextUserAgent DataUriAwareNaiveUserAgent DataUriSpec |
+
+
+
|
++ Groovy Documentation + + | +|||||||
+ PREV + NEXT | ++ FRAMES + NO FRAMES + + + + + | +
+ + + + +
+ Class Summary | +|
---|---|
DataUri | ++ |
DataUriAwareITextUserAgent | ++ |
DataUriAwareNaiveUserAgent | ++ |
DataUriSpec | ++ |
DataUri | ++ |
DataUriAwareITextUserAgent | ++ |
DataUriAwareNaiveUserAgent | ++ |
DataUriSpec | ++ |
+
Groovy Documentation
+
+
+
|
++Groovy Documentation + | +|||||||
+ | + FRAMES + NO FRAMES + + + + | + +|||||||
+SUMMARY: NESTED | FIELD | CONSTR | METHOD | ++DETAIL: FIELD | CONSTR | METHOD | +
java.lang.Object +grails.plugin.rendering.document.RenderEnvironment +
class RenderEnvironment + ++ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ Constructor Summary | +|
+ RenderEnvironment()
+ + + |
+
+ Method Summary | +
---|
+ Methods inherited from class java.lang.Object + | |
---|---|
java.lang.Object#wait(), java.lang.Object#wait(long), java.lang.Object#wait(long, int), 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() |
+ + + + + + + + + + + + + + + + + + + + + + + + + +
+ Constructor Detail | +
---|
RenderEnvironment()+
+
Groovy Documentation
+
+
+
|
++Groovy Documentation + | +|||||||
+ | + FRAMES + NO FRAMES + + + + | + +|||||||
+SUMMARY: NESTED | FIELD | CONSTR | METHOD | ++DETAIL: FIELD | CONSTR | METHOD | +
java.lang.Object +grails.plugin.rendering.document.UnknownTemplateException +
class UnknownTemplateException + ++ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ Constructor Summary | +|
+ UnknownTemplateException()
+ + + |
+
+ Method Summary | +
---|
+ Methods inherited from class java.lang.Object + | |
---|---|
java.lang.Object#wait(), java.lang.Object#wait(long), java.lang.Object#wait(long, int), 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() |
+ + + + + + + + + + + + + + + + + + + + + + + + + +
+ Constructor Detail | +
---|
UnknownTemplateException()+
+
Groovy Documentation
+
+
+
|
++Groovy Documentation + | +|||||||
+ | + FRAMES + NO FRAMES + + + + | + +|||||||
+SUMMARY: NESTED | FIELD | CONSTR | METHOD | ++DETAIL: FIELD | CONSTR | METHOD | +
java.lang.Object +grails.plugin.rendering.document.XhtmlDocumentService +
class XhtmlDocumentService + ++ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ Constructor Summary | +|
+ XhtmlDocumentService()
+ + + |
+
+ Method Summary | +
---|
+ Methods inherited from class java.lang.Object + | |
---|---|
java.lang.Object#wait(), java.lang.Object#wait(long), java.lang.Object#wait(long, int), 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() |
+ + + + + + + + + + + + + + + + + + + + + + + + + +
+ Constructor Detail | +
---|
XhtmlDocumentService()+
+
Groovy Documentation
+
+
+
|
++Groovy Documentation + | +|||||||
+ | + FRAMES + NO FRAMES + + + + | + +|||||||
+SUMMARY: NESTED | FIELD | CONSTR | METHOD | ++DETAIL: FIELD | CONSTR | METHOD | +
java.lang.Object +grails.plugin.rendering.document.XhtmlDocumentServiceSpec +
class XhtmlDocumentServiceSpec + ++ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ Constructor Summary | +|
+ XhtmlDocumentServiceSpec()
+ + + |
+
+ Method Summary | +
---|
+ Methods inherited from class java.lang.Object + | |
---|---|
java.lang.Object#wait(), java.lang.Object#wait(long), java.lang.Object#wait(long, int), 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() |
+ + + + + + + + + + + + + + + + + + + + + + + + + +
+ Constructor Detail | +
---|
XhtmlDocumentServiceSpec()+
+
Groovy Documentation
+
+
+
|
++Groovy Documentation + | +|||||||
+ | + FRAMES + NO FRAMES + + + + | + +|||||||
+SUMMARY: NESTED | FIELD | CONSTR | METHOD | ++DETAIL: FIELD | CONSTR | METHOD | +
java.lang.Object +grails.plugin.rendering.document.XmlParseException +
class XmlParseException + ++ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ Constructor Summary | +|
+ XmlParseException()
+ + + |
+
+ Method Summary | +
---|
+ Methods inherited from class java.lang.Object + | |
---|---|
java.lang.Object#wait(), java.lang.Object#wait(long), java.lang.Object#wait(long, int), 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() |
+ + + + + + + + + + + + + + + + + + + + + + + + + +
+ Constructor Detail | +
---|
XmlParseException()+
+
Groovy Documentation
+
+Classes
+ UnknownTemplateException XhtmlDocumentServiceSpec XmlParseException UnknownTemplateException XhtmlDocumentServiceSpec XmlParseException |
+
+
+
|
++ Groovy Documentation + + | +|||||||
+ PREV + NEXT | ++ FRAMES + NO FRAMES + + + + + | +
+ + + + +
+ Class Summary | +|
---|---|
UnknownTemplateException | ++ |
XhtmlDocumentServiceSpec | +The xhtmlDocumentService is exercised in the rendering + service tests. | +
XmlParseException | ++ |
UnknownTemplateException | ++ |
XhtmlDocumentServiceSpec | ++ |
XmlParseException | ++ |
+
Groovy Documentation
+
+
+
|
++Groovy Documentation + | +|||||||
+ | + FRAMES + NO FRAMES + + + + | + +|||||||
+SUMMARY: NESTED | FIELD | CONSTR | METHOD | ++DETAIL: FIELD | CONSTR | METHOD | +
java.lang.Object +grails.plugin.rendering.image.GifRenderingService +
class GifRenderingService + ++ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ Constructor Summary | +|
+ GifRenderingService()
+ + + |
+
+ Method Summary | +
---|
+ Methods inherited from class java.lang.Object + | |
---|---|
java.lang.Object#wait(), java.lang.Object#wait(long), java.lang.Object#wait(long, int), 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() |
+ + + + + + + + + + + + + + + + + + + + + + + + + +
+ Constructor Detail | +
---|
GifRenderingService()+
+
Groovy Documentation
+
+
+
|
++Groovy Documentation + | +|||||||
+ | + FRAMES + NO FRAMES + + + + | + +|||||||
+SUMMARY: NESTED | FIELD | CONSTR | METHOD | ++DETAIL: FIELD | CONSTR | METHOD | +
java.lang.Object +grails.plugin.rendering.image.GifRenderingServiceSpec +
class GifRenderingServiceSpec + ++ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ Constructor Summary | +|
+ GifRenderingServiceSpec()
+ + + |
+
+ Method Summary | +
---|
+ Methods inherited from class java.lang.Object + | |
---|---|
java.lang.Object#wait(), java.lang.Object#wait(long), java.lang.Object#wait(long, int), 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() |
+ + + + + + + + + + + + + + + + + + + + + + + + + +
+ Constructor Detail | +
---|
GifRenderingServiceSpec()+
+
Groovy Documentation
+
+
+
|
++Groovy Documentation + | +|||||||
+ | + FRAMES + NO FRAMES + + + + | + +|||||||
+SUMMARY: NESTED | FIELD | CONSTR | METHOD | ++DETAIL: FIELD | CONSTR | METHOD | +
java.lang.Object +grails.plugin.rendering.image.ImageRenderingService +
class ImageRenderingService + ++ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ Constructor Summary | +|
+ ImageRenderingService()
+ + + |
+
+ Method Summary | +
---|
+ Methods inherited from class java.lang.Object + | |
---|---|
java.lang.Object#wait(), java.lang.Object#wait(long), java.lang.Object#wait(long, int), 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() |
+ + + + + + + + + + + + + + + + + + + + + + + + + +
+ Constructor Detail | +
---|
ImageRenderingService()+
+
Groovy Documentation
+
+
+
|
++Groovy Documentation + | +|||||||
+ | + FRAMES + NO FRAMES + + + + | + +|||||||
+SUMMARY: NESTED | FIELD | CONSTR | METHOD | ++DETAIL: FIELD | CONSTR | METHOD | +
java.lang.Object +grails.plugin.rendering.image.ImageRenderingServiceSpec +
class ImageRenderingServiceSpec + ++ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ Constructor Summary | +|
+ ImageRenderingServiceSpec()
+ + + |
+
+ Method Summary | +
---|
+ Methods inherited from class java.lang.Object + | |
---|---|
java.lang.Object#wait(), java.lang.Object#wait(long), java.lang.Object#wait(long, int), 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() |
+ + + + + + + + + + + + + + + + + + + + + + + + + +
+ Constructor Detail | +
---|
ImageRenderingServiceSpec()+
+
Groovy Documentation
+
+
+
|
++Groovy Documentation + | +|||||||
+ | + FRAMES + NO FRAMES + + + + | + +|||||||
+SUMMARY: NESTED | FIELD | CONSTR | METHOD | ++DETAIL: FIELD | CONSTR | METHOD | +
java.lang.Object +grails.plugin.rendering.image.JpegRenderingService +
class JpegRenderingService + ++ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ Constructor Summary | +|
+ JpegRenderingService()
+ + + |
+
+ Method Summary | +
---|
+ Methods inherited from class java.lang.Object + | |
---|---|
java.lang.Object#wait(), java.lang.Object#wait(long), java.lang.Object#wait(long, int), 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() |
+ + + + + + + + + + + + + + + + + + + + + + + + + +
+ Constructor Detail | +
---|
JpegRenderingService()+
+
Groovy Documentation
+
+
+
|
++Groovy Documentation + | +|||||||
+ | + FRAMES + NO FRAMES + + + + | + +|||||||
+SUMMARY: NESTED | FIELD | CONSTR | METHOD | ++DETAIL: FIELD | CONSTR | METHOD | +
java.lang.Object +grails.plugin.rendering.image.JpegRenderingServiceSpec +
class JpegRenderingServiceSpec + ++ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ Constructor Summary | +|
+ JpegRenderingServiceSpec()
+ + + |
+
+ Method Summary | +
---|
+ Methods inherited from class java.lang.Object + | |
---|---|
java.lang.Object#wait(), java.lang.Object#wait(long), java.lang.Object#wait(long, int), 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() |
+ + + + + + + + + + + + + + + + + + + + + + + + + +
+ Constructor Detail | +
---|
JpegRenderingServiceSpec()+
+
Groovy Documentation
+
+
+
|
++Groovy Documentation + | +|||||||
+ | + FRAMES + NO FRAMES + + + + | + +|||||||
+SUMMARY: NESTED | FIELD | CONSTR | METHOD | ++DETAIL: FIELD | CONSTR | METHOD | +
java.lang.Object +grails.plugin.rendering.image.PngRenderingService +
class PngRenderingService + ++ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ Constructor Summary | +|
+ PngRenderingService()
+ + + |
+
+ Method Summary | +
---|
+ Methods inherited from class java.lang.Object + | |
---|---|
java.lang.Object#wait(), java.lang.Object#wait(long), java.lang.Object#wait(long, int), 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() |
+ + + + + + + + + + + + + + + + + + + + + + + + + +
+ Constructor Detail | +
---|
PngRenderingService()+
+
Groovy Documentation
+
+
+
|
++Groovy Documentation + | +|||||||
+ | + FRAMES + NO FRAMES + + + + | + +|||||||
+SUMMARY: NESTED | FIELD | CONSTR | METHOD | ++DETAIL: FIELD | CONSTR | METHOD | +
java.lang.Object +grails.plugin.rendering.image.PngRenderingServiceSpec +
class PngRenderingServiceSpec + ++ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ Constructor Summary | +|
+ PngRenderingServiceSpec()
+ + + |
+
+ Method Summary | +
---|
+ Methods inherited from class java.lang.Object + | |
---|---|
java.lang.Object#wait(), java.lang.Object#wait(long), java.lang.Object#wait(long, int), 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() |
+ + + + + + + + + + + + + + + + + + + + + + + + + +
+ Constructor Detail | +
---|
PngRenderingServiceSpec()+
+
Groovy Documentation
+
+Classes
+ GifRenderingServiceSpec ImageRenderingServiceSpec JpegRenderingServiceSpec GifRenderingServiceSpec ImageRenderingServiceSpec JpegRenderingServiceSpec |
+
+
+
|
++ Groovy Documentation + + | +|||||||
+ PREV + NEXT | ++ FRAMES + NO FRAMES + + + + + | +
+ + + + +
+ Class Summary | +|
---|---|
GifRenderingServiceSpec | ++ |
ImageRenderingServiceSpec | ++ |
JpegRenderingServiceSpec | ++ |
GifRenderingServiceSpec | ++ |
ImageRenderingServiceSpec | ++ |
JpegRenderingServiceSpec | ++ |
+
Groovy Documentation
+
+Classes
+ RenderingGrailsPluginSpec RenderingTagLibSpec GrailsRenderingException RenderingException RenderingGrailsPluginSpec RenderingTagLibSpec |
+
+Exceptions
+ GrailsRenderingException RenderingException |
+
+
+
|
++ Groovy Documentation + + | +|||||||
+ PREV + NEXT | ++ FRAMES + NO FRAMES + + + + + | +
+ + + + +
+ Class Summary | +|
---|---|
RenderingGrailsPluginSpec | ++ |
RenderingTagLibSpec | ++ |
GrailsRenderingException | ++ |
RenderingException | ++ |
RenderingGrailsPluginSpec | ++ |
RenderingTagLibSpec | ++ |
+
+ Exception Summary | +|
---|---|
GrailsRenderingException | ++ |
RenderingException | ++ |
+
Groovy Documentation
+
+
+
|
++Groovy Documentation + | +|||||||
+ | + FRAMES + NO FRAMES + + + + | + +|||||||
+SUMMARY: NESTED | FIELD | CONSTR | METHOD | ++DETAIL: FIELD | CONSTR | METHOD | +
java.lang.Object +grails.plugin.rendering.pdf.PdfRenderingService +
class PdfRenderingService + ++ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ Constructor Summary | +|
+ PdfRenderingService()
+ + + |
+
+ Method Summary | +
---|
+ Methods inherited from class java.lang.Object + | |
---|---|
java.lang.Object#wait(), java.lang.Object#wait(long), java.lang.Object#wait(long, int), 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() |
+ + + + + + + + + + + + + + + + + + + + + + + + + +
+ Constructor Detail | +
---|
PdfRenderingService()+
+
Groovy Documentation
+
+
+
|
++Groovy Documentation + | +|||||||
+ | + FRAMES + NO FRAMES + + + + | + +|||||||
+SUMMARY: NESTED | FIELD | CONSTR | METHOD | ++DETAIL: FIELD | CONSTR | METHOD | +
java.lang.Object +grails.plugin.rendering.pdf.PdfRenderingServiceSpec +
class PdfRenderingServiceSpec + ++ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ Constructor Summary | +|
+ PdfRenderingServiceSpec()
+ + + |
+
+ Method Summary | +
---|
+ Methods inherited from class java.lang.Object + | |
---|---|
java.lang.Object#wait(), java.lang.Object#wait(long), java.lang.Object#wait(long, int), 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() |
+ + + + + + + + + + + + + + + + + + + + + + + + + +
+ Constructor Detail | +
---|
PdfRenderingServiceSpec()+
+
Groovy Documentation
+
+
+
|
++Groovy Documentation + | +|||||||
+ | + FRAMES + NO FRAMES + + + + | + +|||||||
+SUMMARY: NESTED | FIELD | CONSTR | METHOD | ++DETAIL: FIELD | CONSTR | METHOD | +
java.lang.Object +grails.plugin.rendering.test.BackgroundRenderingService +
class BackgroundRenderingService + ++ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ Constructor Summary | +|
+ BackgroundRenderingService()
+ + + |
+
+ Method Summary | +
---|
+ Methods inherited from class java.lang.Object + | |
---|---|
java.lang.Object#wait(), java.lang.Object#wait(long), java.lang.Object#wait(long, int), 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() |
+ + + + + + + + + + + + + + + + + + + + + + + + + +
+ Constructor Detail | +
---|
BackgroundRenderingService()+
+
Groovy Documentation
+
+
+
|
++ Groovy Documentation + + | +||||||
+ PREV + NEXT | ++ FRAMES + NO FRAMES + + + + | +
+ +++The Overview +page is the front page of this API document and provides a list of all +packages with a summary for each. This page can also contain an overall +description of the set of packages.
+ +++Each package has a page that contains a list of its classes and +interfaces, with a summary for each. This page can contain four +categories:
+
+- Interfaces (italic)
- Classes
- Enums
- Exceptions
- Errors
- Annotation Types
+ ++ ++Each class, interface, nested class and nested interface has its own +separate page. Each of these pages has three sections consisting of a +class/interface description, summary tables, and detailed member +descriptions:
+
+Each summary entry contains the first sentence from the detailed +description for that item. The summary entries are alphabetical, while +the detailed descriptions are in the order they appear in the source +code. This preserves the logical groupings established by the +programmer.- Class inheritance diagram
- Direct Subclasses
- All Known Subinterfaces
- All Known Implementing Classes
- Class/interface declaration
- Class/interface description +
+
- Nested Class Summary
- Field Summary
- Constructor Summary
- Method Summary +
+
- Field Detail
- Constructor Detail
- Method Detail
+ ++ ++Each annotation type has its own separate page with the following sections:
+
+- Annotation Type declaration
- Annotation Type description
- Required Element Summary
- Optional Element Summary
- Element Detail
+ +++Each enum has its own separate page with the following sections:
+
+- Enum declaration
- Enum description
- Enum Constant Summary
- Enum Constant Detail
+There is a Class Hierarchy +page for all packages, plus a hierarchy for each package. Each +hierarchy page contains a list of classes and a list of interfaces. The +classes are organized by inheritance structure starting with+java.lang.Object
. The interfaces do not inherit fromjava.lang.Object
.+
+- When viewing the Overview page, clicking on "Tree" displays the hierarchy for all packages.
- When viewing a particular package, class or interface page, clicking "Tree" displays the hierarchy for only that package.
+The Deprecated API +page lists all of the parts of the API that have been deprecated. A deprecated API +is not recommended for use, generally due to improvements, and a +replacement API is usually given. Deprecated APIs may be removed in +future implementations.+
+The Index contains an alphabetic list of all classes, interfaces, constructors, methods, and fields.+
+
+ +
+
+
+This help file applies to API documentation generated using the standard doclet.
+
+
+
Groovy Documentation
+
+
+
|
++ Groovy Documentation + + | +|||||||
+ PREV + NEXT | ++ FRAMES + NO FRAMES + + + + | +
Groovy Documentation
++Groovy Documentation | +
---|
All Classes
+
+
+Packages
+ |
+
+ + + diff --git a/docs/gapi/overview-summary.html b/docs/gapi/overview-summary.html new file mode 100644 index 0000000..478fa36 --- /dev/null +++ b/docs/gapi/overview-summary.html @@ -0,0 +1,118 @@ + + + +
+
+
+
|
++Groovy Documentation + + | +|||||||
+ PREV + NEXT | ++ FRAMES + NO FRAMES + + + + + | +
+ +
+Packages | +|
---|---|
DefaultPackage | ++ |
grails.plugin.rendering | ++ |
grails.plugin.rendering.datauri | ++ |
grails.plugin.rendering.document | ++ |
grails.plugin.rendering.image | ++ |
+ +
Groovy Documentation
+
+
+
|
++Groovy Documentation + | +|||||||
+ | + FRAMES + NO FRAMES + + + + | + +|||||||
+SUMMARY: NESTED | FIELD | PROPERTY | CONSTR | METHOD | ++DETAIL: FIELD | PROPERTY | CONSTR | METHOD | +
java.lang.Object +plugins.pdf-plugin-test.PdfPluginTestGrailsPlugin +
class PdfPluginTestGrailsPlugin + ++ + + + + + + + + + + + + + + + + + + + + +
+ Property Summary | +|
---|---|
+ def |
+
+ author
+ + + |
+
+ def |
+
+ authorEmail
+ + + |
+
+ def |
+
+ dependsOn
+ + + |
+
+ def |
+
+ description
+ + + |
+
+ def |
+
+ doWithApplicationContext
+ + + |
+
+ def |
+
+ doWithDynamicMethods
+ + + |
+
+ def |
+
+ doWithSpring
+ + + |
+
+ def |
+
+ doWithWebDescriptor
+ + + |
+
+ def |
+
+ documentation
+ + + |
+
+ def |
+
+ grailsVersion
+ + + |
+
+ def |
+
+ onChange
+ + + |
+
+ def |
+
+ onConfigChange
+ + + |
+
+ def |
+
+ pluginExcludes
+ + + |
+
+ def |
+
+ title
+ + + |
+
+ def |
+
+ version
+ + + |
+
+ Constructor Summary | +|
+ PdfPluginTestGrailsPlugin()
+ + + |
+
+ Method Summary | +
---|
+ Methods inherited from class java.lang.Object + | |
---|---|
java.lang.Object#wait(), java.lang.Object#wait(long), java.lang.Object#wait(long, int), 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() |
+ + + + + + + + + + + + + + + +
+ Property Detail | +
---|
def author+
+
def authorEmail+
+
def dependsOn+
+
def description+
+
def doWithApplicationContext+
+
def doWithDynamicMethods+
+
def doWithSpring+
+
def doWithWebDescriptor+
+
def documentation+
+
def grailsVersion+
+
def onChange+
+
def onConfigChange+
+
def pluginExcludes+
+
def title+
+
def version+
+
+ Constructor Detail | +
---|
PdfPluginTestGrailsPlugin()+
+
Groovy Documentation
+
+
+
|
++Groovy Documentation + | +|||||||
+ | + FRAMES + NO FRAMES + + + + | + +|||||||
+SUMMARY: NESTED | FIELD | CONSTR | METHOD | ++DETAIL: FIELD | CONSTR | METHOD | +
java.lang.Object +plugins.pdf-plugin-test.grails-app.conf.BuildConfig +
class BuildConfig + ++ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ Constructor Summary | +|
+ BuildConfig()
+ + + |
+
+ Method Summary | +
---|
+ Methods inherited from class java.lang.Object + | |
---|---|
java.lang.Object#wait(), java.lang.Object#wait(long), java.lang.Object#wait(long, int), 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() |
+ + + + + + + + + + + + + + + + + + + + + + + + + +
+ Constructor Detail | +
---|
BuildConfig()+
+
Groovy Documentation
+
+
+
|
++Groovy Documentation + | +|||||||
+ | + FRAMES + NO FRAMES + + + + | + +|||||||
+SUMMARY: NESTED | FIELD | CONSTR | METHOD | ++DETAIL: FIELD | CONSTR | METHOD | +
java.lang.Object +plugins.pdf-plugin-test.grails-app.conf.DataSource +
class DataSource + ++ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ Constructor Summary | +|
+ DataSource()
+ + + |
+
+ Method Summary | +
---|
+ Methods inherited from class java.lang.Object + | |
---|---|
java.lang.Object#wait(), java.lang.Object#wait(long), java.lang.Object#wait(long, int), 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() |
+ + + + + + + + + + + + + + + + + + + + + + + + + +
+ Constructor Detail | +
---|
DataSource()+
+
Groovy Documentation
+
+
+
|
++Groovy Documentation + | +|||||||
+ | + FRAMES + NO FRAMES + + + + | + +|||||||
+SUMMARY: NESTED | FIELD | PROPERTY | CONSTR | METHOD | ++DETAIL: FIELD | PROPERTY | CONSTR | METHOD | +
java.lang.Object +plugins.pdf-plugin-test.grails-app.conf.UrlMappings +
class UrlMappings + ++ + + + + + + + + + + + + + + + + + + + + +
+ Property Summary | +|
---|---|
+ static def |
+
+ mappings
+ + + |
+
+ Constructor Summary | +|
+ UrlMappings()
+ + + |
+
+ Method Summary | +
---|
+ Methods inherited from class java.lang.Object + | |
---|---|
java.lang.Object#wait(), java.lang.Object#wait(long), java.lang.Object#wait(long, int), 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() |
+ + + + + + + + + + + + + + + +
+ Property Detail | +
---|
static def mappings+
+
+ Constructor Detail | +
---|
UrlMappings()+
+
Groovy Documentation
+
+Classes
+ BuildConfig DataSource UrlMappings |
+
+
+
|
++ Groovy Documentation + + | +|||||||
+ PREV + NEXT | ++ FRAMES + NO FRAMES + + + + + | +
+ + + + +
+ Class Summary | +|
---|---|
BuildConfig | ++ |
DataSource | ++ |
UrlMappings | ++ |
+
Groovy Documentation
+
+Classes
+ PdfPluginTestGrailsPlugin |
+
+
+
|
++ Groovy Documentation + + | +|||||||
+ PREV + NEXT | ++ FRAMES + NO FRAMES + + + + + | +
+ + + + +
+ Class Summary | +|
---|---|
PdfPluginTestGrailsPlugin | ++ |
+
Groovy Documentation
+
+
+
|
++Groovy Documentation + | +|||||||
+ | + FRAMES + NO FRAMES + + + + | + +|||||||
+SUMMARY: NESTED | FIELD | CONSTR | METHOD | ++DETAIL: FIELD | CONSTR | METHOD | +
java.lang.Object +plugins.pdf-plugin-test.scripts._Install +
class _Install + ++ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ Constructor Summary | +|
+ _Install()
+ + + |
+
+ Method Summary | +
---|
+ Methods inherited from class java.lang.Object + | |
---|---|
wait, wait, wait, hashCode, getClass, equals, toString, notify, notifyAll |
+ + + + + + + + + + + + + + + + + + + + + + + + + +
+ Constructor Detail | +
---|
_Install()+
+
Groovy Documentation
+
+
+
|
++Groovy Documentation + | +|||||||
+ | + FRAMES + NO FRAMES + + + + | + +|||||||
+SUMMARY: NESTED | FIELD | CONSTR | METHOD | ++DETAIL: FIELD | CONSTR | METHOD | +
java.lang.Object +plugins.pdf-plugin-test.scripts._Uninstall +
class _Uninstall + ++ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ Constructor Summary | +|
+ _Uninstall()
+ + + |
+
+ Method Summary | +
---|
+ Methods inherited from class java.lang.Object + | |
---|---|
wait, wait, wait, hashCode, getClass, equals, toString, notify, notifyAll |
+ + + + + + + + + + + + + + + + + + + + + + + + + +
+ Constructor Detail | +
---|
_Uninstall()+
+
Groovy Documentation
+
+
+
|
++Groovy Documentation + | +|||||||
+ | + FRAMES + NO FRAMES + + + + | + +|||||||
+SUMMARY: NESTED | FIELD | CONSTR | METHOD | ++DETAIL: FIELD | CONSTR | METHOD | +
java.lang.Object +plugins.pdf-plugin-test.scripts._Upgrade +
class _Upgrade + ++ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ Constructor Summary | +|
+ _Upgrade()
+ + + |
+
+ Method Summary | +
---|
+ Methods inherited from class java.lang.Object + | |
---|---|
wait, wait, wait, hashCode, getClass, equals, toString, notify, notifyAll |
+ + + + + + + + + + + + + + + + + + + + + + + + + +
+ Constructor Detail | +
---|
_Upgrade()+
+
Groovy Documentation
+
+Classes
+ _Install _Uninstall _Upgrade |
+
+
+
|
++ Groovy Documentation + + | +|||||||
+ PREV + NEXT | ++ FRAMES + NO FRAMES + + + + + | +
+ + + + +
+ Class Summary | +|
---|---|
_Install | ++ |
_Uninstall | ++ |
_Upgrade | ++ |
+
Groovy Documentation
+
+
+
|
++Groovy Documentation + | +|||||||
+ | + FRAMES + NO FRAMES + + + + | + +|||||||
+SUMMARY: NESTED | FIELD | CONSTR | METHOD | ++DETAIL: FIELD | CONSTR | METHOD | +
java.lang.Object +java.lang.Throwable +
java.lang.Exception +
src.groovy.grails.plugin.pdf.GrailsPdfException +
class GrailsPdfException +extends java.lang.Exception + ++ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ Constructor Summary | +|
+ GrailsPdfException(java.lang.CharSequence message, java.lang.Throwable cause = null)
+ + + |
+
+ Method Summary | +
---|
+ Methods inherited from class java.lang.Exception + | |
---|---|
printStackTrace, printStackTrace, printStackTrace, fillInStackTrace, getCause, initCause, toString, getMessage, getLocalizedMessage, getStackTrace, setStackTrace, wait, wait, wait, hashCode, getClass, equals, notify, notifyAll |
+ Methods inherited from class java.lang.Throwable + | |
---|---|
printStackTrace, printStackTrace, printStackTrace, fillInStackTrace, getCause, initCause, toString, getMessage, getLocalizedMessage, getStackTrace, setStackTrace, wait, wait, wait, hashCode, getClass, equals, notify, notifyAll |
+ Methods inherited from class java.lang.Object + | |
---|---|
wait, wait, wait, hashCode, getClass, equals, toString, notify, notifyAll |
+ + + + + + + + + + + + + + + + + + + + + + + + + +
+ Constructor Detail | +
---|
public GrailsPdfException(java.lang.CharSequence message, java.lang.Throwable cause = null)+
+
Groovy Documentation
+
+
+
|
++Groovy Documentation + | +|||||||
+ | + FRAMES + NO FRAMES + + + + | + +|||||||
+SUMMARY: NESTED | FIELD | CONSTR | METHOD | ++DETAIL: FIELD | CONSTR | METHOD | +
java.lang.Object +java.lang.Throwable +
java.lang.Exception +
src.groovy.grails.plugin.pdf.GrailsPdfException +
src.groovy.grails.plugin.pdf.RenderingException +
class RenderingException +extends GrailsPdfException + ++ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ Constructor Summary | +|
+ RenderingException(def xml, def cause)
+ + + |
+
+ Method Summary | +
---|
+ Methods inherited from class java.lang.Exception + | |
---|---|
printStackTrace, printStackTrace, printStackTrace, fillInStackTrace, getCause, initCause, toString, getMessage, getLocalizedMessage, getStackTrace, setStackTrace, wait, wait, wait, hashCode, getClass, equals, notify, notifyAll |
+ Methods inherited from class java.lang.Throwable + | |
---|---|
printStackTrace, printStackTrace, printStackTrace, fillInStackTrace, getCause, initCause, toString, getMessage, getLocalizedMessage, getStackTrace, setStackTrace, wait, wait, wait, hashCode, getClass, equals, notify, notifyAll |
+ Methods inherited from class java.lang.Object + | |
---|---|
wait, wait, wait, hashCode, getClass, equals, toString, notify, notifyAll |
+ + + + + + + + + + + + + + + + + + + + + + + + + +
+ Constructor Detail | +
---|
public RenderingException(def xml, def cause)+
+
Groovy Documentation
+
+
+
|
++Groovy Documentation + | +|||||||
+ | + FRAMES + NO FRAMES + + + + | + +|||||||
+SUMMARY: NESTED | FIELD | CONSTR | METHOD | ++DETAIL: FIELD | CONSTR | METHOD | +
java.lang.Object +java.lang.Throwable +
java.lang.Exception +
src.groovy.grails.plugin.pdf.GrailsPdfException +
src.groovy.grails.plugin.pdf.UnknownTemplateException +
class UnknownTemplateException +extends GrailsPdfException + ++ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ Constructor Summary | +|
+ UnknownTemplateException(java.lang.String template, java.lang.String plugin = null)
+ + + |
+
+ Method Summary | +
---|
+ Methods inherited from class java.lang.Exception + | |
---|---|
printStackTrace, printStackTrace, printStackTrace, fillInStackTrace, getCause, initCause, toString, getMessage, getLocalizedMessage, getStackTrace, setStackTrace, wait, wait, wait, hashCode, getClass, equals, notify, notifyAll |
+ Methods inherited from class java.lang.Throwable + | |
---|---|
printStackTrace, printStackTrace, printStackTrace, fillInStackTrace, getCause, initCause, toString, getMessage, getLocalizedMessage, getStackTrace, setStackTrace, wait, wait, wait, hashCode, getClass, equals, notify, notifyAll |
+ Methods inherited from class java.lang.Object + | |
---|---|
wait, wait, wait, hashCode, getClass, equals, toString, notify, notifyAll |
+ + + + + + + + + + + + + + + + + + + + + + + + + +
+ Constructor Detail | +
---|
public UnknownTemplateException(java.lang.String template, java.lang.String plugin = null)+
+
Groovy Documentation
+
+
+
|
++Groovy Documentation + | +|||||||
+ | + FRAMES + NO FRAMES + + + + | + +|||||||
+SUMMARY: NESTED | FIELD | CONSTR | METHOD | ++DETAIL: FIELD | CONSTR | METHOD | +
java.lang.Object +java.lang.Throwable +
java.lang.Exception +
src.groovy.grails.plugin.pdf.GrailsPdfException +
src.groovy.grails.plugin.pdf.XmlParseException +
class XmlParseException +extends GrailsPdfException + ++ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ Constructor Summary | +|
+ XmlParseException(def xml, def cause)
+ + + |
+
+ Method Summary | +
---|
+ Methods inherited from class java.lang.Exception + | |
---|---|
printStackTrace, printStackTrace, printStackTrace, fillInStackTrace, getCause, initCause, toString, getMessage, getLocalizedMessage, getStackTrace, setStackTrace, wait, wait, wait, hashCode, getClass, equals, notify, notifyAll |
+ Methods inherited from class java.lang.Throwable + | |
---|---|
printStackTrace, printStackTrace, printStackTrace, fillInStackTrace, getCause, initCause, toString, getMessage, getLocalizedMessage, getStackTrace, setStackTrace, wait, wait, wait, hashCode, getClass, equals, notify, notifyAll |
+ Methods inherited from class java.lang.Object + | |
---|---|
wait, wait, wait, hashCode, getClass, equals, toString, notify, notifyAll |
+ + + + + + + + + + + + + + + + + + + + + + + + + +
+ Constructor Detail | +
---|
public XmlParseException(def xml, def cause)+
+
Groovy Documentation
+
+Exceptions
+ GrailsPdfException RenderingException UnknownTemplateException XmlParseException |
+
+
+
|
++ Groovy Documentation + + | +|||||||
+ PREV + NEXT | ++ FRAMES + NO FRAMES + + + + + | +
+ + + + + + +
+ Exception Summary | +|
---|---|
GrailsPdfException | ++ |
RenderingException | ++ |
UnknownTemplateException | ++ |
XmlParseException | ++ |
+
Groovy Documentation
+
+
+
|
++Groovy Documentation + | +|||||||
+ | + FRAMES + NO FRAMES + + + + | + +|||||||
+SUMMARY: NESTED | FIELD | CONSTR | METHOD | ++DETAIL: FIELD | CONSTR | METHOD | +
java.lang.Object +java.lang.Throwable +
java.lang.Exception +
java.lang.RuntimeException +
src.groovy.grails.plugin.rendering.GrailsRenderingException +
class GrailsRenderingException +extends java.lang.RuntimeException + ++ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ Constructor Summary | +|
+ GrailsRenderingException(java.lang.CharSequence message, java.lang.Throwable cause = null)
+ + + |
+
+ Method Summary | +
---|
+ Methods inherited from class java.lang.RuntimeException + | |
---|---|
java.lang.RuntimeException#printStackTrace(java.io.PrintStream), java.lang.RuntimeException#printStackTrace(), java.lang.RuntimeException#printStackTrace(java.io.PrintWriter), java.lang.RuntimeException#fillInStackTrace(), java.lang.RuntimeException#getCause(), java.lang.RuntimeException#initCause(java.lang.Throwable), java.lang.RuntimeException#toString(), java.lang.RuntimeException#getMessage(), java.lang.RuntimeException#getLocalizedMessage(), java.lang.RuntimeException#getStackTrace(), java.lang.RuntimeException#setStackTrace([Ljava.lang.StackTraceElement;), java.lang.RuntimeException#wait(), java.lang.RuntimeException#wait(long), java.lang.RuntimeException#wait(long, int), java.lang.RuntimeException#equals(java.lang.Object), java.lang.RuntimeException#hashCode(), java.lang.RuntimeException#getClass(), java.lang.RuntimeException#notify(), java.lang.RuntimeException#notifyAll() |
+ Methods inherited from class java.lang.Exception + | |
---|---|
java.lang.Exception#printStackTrace(java.io.PrintStream), java.lang.Exception#printStackTrace(), java.lang.Exception#printStackTrace(java.io.PrintWriter), java.lang.Exception#fillInStackTrace(), java.lang.Exception#getCause(), java.lang.Exception#initCause(java.lang.Throwable), java.lang.Exception#toString(), java.lang.Exception#getMessage(), java.lang.Exception#getLocalizedMessage(), java.lang.Exception#getStackTrace(), java.lang.Exception#setStackTrace([Ljava.lang.StackTraceElement;), java.lang.Exception#wait(), java.lang.Exception#wait(long), java.lang.Exception#wait(long, int), java.lang.Exception#equals(java.lang.Object), java.lang.Exception#hashCode(), java.lang.Exception#getClass(), java.lang.Exception#notify(), java.lang.Exception#notifyAll() |
+ Methods inherited from class java.lang.Throwable + | |
---|---|
java.lang.Throwable#printStackTrace(java.io.PrintStream), java.lang.Throwable#printStackTrace(), java.lang.Throwable#printStackTrace(java.io.PrintWriter), java.lang.Throwable#fillInStackTrace(), java.lang.Throwable#getCause(), java.lang.Throwable#initCause(java.lang.Throwable), java.lang.Throwable#toString(), java.lang.Throwable#getMessage(), java.lang.Throwable#getLocalizedMessage(), java.lang.Throwable#getStackTrace(), java.lang.Throwable#setStackTrace([Ljava.lang.StackTraceElement;), java.lang.Throwable#wait(), java.lang.Throwable#wait(long), java.lang.Throwable#wait(long, int), java.lang.Throwable#equals(java.lang.Object), java.lang.Throwable#hashCode(), java.lang.Throwable#getClass(), java.lang.Throwable#notify(), java.lang.Throwable#notifyAll() |
+ Methods inherited from class java.lang.Object + | |
---|---|
java.lang.Object#wait(), java.lang.Object#wait(long), java.lang.Object#wait(long, int), 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() |
+ + + + + + + + + + + + + + + + + + + + + + + + + +
+ Constructor Detail | +
---|
public GrailsRenderingException(java.lang.CharSequence message, java.lang.Throwable cause = null)+
+
Groovy Documentation
+
+
+
|
++Groovy Documentation + | +|||||||
+ | + FRAMES + NO FRAMES + + + + | + +|||||||
+SUMMARY: NESTED | FIELD | CONSTR | METHOD | ++DETAIL: FIELD | CONSTR | METHOD | +
java.lang.Object +java.lang.Throwable +
java.lang.Exception +
java.lang.RuntimeException +
src.groovy.grails.plugin.rendering.GrailsRenderingException +
src.groovy.grails.plugin.rendering.RenderingException +
class RenderingException +extends GrailsRenderingException + ++ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ Constructor Summary | +|
+ RenderingException(def cause)
+ + + |
+
+ Method Summary | +
---|
+ Methods inherited from class java.lang.RuntimeException + | |
---|---|
java.lang.RuntimeException#printStackTrace(java.io.PrintStream), java.lang.RuntimeException#printStackTrace(), java.lang.RuntimeException#printStackTrace(java.io.PrintWriter), java.lang.RuntimeException#fillInStackTrace(), java.lang.RuntimeException#getCause(), java.lang.RuntimeException#initCause(java.lang.Throwable), java.lang.RuntimeException#toString(), java.lang.RuntimeException#getMessage(), java.lang.RuntimeException#getLocalizedMessage(), java.lang.RuntimeException#getStackTrace(), java.lang.RuntimeException#setStackTrace([Ljava.lang.StackTraceElement;), java.lang.RuntimeException#wait(), java.lang.RuntimeException#wait(long), java.lang.RuntimeException#wait(long, int), java.lang.RuntimeException#equals(java.lang.Object), java.lang.RuntimeException#hashCode(), java.lang.RuntimeException#getClass(), java.lang.RuntimeException#notify(), java.lang.RuntimeException#notifyAll() |
+ Methods inherited from class java.lang.Exception + | |
---|---|
java.lang.Exception#printStackTrace(java.io.PrintStream), java.lang.Exception#printStackTrace(), java.lang.Exception#printStackTrace(java.io.PrintWriter), java.lang.Exception#fillInStackTrace(), java.lang.Exception#getCause(), java.lang.Exception#initCause(java.lang.Throwable), java.lang.Exception#toString(), java.lang.Exception#getMessage(), java.lang.Exception#getLocalizedMessage(), java.lang.Exception#getStackTrace(), java.lang.Exception#setStackTrace([Ljava.lang.StackTraceElement;), java.lang.Exception#wait(), java.lang.Exception#wait(long), java.lang.Exception#wait(long, int), java.lang.Exception#equals(java.lang.Object), java.lang.Exception#hashCode(), java.lang.Exception#getClass(), java.lang.Exception#notify(), java.lang.Exception#notifyAll() |
+ Methods inherited from class java.lang.Throwable + | |
---|---|
java.lang.Throwable#printStackTrace(java.io.PrintStream), java.lang.Throwable#printStackTrace(), java.lang.Throwable#printStackTrace(java.io.PrintWriter), java.lang.Throwable#fillInStackTrace(), java.lang.Throwable#getCause(), java.lang.Throwable#initCause(java.lang.Throwable), java.lang.Throwable#toString(), java.lang.Throwable#getMessage(), java.lang.Throwable#getLocalizedMessage(), java.lang.Throwable#getStackTrace(), java.lang.Throwable#setStackTrace([Ljava.lang.StackTraceElement;), java.lang.Throwable#wait(), java.lang.Throwable#wait(long), java.lang.Throwable#wait(long, int), java.lang.Throwable#equals(java.lang.Object), java.lang.Throwable#hashCode(), java.lang.Throwable#getClass(), java.lang.Throwable#notify(), java.lang.Throwable#notifyAll() |
+ Methods inherited from class java.lang.Object + | |
---|---|
java.lang.Object#wait(), java.lang.Object#wait(long), java.lang.Object#wait(long, int), 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() |
+ + + + + + + + + + + + + + + + + + + + + + + + + +
+ Constructor Detail | +
---|
public RenderingException(def cause)+
+
Groovy Documentation
+
+
+
|
++Groovy Documentation + | +|||||||
+ | + FRAMES + NO FRAMES + + + + | + +|||||||
+SUMMARY: NESTED | FIELD | CONSTR | METHOD | ++DETAIL: FIELD | CONSTR | METHOD | +
java.lang.Object +grails.plugin.rendering.GrailsRenderingException +
src.groovy.grails.plugin.rendering.document.UnknownTemplateException +
class UnknownTemplateException +extends GrailsRenderingException + ++ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ Constructor Summary | +|
+ UnknownTemplateException(java.lang.String template, java.lang.String plugin = null)
+ + + |
+
+ + + + + + + + + + + + + + + + + + + + + + + + + +
+ Constructor Detail | +
---|
public UnknownTemplateException(java.lang.String template, java.lang.String plugin = null)+
+
Groovy Documentation
+
+
+
|
++Groovy Documentation + | +|||||||
+ | + FRAMES + NO FRAMES + + + + | + +|||||||
+SUMMARY: NESTED | FIELD | CONSTR | METHOD | ++DETAIL: FIELD | CONSTR | METHOD | +
java.lang.Object +grails.plugin.rendering.GrailsRenderingException +
src.groovy.grails.plugin.rendering.document.XmlParseException +
class XmlParseException +extends GrailsRenderingException + ++ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ Constructor Summary | +|
+ XmlParseException(def xml, def cause)
+ + + |
+
+ + + + + + + + + + + + + + + + + + + + + + + + + +
+ Constructor Detail | +
---|
public XmlParseException(def xml, def cause)+
+
Groovy Documentation
+
+Classes
+ UnknownTemplateException XmlParseException |
+
+
+
|
++ Groovy Documentation + + | +|||||||
+ PREV + NEXT | ++ FRAMES + NO FRAMES + + + + + | +
+ + + + +
+ Class Summary | +|
---|---|
UnknownTemplateException | ++ |
XmlParseException | ++ |
+
Groovy Documentation
+
+Exceptions
+ GrailsRenderingException RenderingException |
+
+
+
|
++ Groovy Documentation + + | +|||||||
+ PREV + NEXT | ++ FRAMES + NO FRAMES + + + + + | +
+ + + + + + +
+ Exception Summary | +|
---|---|
GrailsRenderingException | ++ |
RenderingException | ++ |
+
Groovy Documentation
+
+
+
|
++Groovy Documentation + | +|||||||
+ | + FRAMES + NO FRAMES + + + + | + +|||||||
+SUMMARY: NESTED | FIELD | CONSTR | METHOD | ++DETAIL: FIELD | CONSTR | METHOD | +
java.lang.Object +FunctionalSpec +
test.functional.grails.plugin.rendering.ControllerRelativeTemplateSpec +
class ControllerRelativeTemplateSpec +extends FunctionalSpec + ++ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ Constructor Summary | +|
+ ControllerRelativeTemplateSpec()
+ + + |
+
+ Method Summary | +|
---|---|
+ def
+ |
+
+ accessingControllerRelativeTemplateWorks()
+ + + |
+
+ + + + + + + + + + + + + + + + + + + + + + + + + +
+ Constructor Detail | +
---|
ControllerRelativeTemplateSpec()+
+
+ Method Detail | +
---|
public def accessingControllerRelativeTemplateWorks()+
+
Groovy Documentation
+
+Classes
+ ControllerRelativeTemplateSpec |
+
+
+
|
++ Groovy Documentation + + | +|||||||
+ PREV + NEXT | ++ FRAMES + NO FRAMES + + + + + | +
+ + + + +
+ Class Summary | +|
---|---|
ControllerRelativeTemplateSpec | ++ |
+
Groovy Documentation
+
+
+
|
++Groovy Documentation + | +|||||||
+ | + FRAMES + NO FRAMES + + + + | + +|||||||
+SUMMARY: NESTED | FIELD | PROPERTY | CONSTR | METHOD | ++DETAIL: FIELD | PROPERTY | CONSTR | METHOD | +
java.lang.Object +IntegrationSpec +
test.integration.grails.plugin.pdf.GrailsPdfSpec +
class GrailsPdfSpec +extends IntegrationSpec + ++ + + + + + + + + + + + + + + + + + + + + +
+ Property Summary | +|
---|---|
+ def |
+
+ grailsApplication
+ + + |
+
+ def |
+
+ pdfRenderingService
+ + + |
+
+ def |
+
+ pluginManager
+ + + |
+
+ Constructor Summary | +|
+ GrailsPdfSpec()
+ + + |
+
+ Method Summary | +|
---|---|
+ def
+ |
+
+ badXmlThrowsXmlParseException()
+ + + |
+
+ def
+ |
+
+ createController()
+ + + |
+
+ def
+ |
+
+ createPdf(java.util.Map renderArgs)
+ + + |
+
+ def
+ |
+
+ createPdf(java.io.InputStream inputStream)
+ + + |
+
+ def
+ |
+
+ extractTextLines(java.util.Map renderArgs)
+ + + |
+
+ def
+ |
+
+ extractTextLines(byte[] bytes)
+ + + |
+
+ def
+ |
+
+ extractTextLines(PDDocument pdf)
+ + + |
+
+ def
+ |
+
+ getControllerClass()
+ + + |
+
+ def
+ |
+
+ renderTemplateInPlugin()
+ + + |
+
+ def
+ |
+
+ renderViaController()
+ + + |
+
+ def
+ |
+
+ renderWithNoTemplateThrowsException()
+ + + |
+
+ def
+ |
+
+ renderWithUnknownTemplateThrowsException()
+ + + |
+
+ def
+ |
+
+ simpleRender()
+ + + |
+
+ def
+ |
+
+ supportReloadingControllerClasses()
+ + + |
+
+ + + + + + + + + + + + + + + +
+ Property Detail | +
---|
def grailsApplication+
+
def pdfRenderingService+
+
def pluginManager+
+
+ Constructor Detail | +
---|
GrailsPdfSpec()+
+
+ Method Detail | +
---|
public def badXmlThrowsXmlParseException()+
+
public def createController()+
+
public def createPdf(java.util.Map renderArgs)+
+
public def createPdf(java.io.InputStream inputStream)+
+
public def extractTextLines(java.util.Map renderArgs)+
+
public def extractTextLines(byte[] bytes)+
+
public def extractTextLines(PDDocument pdf)+
+
public def getControllerClass()+
+
public def renderTemplateInPlugin()+
+
public def renderViaController()+
+
public def renderWithNoTemplateThrowsException()+
+
public def renderWithUnknownTemplateThrowsException()+
+
public def simpleRender()+
+
public def supportReloadingControllerClasses()+
+
Groovy Documentation
+
+Classes
+ GrailsPdfSpec |
+
+
+
|
++ Groovy Documentation + + | +|||||||
+ PREV + NEXT | ++ FRAMES + NO FRAMES + + + + + | +
+ + + + +
+ Class Summary | +|
---|---|
GrailsPdfSpec | ++ |
+
Groovy Documentation
+
+
+
|
++Groovy Documentation + | +|||||||
+ | + FRAMES + NO FRAMES + + + + | + +|||||||
+SUMMARY: NESTED | FIELD | PROPERTY | CONSTR | METHOD | ++DETAIL: FIELD | PROPERTY | CONSTR | METHOD | +
java.lang.Object +IntegrationSpec +
test.integration.grails.plugin.rendering.BackgroundRenderingSpec +
class BackgroundRenderingSpec +extends IntegrationSpec + ++ + + + + + + + + + + + + + + + + + + + + +
+ Property Summary | +|
---|---|
+ def |
+
+ backgroundRenderingService
+ + + |
+
+ Constructor Summary | +|
+ BackgroundRenderingSpec()
+ + + |
+
+ Method Summary | +|
---|---|
+ def
+ |
+
+ background render()
+ + + |
+
+ + + + + + + + + + + + + + + +
+ Property Detail | +
---|
def backgroundRenderingService+
+
+ Constructor Detail | +
---|
BackgroundRenderingSpec()+
+
+ Method Detail | +
---|
public def background render()+
+
Groovy Documentation
+
+
+
|
++Groovy Documentation + | +|||||||
+ | + FRAMES + NO FRAMES + + + + | + +|||||||
+SUMMARY: NESTED | FIELD | PROPERTY | CONSTR | METHOD | ++DETAIL: FIELD | PROPERTY | CONSTR | METHOD | +
java.lang.Object +IntegrationSpec +
test.integration.grails.plugin.rendering.RenderingGrailsPluginSpec +
class RenderingGrailsPluginSpec +extends IntegrationSpec + ++ + + + + + + + + + + + + + + + + + + + + +
+ Property Summary | +|
---|---|
+ def |
+
+ grailsApplication
+ + + |
+
+ Constructor Summary | +|
+ RenderingGrailsPluginSpec()
+ + + |
+
+ Method Summary | +|
---|---|
+ protected def
+ |
+
+ createController()
+ + + |
+
+ protected def
+ |
+
+ reloadControllerClass()
+ + + |
+
+ def
+ |
+
+ supportReloadingControllerClasses()
+ + + |
+
+ + + + + + + + + + + + + + + +
+ Property Detail | +
---|
def grailsApplication+
+
+ Constructor Detail | +
---|
RenderingGrailsPluginSpec()+
+
+ Method Detail | +
---|
protected def createController()+
+
protected def reloadControllerClass()+
+
@Unroll("rendering #action works from controllers and survives a reload") +public def supportReloadingControllerClasses()+
+
Groovy Documentation
+
+
+
|
++Groovy Documentation + | +|||||||
+ | + FRAMES + NO FRAMES + + + + | + +|||||||
+SUMMARY: NESTED | FIELD | PROPERTY | CONSTR | METHOD | ++DETAIL: FIELD | PROPERTY | CONSTR | METHOD | +
java.lang.Object +IntegrationSpec +
test.integration.grails.plugin.rendering.RenderingServiceSpec +
class RenderingServiceSpec +extends IntegrationSpec + ++ + + + + + + + + + + + + + + + + + + + + +
+ Property Summary | +|
---|---|
+ def |
+
+ grailsApplication
+ + + |
+
+ def |
+
+ pluginManager
+ + + |
+
+ Constructor Summary | +|
+ RenderingServiceSpec()
+ + + |
+
+ Method Summary | +|
---|---|
+ def
+ |
+
+ badXmlThrowsXmlParseException()
+ + + |
+
+ protected def
+ |
+
+ createController()
+ + + |
+
+ protected def
+ |
+
+ createMockResponse()
+ + + |
+
+ protected def
+ |
+
+ getPluginTemplate(java.util.Map args = [:])
+ + + |
+
+ def
+ |
+
+ getRenderer()
+ + + |
+
+ protected def
+ |
+
+ getSimpleTemplate(java.util.Map args = [:])
+ + + |
+
+ def
+ |
+
+ renderTemplateInPlugin()
+ + + |
+
+ def
+ |
+
+ renderToResponse()
+ + + |
+
+ def
+ |
+
+ renderToResponseViaBytes()
+ + + |
+
+ def
+ |
+
+ renderWithNoTemplateThrowsException()
+ + + |
+
+ def
+ |
+
+ renderWithUnknownTemplateThrowsException()
+ + + |
+
+ def
+ |
+
+ simpleRender()
+ + + |
+
+ + + + + + + + + + + + + + + +
+ Property Detail | +
---|
def grailsApplication+
+
def pluginManager+
+
+ Constructor Detail | +
---|
RenderingServiceSpec()+
+
+ Method Detail | +
---|
public def badXmlThrowsXmlParseException()+
+
protected def createController()+
+
protected def createMockResponse()+
+
protected def getPluginTemplate(java.util.Map args = [:])+
+
public def getRenderer()+
+
protected def getSimpleTemplate(java.util.Map args = [:])+
+
public def renderTemplateInPlugin()+
+
public def renderToResponse()+
+
public def renderToResponseViaBytes()+
+
public def renderWithNoTemplateThrowsException()+
+
public def renderWithUnknownTemplateThrowsException()+
+
public def simpleRender()+
+
Groovy Documentation
+
+
+
|
++Groovy Documentation + | +|||||||
+ | + FRAMES + NO FRAMES + + + + | + +|||||||
+SUMMARY: NESTED | FIELD | PROPERTY | CONSTR | METHOD | ++DETAIL: FIELD | PROPERTY | CONSTR | METHOD | +
java.lang.Object +IntegrationSpec +
test.integration.grails.plugin.rendering.document.XhtmlDocumentServiceSpec +
class XhtmlDocumentServiceSpec +extends IntegrationSpec + ++ +
+ The xhtmlDocumentService is exercised in the rendering + service tests. This is here for testing future functionality. + +
++ Property Summary | +|
---|---|
+ def |
+
+ xhtmlDocumentService
+ + + |
+
+ Constructor Summary | +|
+ XhtmlDocumentServiceSpec()
+ + + |
+
+ Method Summary | +|
---|---|
+ def
+ |
+
+ emptyScenario()
+ + + |
+
+ + + + + + + + + + + + + + + +
+ Property Detail | +
---|
def xhtmlDocumentService+
+
+ Constructor Detail | +
---|
XhtmlDocumentServiceSpec()+
+
+ Method Detail | +
---|
public def emptyScenario()+
+
Groovy Documentation
+
+Classes
+ XhtmlDocumentServiceSpec |
+
+
+
|
++ Groovy Documentation + + | +|||||||
+ PREV + NEXT | ++ FRAMES + NO FRAMES + + + + + | +
+ + + + +
+ Class Summary | +|
---|---|
XhtmlDocumentServiceSpec | +The xhtmlDocumentService is exercised in the rendering + service tests. | +
+
Groovy Documentation
+
+
+
|
++Groovy Documentation + | +|||||||
+ | + FRAMES + NO FRAMES + + + + | + +|||||||
+SUMMARY: NESTED | FIELD | PROPERTY | CONSTR | METHOD | ++DETAIL: FIELD | PROPERTY | CONSTR | METHOD | +
java.lang.Object +grails.plugin.rendering.RenderingServiceSpec +
test.integration.grails.plugin.rendering.image.ImageRenderingServiceSpec +
test.integration.grails.plugin.rendering.image.GifRenderingServiceSpec +
class GifRenderingServiceSpec +extends ImageRenderingServiceSpec + ++ + + + + + + + + + + + + + + + + + + + + +
+ Property Summary | +|
---|---|
+ def |
+
+ gifRenderingService
+ + + |
+
+ Constructor Summary | +|
+ GifRenderingServiceSpec()
+ + + |
+
+ Method Summary | +|
---|---|
+ def
+ |
+
+ getRenderer()
+ + + |
+
+ Methods inherited from class ImageRenderingServiceSpec + | |
---|---|
image, imageResize, imageScale, renderImageWithAutoHeight, renderImageWithHeight, toBufferedImage |
+ + + + + + + + + + + + + + + +
+ Property Detail | +
---|
def gifRenderingService+
+
+ Constructor Detail | +
---|
GifRenderingServiceSpec()+
+
+ Method Detail | +
---|
public def getRenderer()+
+
Groovy Documentation
+
+
+
|
++Groovy Documentation + | +|||||||
+ | + FRAMES + NO FRAMES + + + + | + +|||||||
+SUMMARY: NESTED | FIELD | CONSTR | METHOD | ++DETAIL: FIELD | CONSTR | METHOD | +
java.lang.Object +grails.plugin.rendering.RenderingServiceSpec +
test.integration.grails.plugin.rendering.image.ImageRenderingServiceSpec +
class ImageRenderingServiceSpec +extends RenderingServiceSpec + ++ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ Constructor Summary | +|
+ ImageRenderingServiceSpec()
+ + + |
+
+ Method Summary | +|
---|---|
+ protected def
+ |
+
+ image(java.util.Map args)
+ + + |
+
+ def
+ |
+
+ imageResize()
+ + + |
+
+ def
+ |
+
+ imageScale()
+ + + |
+
+ def
+ |
+
+ renderImageWithAutoHeight()
+ + + |
+
+ def
+ |
+
+ renderImageWithHeight()
+ + + |
+
+ protected def
+ |
+
+ toBufferedImage(def baos)
+ + + |
+
+ + + + + + + + + + + + + + + + + + + + + + + + + +
+ Constructor Detail | +
---|
ImageRenderingServiceSpec()+
+
+ Method Detail | +
---|
protected def image(java.util.Map args)+
+
public def imageResize()+
+
public def imageScale()+
+
public def renderImageWithAutoHeight()+
+
public def renderImageWithHeight()+
+
protected def toBufferedImage(def baos)+
+
Groovy Documentation
+
+
+
|
++Groovy Documentation + | +|||||||
+ | + FRAMES + NO FRAMES + + + + | + +|||||||
+SUMMARY: NESTED | FIELD | PROPERTY | CONSTR | METHOD | ++DETAIL: FIELD | PROPERTY | CONSTR | METHOD | +
java.lang.Object +grails.plugin.rendering.RenderingServiceSpec +
test.integration.grails.plugin.rendering.image.ImageRenderingServiceSpec +
test.integration.grails.plugin.rendering.image.JpegRenderingServiceSpec +
class JpegRenderingServiceSpec +extends ImageRenderingServiceSpec + ++ + + + + + + + + + + + + + + + + + + + + +
+ Property Summary | +|
---|---|
+ def |
+
+ jpegRenderingService
+ + + |
+
+ Constructor Summary | +|
+ JpegRenderingServiceSpec()
+ + + |
+
+ Method Summary | +|
---|---|
+ def
+ |
+
+ getRenderer()
+ + + |
+
+ Methods inherited from class ImageRenderingServiceSpec + | |
---|---|
image, imageResize, imageScale, renderImageWithAutoHeight, renderImageWithHeight, toBufferedImage |
+ + + + + + + + + + + + + + + +
+ Property Detail | +
---|
def jpegRenderingService+
+
+ Constructor Detail | +
---|
JpegRenderingServiceSpec()+
+
+ Method Detail | +
---|
public def getRenderer()+
+
Groovy Documentation
+
+
+
|
++Groovy Documentation + | +|||||||
+ | + FRAMES + NO FRAMES + + + + | + +|||||||
+SUMMARY: NESTED | FIELD | PROPERTY | CONSTR | METHOD | ++DETAIL: FIELD | PROPERTY | CONSTR | METHOD | +
java.lang.Object +grails.plugin.rendering.RenderingServiceSpec +
test.integration.grails.plugin.rendering.image.ImageRenderingServiceSpec +
test.integration.grails.plugin.rendering.image.PngRenderingServiceSpec +
class PngRenderingServiceSpec +extends ImageRenderingServiceSpec + ++ + + + + + + + + + + + + + + + + + + + + +
+ Property Summary | +|
---|---|
+ def |
+
+ pngRenderingService
+ + + |
+
+ Constructor Summary | +|
+ PngRenderingServiceSpec()
+ + + |
+
+ Method Summary | +|
---|---|
+ def
+ |
+
+ getRenderer()
+ + + |
+
+ Methods inherited from class ImageRenderingServiceSpec + | |
---|---|
image, imageResize, imageScale, renderImageWithAutoHeight, renderImageWithHeight, toBufferedImage |
+ + + + + + + + + + + + + + + +
+ Property Detail | +
---|
def pngRenderingService+
+
+ Constructor Detail | +
---|
PngRenderingServiceSpec()+
+
+ Method Detail | +
---|
public def getRenderer()+
+
Groovy Documentation
+
+Classes
+ GifRenderingServiceSpec ImageRenderingServiceSpec JpegRenderingServiceSpec PngRenderingServiceSpec |
+
+
+
|
++ Groovy Documentation + + | +|||||||
+ PREV + NEXT | ++ FRAMES + NO FRAMES + + + + + | +
+ + + + +
+ Class Summary | +|
---|---|
GifRenderingServiceSpec | ++ |
ImageRenderingServiceSpec | ++ |
JpegRenderingServiceSpec | ++ |
PngRenderingServiceSpec | ++ |
+
Groovy Documentation
+
+Classes
+ BackgroundRenderingSpec RenderingGrailsPluginSpec RenderingServiceSpec |
+
+
+
|
++ Groovy Documentation + + | +|||||||
+ PREV + NEXT | ++ FRAMES + NO FRAMES + + + + + | +
+ + + + +
+ Class Summary | +|
---|---|
BackgroundRenderingSpec | ++ |
RenderingGrailsPluginSpec | ++ |
RenderingServiceSpec | ++ |
+
Groovy Documentation
+
+
+
|
++Groovy Documentation + | +|||||||
+ | + FRAMES + NO FRAMES + + + + | + +|||||||
+SUMMARY: NESTED | FIELD | PROPERTY | CONSTR | METHOD | ++DETAIL: FIELD | PROPERTY | CONSTR | METHOD | +
java.lang.Object +grails.plugin.rendering.RenderingServiceSpec +
test.integration.grails.plugin.rendering.pdf.PdfRenderingServiceSpec +
class PdfRenderingServiceSpec +extends RenderingServiceSpec + ++ + + + + + + + + + + + + + + + + + + + + +
+ Property Summary | +|
---|---|
+ def |
+
+ pdfRenderingService
+ + + |
+
+ Constructor Summary | +|
+ PdfRenderingServiceSpec()
+ + + |
+
+ Method Summary | +|
---|---|
+ protected def
+ |
+
+ createPdf(java.util.Map renderArgs)
+ + + |
+
+ protected def
+ |
+
+ createPdf(java.io.InputStream inputStream)
+ + + |
+
+ protected def
+ |
+
+ extractTextLines(java.util.Map renderArgs)
+ + + |
+
+ protected def
+ |
+
+ extractTextLines(byte[] bytes)
+ + + |
+
+ protected def
+ |
+
+ extractTextLines(org.apache.pdfbox.pdmodel.PDDocument pdf)
+ + + |
+
+ def
+ |
+
+ getRenderer()
+ + + |
+
+ + + + + + + + + + + + + + + +
+ Property Detail | +
---|
def pdfRenderingService+
+
+ Constructor Detail | +
---|
PdfRenderingServiceSpec()+
+
+ Method Detail | +
---|
protected def createPdf(java.util.Map renderArgs)+
+
protected def createPdf(java.io.InputStream inputStream)+
+
protected def extractTextLines(java.util.Map renderArgs)+
+
protected def extractTextLines(byte[] bytes)+
+
protected def extractTextLines(org.apache.pdfbox.pdmodel.PDDocument pdf)+
+
public def getRenderer()+
+
Groovy Documentation
+
+Classes
+ PdfRenderingServiceSpec |
+
+
+
|
++ Groovy Documentation + + | +|||||||
+ PREV + NEXT | ++ FRAMES + NO FRAMES + + + + + | +
+ + + + +
+ Class Summary | +|
---|---|
PdfRenderingServiceSpec | ++ |
+
Groovy Documentation
+«format»RenderingService
services ...ByteArrayOutputStream bytes = pdfRenderingService.render(template: "/pdfs/report", model: [data: data])
render«format»()
methods added to controllers ...renderPdf(template: "/pdfs/report", model: [report: reportObject], filename: reportObject.name)
grails.serverURL
config property.grails.plugin.rendering.document.XmlParseException
will be thrown.
). Be sure to declare the XHTML doctype at the start of your GSP like so ...<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" + "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
resource
and createLink
tags support creating absolute links by specifying absolute: true
.grails.plugin.pdf.XmlParseException
will be thrown.<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" + "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
pdfRenderingService
take a Map
argument that specifies which template to render and the model to use.The following map arguments are common to all pdf rendering methods:
+template
(required) - The template to rendermodel
(optional) - The model to useplugin
(optional) - The plug-in containing the templatecontroller
(optional) - The controller instance or name to resolve the template againstrender()
method in Grails controllers and taglibs.That is,
+_template.gsp
)views
directoryviews/«controller»
directorytemplate
argument does not start with a "/", the controller
argument must be provided. The methods added to controllers (e.g. renderPdf()
) automatically pass the controller
param for you. See
+
+
\ No newline at end of file
diff --git a/docs/manual/guide/3. Rendering.html b/docs/manual/guide/3. Rendering.html
new file mode 100644
index 0000000..1cba3b9
--- /dev/null
+++ b/docs/manual/guide/3. Rendering.html
@@ -0,0 +1,31 @@
+
+
+
+ OutputStream render(Map args, OutputStream destination = new ByteArrayOutputStream())
args
define the render operation, with the bytes written to the given output stream. The given output stream is returned from the method. If no destination
is provided, the render will write to a ByteArrayOutputStream
that is returned.Here are some examples:// Get the bytes +def bytes = gifRenderingService.render(template: '/images/coupon', model: [serial: 12345])// Render to a file +new File("coupon.jpg").withOutputStream { outputStream -> + jpegRenderingService.render(template: '/images/coupon', model: [serial: 12345]) +}
Map
argument that specifies which template to render and the model to use (in most cases).The following map arguments are common to all rendering methods:
+template
(required) - The template to rendermodel
(optional) - The model to useplugin
(optional) - The plug-in containing the templatecontroller
(optional) - The controller instance or name to resolve the template against (set automatically in provided render«format»
methods on controllers).render()
method in Grails controllers and taglibs.That is,
+_template.gsp
)views
directoryviews/«controller»
directorytemplate
argument does not start with a "/", the controller
argument must be provided. The methods added to controllers (e.g. renderPdf()
) automatically pass the controller
param for you.
+
+
diff --git a/docs/manual/guide/4. Rendering Images.html b/docs/manual/guide/4. Rendering Images.html
new file mode 100644
index 0000000..1f4bb5c
--- /dev/null
+++ b/docs/manual/guide/4. Rendering Images.html
@@ -0,0 +1,17 @@
+
+
+
+ template
(required) - The template to rendermodel
(optional) - The model to use in renderingplugin
(optional) - The plug-in to look for the template inwidth
(optional) - The width of the rendered imageheight
(optional) - The height of the rendered image<style type="text/css">
+ @page {
+ size: 210mm 297mm;
+ }
+</style>
width
or height
keys, or both.render
argument is the size of the view port that the document is rendered into. This is equivalent to the dimensions of the browser window for html rendering.The default value for render
is width: 10, height: 10000
(i.e. 10 pixels wide by 10000 pixels high).autosize
argument specifies whether to adjust the size of the image to exactly be the rendered content.The default value for autosize
is width: true, height: true
.scale
argument specifies the factor to scale the image by after initial rendering. For example, the value width: 0.5, height: 0.5
produces an image half the size of the original render.The default value for autosize
is null.resize
argument specifies the adjusted mage after initial rendering. For example, the value width: 200, height: 400
will resize the image to 200 pixels X 400 pixels regardless of the original render size.(note that resize
& scale
are mutually exclusive with scale
taking precedence).The default value for resize
is null.
+
+
+
diff --git a/docs/manual/guide/5. Rendering From Controllers.html b/docs/manual/guide/5. Rendering From Controllers.html
new file mode 100644
index 0000000..f1a635a
--- /dev/null
+++ b/docs/manual/guide/5. Rendering From Controllers.html
@@ -0,0 +1,20 @@
+
+
+
+ renderPdf(Map renderArgs, HttpServletResponse response)
renderPdfJpeg(Map renderArgs, HttpServletResponse response)
renderPdfGif(Map renderArgs, HttpServletResponse response)
renderPdfPng(Map renderArgs, HttpServletResponse response)
renderPdfImage(Map renderArgs, String imageType, HttpServletResponse response)
pdfRenderingService
. The renderArgs
map takes the same parameters as it's counter part in addition to the following:
+filename
- If present, sets the content-dispostion header to the given value with the 'attachment' classifier.«format»RenderingService.render(args + [controller: this], response)
render()
method take, plus some extras.Map
argument that specifies which template to render and the model to use (in most cases).The following map arguments are common to all rendering methods:
+filename
(option) - sets the Content-Disposition
header with attachment; filename="$filename";
(asking the browser to download the file with the given filename)contentType
(optional) - the Content-Type
header value (see Content Type Defaults below)org.w3c.dom.Document
instance from the GSP page via the xhtmlDocumentService
. If you plan to render the same GSP as different output formats, you may want to cache the document.import grails.plugin.springcache.annotations.Cacheableclass CouponDocumentService {
+ def xhmlDocumentService Cacheable('couponDocumentCache')
+ class getDocument(serial) {
+ xhmlDocumentService.createDocument(template: '/coupon', model: [serial: serial])
+ }
+}
document
parameter instead of the usual template
/model
properties.class CouponController { def couponDocumentService def gif = {
+ def serial = params.id
+ def document = couponDocumentService.getDocument(serial) renderGif(filename: "${serial}.gif", document)
+ }
+}
import grails.plugin.springcache.annotations.Cacheableclass CouponGifService { def couponDocumentService
+ def gifRenderingService def getGif(serial) {
+ def document = couponDocumentService.getDocument(serial)
+ def byteArrayOutputStream = gifRenderingService.gif([:], document)
+ byteArrayOutputStream.toByteArray()
+ }
+}
class CouponController { def couponGifService def gif = {
+ def serial = params.id
+ def bytes = couponGifService.getGif(serial) renderGif(bytes: bytes, filename: "${serial}.gif")
+ }
+}
Content-Length
header set (this also applies when passing the bytes
directly).This copy can be avoided and the render (or bytes) can be written directly to the response output stream. This means that the Content-Length
header will not be set unless you manually specify the length via the contentLength
property to the render method.
+
+
diff --git a/docs/manual/guide/7. Inline Images.html b/docs/manual/guide/7. Inline Images.html
new file mode 100644
index 0000000..2c6f599
--- /dev/null
+++ b/docs/manual/guide/7. Inline Images.html
@@ -0,0 +1,20 @@
+
+
+
+ rendering
and are called inlinePng
, inlineGif
and inlineJpeg
. They all take a single argument, bytes
, which is a byte
containing the raw bytes of the images. This will result in an img
tag with a src
attribute of a suitable data uri. Any other parameters passed to the tag will be expressed as attributes of the resultant img
tag.Here is an example of how this could be used to include a local (i.e. from the filesystem) image in a generated pdf/image.class SomeController { def generate = { + def file = new File("path/to/image.png") + renderPng(template: "thing", model: [imageBytes: file.bytes]) + }}
<html> + <head></head> + <body> + <p>Below is an inline image</p> + <rendering:inlinePng bytes="${imageBytes}" class="some-class" /> + </body> +</html>
@font-face {
+ src: url(path/to/arial.ttf);
+ -fs-pdf-font-embed: embed;
+ -fs-pdf-font-encoding: cp1250;
+ }
+ body {
+ font-family: "Arial Unicode MS", Arial, sans-serif;
+ }
Authors: Grails Plugin Collective
+Version: 0.4.3
+ Copies of this document may be made for your own use and for distribution to others, provided that you do not charge any fee for such copies and further provided that each copy contains this Copyright Notice, whether distributed in print or electronically. +«format»RenderingService
services ...ByteArrayOutputStream bytes = pdfRenderingService.render(template: "/pdfs/report", model: [data: data])
render«format»()
methods added to controllers ...renderPdf(template: "/pdfs/report", model: [report: reportObject], filename: reportObject.name)
grails.serverURL
config property.grails.plugin.rendering.document.XmlParseException
will be thrown.
). Be sure to declare the XHTML doctype at the start of your GSP like so ...<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" + "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
resource
and createLink
tags support creating absolute links by specifying absolute: true
.grails.plugin.pdf.XmlParseException
will be thrown.<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" + "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
pdfRenderingService
take a Map
argument that specifies which template to render and the model to use.The following map arguments are common to all pdf rendering methods:
+template
(required) - The template to rendermodel
(optional) - The model to useplugin
(optional) - The plug-in containing the templatecontroller
(optional) - The controller instance or name to resolve the template againstrender()
method in Grails controllers and taglibs.That is,
+_template.gsp
)views
directoryviews/«controller»
directorytemplate
argument does not start with a "/", the controller
argument must be provided. The methods added to controllers (e.g. renderPdf()
) automatically pass the controller
param for you. See
+
+
\ No newline at end of file
diff --git a/docs/manual/guide/pages/3. Rendering.html b/docs/manual/guide/pages/3. Rendering.html
new file mode 100644
index 0000000..a31f938
--- /dev/null
+++ b/docs/manual/guide/pages/3. Rendering.html
@@ -0,0 +1,31 @@
+
+
+
+ OutputStream render(Map args, OutputStream destination = new ByteArrayOutputStream())
args
define the render operation, with the bytes written to the given output stream. The given output stream is returned from the method. If no destination
is provided, the render will write to a ByteArrayOutputStream
that is returned.Here are some examples:// Get the bytes +def bytes = gifRenderingService.render(template: '/images/coupon', model: [serial: 12345])// Render to a file +new File("coupon.jpg").withOutputStream { outputStream -> + jpegRenderingService.render(template: '/images/coupon', model: [serial: 12345]) +}
Map
argument that specifies which template to render and the model to use (in most cases).The following map arguments are common to all rendering methods:
+template
(required) - The template to rendermodel
(optional) - The model to useplugin
(optional) - The plug-in containing the templatecontroller
(optional) - The controller instance or name to resolve the template against (set automatically in provided render«format»
methods on controllers).render()
method in Grails controllers and taglibs.That is,
+_template.gsp
)views
directoryviews/«controller»
directorytemplate
argument does not start with a "/", the controller
argument must be provided. The methods added to controllers (e.g. renderPdf()
) automatically pass the controller
param for you.
+
+
diff --git a/docs/manual/guide/pages/4. Rendering Images.html b/docs/manual/guide/pages/4. Rendering Images.html
new file mode 100644
index 0000000..2f6b7a3
--- /dev/null
+++ b/docs/manual/guide/pages/4. Rendering Images.html
@@ -0,0 +1,17 @@
+
+
+
+ template
(required) - The template to rendermodel
(optional) - The model to use in renderingplugin
(optional) - The plug-in to look for the template inwidth
(optional) - The width of the rendered imageheight
(optional) - The height of the rendered image<style type="text/css">
+ @page {
+ size: 210mm 297mm;
+ }
+</style>
width
or height
keys, or both.render
argument is the size of the view port that the document is rendered into. This is equivalent to the dimensions of the browser window for html rendering.The default value for render
is width: 10, height: 10000
(i.e. 10 pixels wide by 10000 pixels high).autosize
argument specifies whether to adjust the size of the image to exactly be the rendered content.The default value for autosize
is width: true, height: true
.scale
argument specifies the factor to scale the image by after initial rendering. For example, the value width: 0.5, height: 0.5
produces an image half the size of the original render.The default value for autosize
is null.resize
argument specifies the adjusted mage after initial rendering. For example, the value width: 200, height: 400
will resize the image to 200 pixels X 400 pixels regardless of the original render size.(note that resize
& scale
are mutually exclusive with scale
taking precedence).The default value for resize
is null.
+
+
+
diff --git a/docs/manual/guide/pages/5. Rendering From Controllers.html b/docs/manual/guide/pages/5. Rendering From Controllers.html
new file mode 100644
index 0000000..d59935d
--- /dev/null
+++ b/docs/manual/guide/pages/5. Rendering From Controllers.html
@@ -0,0 +1,20 @@
+
+
+
+ renderPdf(Map renderArgs, HttpServletResponse response)
renderPdfJpeg(Map renderArgs, HttpServletResponse response)
renderPdfGif(Map renderArgs, HttpServletResponse response)
renderPdfPng(Map renderArgs, HttpServletResponse response)
renderPdfImage(Map renderArgs, String imageType, HttpServletResponse response)
pdfRenderingService
. The renderArgs
map takes the same parameters as it's counter part in addition to the following:
+filename
- If present, sets the content-dispostion header to the given value with the 'attachment' classifier.«format»RenderingService.render(args + [controller: this], response)
render()
method take, plus some extras.Map
argument that specifies which template to render and the model to use (in most cases).The following map arguments are common to all rendering methods:
+filename
(option) - sets the Content-Disposition
header with attachment; filename="$filename";
(asking the browser to download the file with the given filename)contentType
(optional) - the Content-Type
header value (see Content Type Defaults below)org.w3c.dom.Document
instance from the GSP page via the xhtmlDocumentService
. If you plan to render the same GSP as different output formats, you may want to cache the document.import grails.plugin.springcache.annotations.Cacheableclass CouponDocumentService {
+ def xhmlDocumentService Cacheable('couponDocumentCache')
+ class getDocument(serial) {
+ xhmlDocumentService.createDocument(template: '/coupon', model: [serial: serial])
+ }
+}
document
parameter instead of the usual template
/model
properties.class CouponController { def couponDocumentService def gif = {
+ def serial = params.id
+ def document = couponDocumentService.getDocument(serial) renderGif(filename: "${serial}.gif", document)
+ }
+}
import grails.plugin.springcache.annotations.Cacheableclass CouponGifService { def couponDocumentService
+ def gifRenderingService def getGif(serial) {
+ def document = couponDocumentService.getDocument(serial)
+ def byteArrayOutputStream = gifRenderingService.gif([:], document)
+ byteArrayOutputStream.toByteArray()
+ }
+}
class CouponController { def couponGifService def gif = {
+ def serial = params.id
+ def bytes = couponGifService.getGif(serial) renderGif(bytes: bytes, filename: "${serial}.gif")
+ }
+}
Content-Length
header set (this also applies when passing the bytes
directly).This copy can be avoided and the render (or bytes) can be written directly to the response output stream. This means that the Content-Length
header will not be set unless you manually specify the length via the contentLength
property to the render method.
+
+
diff --git a/docs/manual/guide/pages/7. Inline Images.html b/docs/manual/guide/pages/7. Inline Images.html
new file mode 100644
index 0000000..3026720
--- /dev/null
+++ b/docs/manual/guide/pages/7. Inline Images.html
@@ -0,0 +1,20 @@
+
+
+
+ rendering
and are called inlinePng
, inlineGif
and inlineJpeg
. They all take a single argument, bytes
, which is a byte
containing the raw bytes of the images. This will result in an img
tag with a src
attribute of a suitable data uri. Any other parameters passed to the tag will be expressed as attributes of the resultant img
tag.Here is an example of how this could be used to include a local (i.e. from the filesystem) image in a generated pdf/image.class SomeController { def generate = { + def file = new File("path/to/image.png") + renderPng(template: "thing", model: [imageBytes: file.bytes]) + }}
<html> + <head></head> + <body> + <p>Below is an inline image</p> + <rendering:inlinePng bytes="${imageBytes}" class="some-class" /> + </body> +</html>
@font-face {
+ src: url(path/to/arial.ttf);
+ -fs-pdf-font-embed: embed;
+ -fs-pdf-font-encoding: cp1250;
+ }
+ body {
+ font-family: "Arial Unicode MS", Arial, sans-serif;
+ }
Authors: Grails Plugin Collective
+Version: 0.4.3
+ Copies of this document may be made for your own use and for distribution to others, provided that you do not charge any fee for such copies and further provided that each copy contains this Copyright Notice, whether distributed in print or electronically. +«format»RenderingService
services ...ByteArrayOutputStream bytes = pdfRenderingService.render(template: "/pdfs/report", model: [data: data])
render«format»()
methods added to controllers ...renderPdf(template: "/pdfs/report", model: [report: reportObject], filename: reportObject.name)
grails.serverURL
config property.grails.plugin.rendering.document.XmlParseException
will be thrown.
). Be sure to declare the XHTML doctype at the start of your GSP like so ...<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" + "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
OutputStream render(Map args, OutputStream destination = new ByteArrayOutputStream())
args
define the render operation, with the bytes written to the given output stream. The given output stream is returned from the method. If no destination
is provided, the render will write to a ByteArrayOutputStream
that is returned.Here are some examples:// Get the bytes +def bytes = gifRenderingService.render(template: '/images/coupon', model: [serial: 12345])// Render to a file +new File("coupon.jpg").withOutputStream { outputStream -> + jpegRenderingService.render(template: '/images/coupon', model: [serial: 12345]) +}
Map
argument that specifies which template to render and the model to use (in most cases).The following map arguments are common to all rendering methods:
+template
(required) - The template to rendermodel
(optional) - The model to useplugin
(optional) - The plug-in containing the templatecontroller
(optional) - The controller instance or name to resolve the template against (set automatically in provided render«format»
methods on controllers).render()
method in Grails controllers and taglibs.That is,
+_template.gsp
)views
directoryviews/«controller»
directorytemplate
argument does not start with a "/", the controller
argument must be provided. The methods added to controllers (e.g. renderPdf()
) automatically pass the controller
param for you.<style type="text/css">
+ @page {
+ size: 210mm 297mm;
+ }
+</style>
width
or height
keys, or both.render
argument is the size of the view port that the document is rendered into. This is equivalent to the dimensions of the browser window for html rendering.The default value for render
is width: 10, height: 10000
(i.e. 10 pixels wide by 10000 pixels high).autosize
argument specifies whether to adjust the size of the image to exactly be the rendered content.The default value for autosize
is width: true, height: true
.scale
argument specifies the factor to scale the image by after initial rendering. For example, the value width: 0.5, height: 0.5
produces an image half the size of the original render.The default value for autosize
is null.resize
argument specifies the adjusted mage after initial rendering. For example, the value width: 200, height: 400
will resize the image to 200 pixels X 400 pixels regardless of the original render size.(note that resize
& scale
are mutually exclusive with scale
taking precedence).The default value for resize
is null.
+«format»RenderingService.render(args + [controller: this], response)
render()
method take, plus some extras.Map
argument that specifies which template to render and the model to use (in most cases).The following map arguments are common to all rendering methods:
+filename
(option) - sets the Content-Disposition
header with attachment; filename="$filename";
(asking the browser to download the file with the given filename)contentType
(optional) - the Content-Type
header value (see Content Type Defaults below)org.w3c.dom.Document
instance from the GSP page via the xhtmlDocumentService
. If you plan to render the same GSP as different output formats, you may want to cache the document.import grails.plugin.springcache.annotations.Cacheableclass CouponDocumentService {
+ def xhmlDocumentService Cacheable('couponDocumentCache')
+ class getDocument(serial) {
+ xhmlDocumentService.createDocument(template: '/coupon', model: [serial: serial])
+ }
+}
document
parameter instead of the usual template
/model
properties.class CouponController { def couponDocumentService def gif = {
+ def serial = params.id
+ def document = couponDocumentService.getDocument(serial) renderGif(filename: "${serial}.gif", document)
+ }
+}
import grails.plugin.springcache.annotations.Cacheableclass CouponGifService { def couponDocumentService
+ def gifRenderingService def getGif(serial) {
+ def document = couponDocumentService.getDocument(serial)
+ def byteArrayOutputStream = gifRenderingService.gif([:], document)
+ byteArrayOutputStream.toByteArray()
+ }
+}
class CouponController { def couponGifService def gif = {
+ def serial = params.id
+ def bytes = couponGifService.getGif(serial) renderGif(bytes: bytes, filename: "${serial}.gif")
+ }
+}
Content-Length
header set (this also applies when passing the bytes
directly).This copy can be avoided and the render (or bytes) can be written directly to the response output stream. This means that the Content-Length
header will not be set unless you manually specify the length via the contentLength
property to the render method.rendering
and are called inlinePng
, inlineGif
and inlineJpeg
. They all take a single argument, bytes
, which is a byte
containing the raw bytes of the images. This will result in an img
tag with a src
attribute of a suitable data uri. Any other parameters passed to the tag will be expressed as attributes of the resultant img
tag.Here is an example of how this could be used to include a local (i.e. from the filesystem) image in a generated pdf/image.class SomeController { def generate = { + def file = new File("path/to/image.png") + renderPng(template: "thing", model: [imageBytes: file.bytes]) + }}
<html> + <head></head> + <body> + <p>Below is an inline image</p> + <rendering:inlinePng bytes="${imageBytes}" class="some-class" /> + </body> +</html>
@font-face {
+ src: url(path/to/arial.ttf);
+ -fs-pdf-font-embed: embed;
+ -fs-pdf-font-encoding: cp1250;
+ }
+ body {
+ font-family: "Arial Unicode MS", Arial, sans-serif;
+ }
foo.renderGif(map)
map
+
+
+
diff --git a/docs/manual/ref/Controller/renderJpeg.html b/docs/manual/ref/Controller/renderJpeg.html
new file mode 100644
index 0000000..62732bf
--- /dev/null
+++ b/docs/manual/ref/Controller/renderJpeg.html
@@ -0,0 +1,12 @@
+
+
+
+ foo.renderJpeg(map)
map
+
+
+
diff --git a/docs/manual/ref/Controller/renderPdf.html b/docs/manual/ref/Controller/renderPdf.html
new file mode 100644
index 0000000..4a5d0f6
--- /dev/null
+++ b/docs/manual/ref/Controller/renderPdf.html
@@ -0,0 +1,12 @@
+
+
+
+ foo.renderPdf(map)
map
+
+
+
diff --git a/docs/manual/ref/Controller/renderPdfGif.html b/docs/manual/ref/Controller/renderPdfGif.html
new file mode 100644
index 0000000..07bfad9
--- /dev/null
+++ b/docs/manual/ref/Controller/renderPdfGif.html
@@ -0,0 +1,18 @@
+
+
+
+ image/gif
class MyController {
+ def report = {
+ def reportObject = reportService.getReport(params)
+ renderPdfGif(template: "/pdfs/report", model: [report: reportObject], filename: reportObject.name, width: 200)
+ }
+}
OutputStream renderPdfGif(Map renderArgs)
renderArgs
- See guide:renderingToTheHttpResponseclass MyController { + def report = { + def reportObject = reportService.getReport(params) + renderPdfImage("jpeg", "image/jpeg", template: "/pdfs/report", model: [report: reportObject], filename: reportObject.name) + } +}
OutputStream renderPdfImage(Map renderArgs, String imageType, String contentType)
renderArgs
- See guide:renderingToTheHttpResponseimageType
- The format name (suitable for the ImageIO.write() method)contentType
- the value for the content-type header*image/jpeg
class MyController {
+ def report = {
+ def reportObject = reportService.getReport(params)
+ renderPdfJpeg(template: "/pdfs/report", model: [report: reportObject], filename: reportObject.name, width: 200)
+ }
+}
OutputStream renderPdfJpeg(Map renderArgs)
renderArgs
- See guide:renderingToTheHttpResponseimage/png
class MyController {
+ def report = {
+ def reportObject = reportService.getReport(params)
+ renderPdfPng(template: "/pdfs/report", model: [report: reportObject], filename: reportObject.name, width: 200)
+ }
+}
OutputStream renderPdfPng(Map renderArgs)
renderArgs
- See guide:renderingToTheHttpResponsefoo.renderPng(map)
map
+
+
+
diff --git a/docs/manual/ref/PdfRenderService/gif.html b/docs/manual/ref/PdfRenderService/gif.html
new file mode 100644
index 0000000..a6e6828
--- /dev/null
+++ b/docs/manual/ref/PdfRenderService/gif.html
@@ -0,0 +1,17 @@
+
+
+
+ def gifBytes = pdfRenderingService.jpeg(template: "/pdfs/report", model: [report: report])
OutputStream gif(Map renderArgs, OutputStream destination = new ByteArrayOutputStream())
renderArgs
- See guide:renderingImagesdestination
- The output stream to write the image todef bufferedImage = pdfRenderingService.image(template: "/pdfs/report", model: [report: report])
def jpegBytes = pdfRenderingService.image("jpeg", template: "/pdfs/report", model: [report: report])
BufferedImage render(Map renderArgs)
renderArgs
- See guide:renderingImagesOutputStream image(Map renderArgs, String imageType, OutputStream destination = new ByteArrayOutputStream())
renderArgs
- See guide:renderingImagesimageType
- The format name (suitable for the ImageIO.write() method)destination
- The output stream to write the image todef jpegBytes = pdfRenderingService.jpeg(template: "/pdfs/report", model: [report: report])
OutputStream jpeg(Map renderArgs, OutputStream destination = new ByteArrayOutputStream())
renderArgs
- See guide:renderingImagesdestination
- The output stream to write the image todef pngBytes = pdfRenderingService.png(template: "/pdfs/report", model: [report: report])
OutputStream png(Map renderArgs, OutputStream destination = new ByteArrayOutputStream())
renderArgs
- See guide:renderingImagesdestination
- The output stream to write the image toOutputStream
.class ReportService { def pdfRenderingService def writeReportToFile(Report report, File file) { + def outputStream = new FileOutputStream(file) + pdfRenderingService.render(template: "/pdfs/report", model: [report: report], outputStream) + }}
class ReportService { def pdfRenderingService def renderReport(Report report) {
+ ByteArrayOutputStream bytes = pdfRenderingService.render(template: "/pdfs/report", model: [report: report])
+ }}
OutputStream render(Map renderArgs, OutputStream destination = new ByteArrayOutputStream())
renderArgs
- See guide:renderingPdfsdestination
- the output stream to write the pdf toVersion | +${version} | + |
Grails Version | +${grailsVersion} | +|
Author | +${author} | +