@CompileStatic abstract class AbstractWritableScript extends Script implements GrailsView, WritableScript
A script that is writable
| Modifiers | Name | Description |
|---|---|---|
protected static org.slf4j.Logger |
log |
A logger that can be used within views |
| Type | Name and description |
|---|---|
java.util.Map<java.lang.String, java.lang.Class> |
modelTypes |
java.io.Writer |
out |
java.io.File |
sourceFileThe source file |
| Constructor and description |
|---|
AbstractWritableScript() |
| Type Params | Return Type | Name and description |
|---|---|---|
|
abstract java.io.Writer |
doWrite(java.io.Writer writer)Subclasses should implement to perform the write |
|
java.util.Map<java.lang.String, java.lang.Class> |
getModelTypes() |
|
java.io.Writer |
getOut()
|
|
void |
setModelTypes(java.util.Map<java.lang.String, java.lang.Class> modelTypes) |
|
final java.io.Writer |
writeTo(java.io.Writer out) |
| Methods inherited from class | Name |
|---|---|
class Script |
equals, evaluate, evaluate, getBinding, getClass, getMetaClass, getProperty, hashCode, invokeMethod, notify, notifyAll, print, printf, printf, println, println, run, run, setBinding, setMetaClass, setProperty, toString, wait, wait, wait |
The source file
Subclasses should implement to perform the write
writer - The writer