A B C D E F G H I J K L M N O P Q R S T U V W X Y Z _

A

AbstractGroovyTemplateCompiler - Class in grails.views
A generic compiler for Groovy templates that are compiled into classes in production
AbstractGroovyTemplateCompiler() - Constructor in AbstractGroovyTemplateCompiler
AbstractGroovyTemplateCompileTask - Class in grails.views.gradle
Abstract Gradle task for compiling templates, using GenericGroovyTemplateCompiler
AbstractGroovyTemplatePlugin - Class in grails.views.gradle
Abstract implementation of a plugin that compiles views
AbstractGroovyTemplatePlugin(Class<? extends AbstractGroovyTemplateCompileTask>, String, String) - Constructor in AbstractGroovyTemplatePlugin
AbstractJsonViewContainerRenderer - Class in grails.plugin.json.renderer
A container renderer that looks up JSON views
AbstractWritableScript - Class in grails.views
A script that is writable
actionName(String) - Method in TestRequestConfigurer
appendObjectId(StringBuilder, Map) - Method in TestLinkGenerator
APPLIED - Field in ViewsTransform
apply(Project) - Method in AbstractGroovyTemplatePlugin
asBoolean() - Method in DelegatingParameters
asBoolean() - Method in EmptyParameters
asBoolean() - Method in Parameters
Returns:
The parameters as a boolean value.
attribute(String, Object) - Method in TestRequestConfigurer

B

BEFORE_CLOSURE - Field in DefaultGrailsJsonViewHelper
beforeMethodCallExpression(MethodCallExpression) - Method in BuilderTypeCheckingExtension
beforeMethodCallExpression(MethodCallExpression) - Method in JsonTemplateTypeCheckingExtension
boolean(String, Boolean) - Method in DelegatingParameters
boolean(String, Boolean) - Method in EmptyParameters
boolean(String, Boolean) - Method in Parameters
Obtains the value of a parameter as a Boolean
BuilderTypeCheckingExtension - Class in grails.views.compiler
An abstract type checking extension for view DSLs to implement
BuilderTypeCheckingExtension.BuilderMethodReplacer - Class in grails.views.compiler
BuilderTypeCheckingExtension.BuilderMethodReplacer(MethodNode, MethodNode, String, SourceUnit, Set<MethodCallExpression>) - Constructor in BuilderTypeCheckingExtension.BuilderMethodReplacer
buildPaginateParams(Integer, Integer, String, String) - Method in DefaultHalViewHelper
buildQualifiers(HttpServletRequest, HttpServletResponse) - Method in SmartViewResolver
byte(String, Integer) - Method in DelegatingParameters
byte(String, Integer) - Method in EmptyParameters
byte(String, Integer) - Method in Parameters
Obtains the value of a parameter as a byte

C

cachedTemplates - Field in ResolvableGroovyTemplateEngine
call(String, JsonUnescaped) - Method in DefaultHalViewHelper.HalStreamingJsonDelegate
call(String, Map, Closure) - Method in StreamingJsonBuilder
If you use named arguments and a closure as last argument, the key/value pairs of the map (as named arguments) and the key/value pairs represented in the closure will be merged together — the closure properties overriding the map key/values in case the same key is used.
call(String, Writable) - Method in StreamingJsonBuilder.StreamingJsonDelegate
Writes an unescaped value.
char(String, Character) - Method in DelegatingParameters
char(String, Character) - Method in EmptyParameters
char(String, Character) - Method in Parameters
Obtains the value of a parameter as a character
charAt(int) - Method in JsonOutput.JsonWritable
cloneDelegateAndGetContent(Writer, Closure, boolean) - Method in StreamingJsonBuilder.StreamingJsonDelegate
CLOSE_BRACE - Field in JsonOutput
CLOSE_BRACKET - Field in JsonOutput
COLON - Field in JsonOutput
COMMA - Field in JsonOutput
compile(File) - Method in AbstractGroovyTemplateCompiler
compile() - Method in AbstractGroovyTemplateCompileTask
COMPILE_STATIC - Field in MarkupViewTemplateEngine
compilerConfiguration - Field in ResolvableGroovyTemplateEngine
Whether to reload views
config(Config) - Method in TestRequestConfigurer
configureCompiler() - Method in AbstractGroovyTemplateCompiler
configureCompiler() - Method in JsonViewCompiler
configureCompiler() - Method in MarkupViewCompiler
contentType(String) - Method in JsonViewTest.TestHttpResponse
contentType(String) - Method in Response
Set the response content type
controllerName(String) - Method in TestRequestConfigurer
controllerNamespace(String) - Method in TestRequestConfigurer
createlinksRenderingClosure(Map<String, Object>) - Method in DefaultHalViewHelper
createMarkupViewTemplate(Template) - Method in MarkupViewTemplateEngine
createTemplate(Class<? extends Template>, File) - Method in MarkupViewTemplateEngine
createTemplate(Reader) - Method in ResolvableGroovyTemplateEngine
curryDelegateAndGetContent(Writer, Closure, Object, boolean) - Method in StreamingJsonBuilder.StreamingJsonDelegate

D

date(String, String) - Method in DelegatingParameters
date(String, String) - Method in EmptyParameters
date(String, String) - Method in Parameters
Obtains the value of a parameter as a Date
DefaultGrailsJsonViewHelper - Class in grails.plugin.json.view.api.internal
Extended version of DefaultGrailsViewHelper with methods specific to JSON view rendering
DefaultGrailsViewHelper - Class in grails.views.api.internal
Default methods for views, additional methods can be added via traits
DefaultGrailsViewHelper(GrailsView) - Constructor in DefaultGrailsViewHelper
DefaultHalViewHelper - Class in grails.plugin.json.view.api.internal
Helps creating HAL links
DefaultHalViewHelper.HalStreamingJsonDelegate - Class in grails.plugin.json.view.api.internal
DefaultHalViewHelper.HalStreamingJsonDelegate(String, DefaultHalViewHelper, StreamingJsonDelegate) - Constructor in DefaultHalViewHelper.HalStreamingJsonDelegate
DefaultHalViewHelper(JsonView, GrailsJsonViewHelper) - Constructor in DefaultHalViewHelper
DefaultJsonApiViewHelper - Class in grails.plugin.json.view.api.internal
@Author Colin Harrington
DefaultJsonApiViewHelper(JsonView, GrailsJsonViewHelper) - Constructor in DefaultJsonApiViewHelper
DefaultViewRenderer - Class in grails.views.mvc.renderer
A renderer implementation that looks up a view from the ViewResolver
DefaultViewRenderer(Class<T>, MimeType, SmartViewResolver, ProxyHandler, RendererRegistry, Renderer) - Constructor in DefaultViewRenderer
DelegatingParameters - Class in grails.views.mvc.http
Delegate to a GrailsParameterMap implementation
DelegatingParameters(TypeConvertingMap) - Constructor in DelegatingParameters
DOT_CHAR - Field in GenericGroovyTemplateResolver
double(String, Double) - Method in DelegatingParameters
double(String, Double) - Method in EmptyParameters
double(String, Double) - Method in Parameters
Obtains the value of a parameter as a Double
doWithSpring() - Method in JsonViewGrailsPlugin
doWithSpring() - Method in MarkupViewGrailsPlugin
doWrite(Writer) - Method in AbstractWritableScript
Subclasses should implement to perform the write
doWrite(Writer) - Method in JsonViewTemplate

E

EMBEDDED_ATTRIBUTE - Field in DefaultHalViewHelper
embedded(String, Closure) - Method in DefaultHalViewHelper
Outputs a HAL embedded entry for the content type and closure
embedded(String, Closure) - Method in HalViewHelper
Outputs a HAL embedded entry for the content type and closure
EMBEDDED_PARAMETER - Field in DefaultHalViewHelper
EmptyParameters - Class in grails.views.api.internal
An empty parameters implementation
encoding(String) - Method in JsonViewTest.TestHttpResponse
encoding(String) - Method in Response
Sets the response encoding
ensureAbsolute(Map) - Method in DefaultGrailsViewHelper
ErrorsJsonViewRenderer - Class in grails.plugin.json.renderer
Renderer for the errors view
execute(IncrementalTaskInputs) - Method in AbstractGroovyTemplateCompileTask
EXTENSION - Field in JsonViewTemplate
EXTENSION - Field in MarkupViewTemplate

F

findEntity(Object) - Method in DefaultGrailsJsonViewHelper
findEntity(Object) - Method in DefaultJsonApiViewHelper
findFirstElementCausedByScript() - Method in ViewRenderException
findTraitInjectors() - Method in JsonViewsTransform
findTraitInjectors() - Method in MarkupViewsTransform
findTraitInjectors() - Method in ViewsTransform
findUniquePackages(GrailsClass) - Method in GenericViewConfiguration
findViewConfigPropertyDescriptor() - Method in GenericViewConfiguration
findViewConfigPropertyDescriptor() - Method in MarkupViewConfiguration
first - Field in JsonOutput.JsonWritable
first - Field in StreamingJsonBuilder.StreamingJsonDelegate
float(String, Float) - Method in DelegatingParameters
float(String, Float) - Method in EmptyParameters
float(String, Float) - Method in Parameters
Obtains the value of a parameter as a Float
fullTemplateNameForClass(Class<?>) - Method in TemplateResolverUtils

G

GenericGroovyTemplateResolver - Class in grails.views.resolve
A generic TemplateResolver for resolving Groovy templates that are compiled into classes
GenericGroovyTemplateView - Class in grails.views.mvc
An implementation of the Spring AbstractUrlBaseView class for ResolvableGroovyTemplateEngine
GenericGroovyTemplateViewResolver - Class in grails.views.mvc
A UrlBasedViewResolver for ResolvableGroovyTemplateEngine
GenericGroovyTemplateViewResolver(SmartViewResolver) - Constructor in GenericGroovyTemplateViewResolver
GenericViewConfiguration - Trait in grails.views
Default configuration
GenericViewUriResolver - Class in grails.views.resolve
Generic implementation for resolving views
GenericViewUriResolver(String) - Constructor in GenericViewUriResolver
get(String, String) - Method in DelegatingParameters
get(String, String) - Method in EmptyParameters
get(String, String) - Method in Parameters
Obtains the value of a parameter
getAbsoluteTemplateURI(String, boolean) - Method in GenericViewUriResolver
Used to resolve template names that are not relative to a controller.
getAt(Object) - Method in DelegatingParameters
getAt(Object) - Method in EmptyParameters
getAt(Object) - Method in Parameters
getAttribute(String) - Method in Request
Obtains the value of an attribute
getAttribute(String) - Method in TestRequestConfigurer
getAttributeNames() - Method in Request
@return All of the attribute names
getAttributeNames() - Method in TestRequestConfigurer
getBaseTemplateClass() - Method in ViewConfiguration
@return The template base class
getBinding() - Method in MarkupViewTemplate
getBinding() - Method in WritableScript
@return Obtains the binding
getBooleanFromMap(String, Map<?, ?>, boolean) - Method in ViewUtils
Retrieves a boolean value from a Map for the given key
getBuilderClassNode() - Method in BuilderTypeCheckingExtension
@return The class node of the builder
getBuilderClassNode() - Method in JsonTemplateTypeCheckingExtension
getBuilderInvokeMethod() - Method in BuilderTypeCheckingExtension
@return The method node to invoke for an unresolved dynamic method on the main builder variable
getBuilderInvokeMethod() - Method in JsonTemplateTypeCheckingExtension
getBuilderVariableName() - Method in BuilderTypeCheckingExtension
@return The name within the view script of the main builder variable
getBuilderVariableName() - Method in JsonTemplateTypeCheckingExtension
getCharacterEncoding() - Method in Request
@return The request character encoding
getCompilerConfiguration() - Method in ResolvableGroovyTemplateEngine
getCompilerName() - Method in AbstractGroovyTemplateCompileTask
getCompilerName() - Method in JsonViewCompilerTask
getCompilerName() - Method in MarkupViewCompilerTask
getContentType() - Method in Request
@return The request content type
getContextPath() - Method in DefaultGrailsViewHelper
getContextPath() - Method in Request
@return The context path
getContextPath() - Method in TestLinkGenerator
getDelegateInvokeMethod() - Method in BuilderTypeCheckingExtension
@return The method node to invoke for unresolved methods within closures of the builder (implicit this)
getDelegateInvokeMethod() - Method in JsonTemplateTypeCheckingExtension
getDynamicTemplatePrefix() - Method in JsonViewTemplateEngine
getDynamicTemplatePrefix() - Method in MarkupViewTemplateEngine
getDynamicTemplatePrefix() - Method in ResolvableGroovyTemplateEngine
getEncoding() - Method in ViewConfiguration
@return The default encoding to use to render views
getExtension() - Method in ViewConfiguration
@return The file extension
getFileExtension() - Method in AbstractGroovyTemplateCompileTask
getFileExtension() - Method in JsonViewCompilerTask
getFileExtension() - Method in MarkupViewCompilerTask
getFileName() - Method in ViewRenderException
getG() - Method in GrailsView
@return Obtain the view helper
getG() - Method in JsonView
@return The default view helper
getGenericType(Class, PropertyDescriptor) - Method in DefaultGrailsJsonViewHelper
getHeader(String) - Method in Request
Obtains the value of a header
getHeader(String) - Method in TestRequestConfigurer
getHeaderNames() - Method in Request
@return The header for the request
getHeaderNames() - Method in TestRequestConfigurer
getHeaders(String) - Method in Request
Obtains all the values for the give header
getHeaders(String) - Method in TestRequestConfigurer
getIterableWritable(Iterable, Closure) - Method in DefaultGrailsJsonViewHelper
getLastOffset(Integer, Integer) - Method in DefaultHalViewHelper
getLineNumber() - Method in ViewCompilationException
getLinkGenerator() - Method in DefaultGrailsViewHelper
getLinkGenerator() - Method in GrailsView
The link generator
getMappingContext() - Method in GrailsView
The GORM mapping context
getMapWritable(Map, Map, Closure, JsonWritable>) - Method in DefaultGrailsJsonViewHelper
getMessageSource() - Method in GrailsView
The message source object
getMethod() - Method in Request
@return The request method
getMimeUtility() - Method in GrailsView
The mime utility
getModelTypes() - Method in AbstractWritableScript
getNextOffset(Integer, Integer, Integer) - Method in DefaultHalViewHelper
getOut() - Method in AbstractWritableScript
@return The current writer
getOut() - Method in WriterProvider
@return The current writer
getPackageImports() - Method in ViewConfiguration
@return The packages to automatically import
getPackageName() - Method in ViewConfiguration
@return The package name
getPage() - Method in HttpView
@return The same as getResponse()
getPaginationLinks(Object, Integer, Integer, Integer, String, String) - Method in DefaultHalViewHelper
@return the pagination links if any
getParentPath() - Method in WritableScriptTemplate
The path to the parent directory that containers the template
getPrevOffset(Integer, Integer) - Method in DefaultHalViewHelper
getProjectPackageNames(File) - Method in AbstractGroovyTemplateCompileTask
getProperty(String) - Method in EmptyParameters
getProperty(String) - Method in Parameters
getProxyHandler() - Method in GrailsView
Handlers for proxies
getScriptBaseName() - Method in AbstractGroovyTemplateCompileTask
getScriptBaseName() - Method in JsonViewCompilerTask
getScriptBaseName() - Method in MarkupViewCompilerTask
getServerBaseURL() - Method in DefaultGrailsViewHelper
getServerBaseURL() - Method in TestLinkGenerator
getSourceFile() - Method in WritableScript
Obtains the source file
getSourceUnit() - Method in BuilderTypeCheckingExtension.BuilderMethodReplacer
getStaticImports() - Method in ViewConfiguration
@return The static imports to automatically import
getStringListFromMap(String, Map, List<String>) - Method in ViewUtils
Obtains a list of strings from the map for the given key
getTemplateEngine() - Method in GrailsView
The template engine
getTemplatePath() - Method in ViewConfiguration
@return Path to the templates
getText() - Method in JsonOutput.JsonUnescaped
getUri() - Method in Request
@return The request URI
getViewModuleName() - Method in JsonViewConfiguration
getViewModuleName() - Method in MarkupViewConfiguration
getViewModuleName() - Method in ViewConfiguration
@return The name of the views module (example json or markup)
getWriter() - Method in StreamingJsonBuilder.StreamingJsonDelegate
@return Obtains the current writer
GrailsJsonViewHelper - Interface in grails.plugin.json.view.api
Additional methods specific to JSON views
GrailsJsonViewsPlugin - Class in grails.views.gradle.json
Concrete implementation of plugin for JSON views
GrailsJsonViewsPlugin() - Constructor in GrailsJsonViewsPlugin
GrailsMarkupViewsPlugin - Class in grails.views.gradle.markup
A plugin for compiling markup templates
GrailsMarkupViewsPlugin() - Constructor in GrailsMarkupViewsPlugin
GrailsView - Trait in grails.views.api
A trait for all view types to extend to add methods to generate links, render other templates and so on
GrailsViewHelper - Interface in grails.views.api
Methods available via the 'g' namespace in views
GrailsViewTemplate - Class in grails.views
@author Graeme Rocher

H

HalCodeVisitorSupport - Class in grails.views.compiler
HalCodeVisitorSupport(CompilationUnit) - Constructor in HalCodeVisitorSupport
HalViewHelper - Interface in grails.plugin.json.view.api
@author Graeme Rocher
handleValue(Object, Writer, Map, Closure, JsonWritable>, String) - Method in DefaultGrailsJsonViewHelper
header(Map<String, String>) - Method in JsonViewTest.TestHttpResponse
header(Map<String, String>) - Method in Response
Set a single named value header
header(String, String) - Method in TestRequestConfigurer
headers(Map<String, String>) - Method in JsonViewTest.TestHttpResponse
headers(Map<String, String>) - Method in Response
Set multiple headers
HREF_ATTRIBUTE - Field in DefaultHalViewHelper
HREFLANG_ATTRIBUTE - Field in DefaultHalViewHelper
HttpView - Trait in grails.views.api
A view that is rendered in the context of an HTTP request

I

inherits(Map) - Method in JsonView
Specify a template that this template inherits from
initialize() - Method in JsonViewResolver
initialize() - Method in MarkupViewResolver
initializeProcessedObjects(Binding) - Method in DefaultGrailsJsonViewHelper
initializeTemplate(GrailsViewTemplate, File) - Method in ResolvableGroovyTemplateEngine
Initialises a template instance
initModelTypes(Class<? extends WritableScript>) - Method in WritableScriptTemplate
inline(Object, Closure) - Method in DefaultGrailsJsonViewHelper
inline(Object, Closure) - Method in DefaultHalViewHelper
inline(Object) - Method in GrailsJsonViewHelper
Renders the given object inline within the current JSON object instead of creating a new JSON object
inline(Object) - Method in HalViewHelper
Same as GrailsJsonViewHelper.inline but renders HAL links too
inline - Field in JsonOutput.JsonWritable
int(String, Integer) - Method in DelegatingParameters
int(String, Integer) - Method in EmptyParameters
int(String, Integer) - Method in Parameters
Obtains the value of a parameter as an integer
invokeMethod(String, Object) - Method in DefaultHalViewHelper.HalStreamingJsonDelegate
invokeMethod(String, Object) - Method in StreamingJsonBuilder
A method call on the JSON builder instance will create a root object with only one key whose name is the name of the method being called.
invokeMethod(String, Object) - Method in StreamingJsonBuilder.StreamingJsonDelegate
invokeMethod(String, Object) - Method in TemplateRenderer
isAllowResourceExpansion() - Method in ViewConfiguration
@return Whether to allow resource expansion
isCache() - Method in MarkupViewConfiguration
isCache() - Method in ViewConfiguration
@return Whether to cache
isCollectionWithClosure(Object) - Method in StreamingJsonBuilder.StreamingJsonDelegate
isCompileStatic() - Method in ViewConfiguration
@return Should compile statically
isDevelopmentMode() - Method in ViewsEnvironment
@return Whether development mode is enabled
isEmpty() - Method in DelegatingParameters
isEmpty() - Method in EmptyParameters
isEmpty() - Method in Parameters
@return Whether there are any parameters
isEnableReloading() - Method in ViewConfiguration
@return Whether reloading is enabled
isMethodDynamic(def, def, def, def, def) - Method in BuilderTypeCheckingExtension
isMethodDynamic(Object, Object, Object, Object, Object) - Method in JsonTemplateTypeCheckingExtension
isPrettyPrint() - Method in ViewConfiguration
@return Whether to pretty print
isPropertyDynamic(PropertyExpression) - Method in BuilderTypeCheckingExtension
isPropertyDynamic(PropertyExpression) - Method in JsonTemplateTypeCheckingExtension
isSimpleType(Class, def) - Method in DefaultGrailsJsonViewHelper
isSimpleValue(Object) - Method in DefaultGrailsJsonViewHelper
isStringType(Class) - Method in DefaultGrailsJsonViewHelper
isUseAbsoluteLinks() - Method in ViewConfiguration
@return Whether to use absolute links

J

json(String, Map, Closure) - Method in JsonView
If you use named arguments and a closure as last argument, the key/value pairs of the map (as named arguments) and the key/value pairs represented in the closure will be merged together — the closure properties overriding the map key/values in case the same key is used.
json(Object) - Method in JsonViewTemplate
JSON_VIEW_SUFFIX - Field in JsonViewResolver
jsonapiMember() - Method in DefaultJsonApiViewHelper
JsonApiViewHelper - Interface in grails.plugin.json.view.api
@author Colin Harrington
JsonOutput - Class in grails.plugin.json.builder
Class responsible for the actual String serialization of the possible values of a JSON structure.
JsonOutput.JsonUnescaped - Class in grails.plugin.json.builder
Represents unescaped JSON
JsonOutput.JsonUnescaped(CharSequence) - Constructor in JsonOutput.JsonUnescaped
JsonOutput.JsonWritable - Class in grails.plugin.json.builder
Represents unescaped JSON
JsonRenderResult - Class in grails.plugin.json.view.test
A result object returned by JsonViewTest
JsonTemplateTypeCheckingExtension - Class in grails.plugin.json.view.internal
A type checking extension for JSON builder
JsonTemplateTypeCheckingExtension() - Constructor in JsonTemplateTypeCheckingExtension
JsonView - Trait in grails.plugin.json.view.api
Extends default view API with additional methods
JsonViewCompiler - Class in grails.plugin.json.view
A compiler for JSON views
JsonViewCompilerTask - Class in grails.views.gradle.json
Concrete implementation that compiles JSON templates
JsonViewConfiguration - Class in grails.plugin.json.view
Default configuration for JSON views
JsonViewConfiguration() - Constructor in JsonViewConfiguration
JsonViewGrailsPlugin - Class in grails.plugin.json.view
JsonViewJsonRenderer - Class in grails.plugin.json.renderer
A renderer that will lookup a JSON view if it exists and render it, otherwise fallback to default
JsonViewJsonRenderer(Class<T>, MimeType, SmartViewResolver, ProxyHandler, RendererRegistry, Renderer) - Constructor in JsonViewJsonRenderer
JsonViewResolver - Class in grails.plugin.json.view.mvc
@author Graeme Rocher
JsonViewResolver(JsonViewTemplateEngine, String, String) - Constructor in JsonViewResolver
JsonViewsTransform - Class in grails.plugin.json.view.internal
@author Graeme ROcher
JsonViewTemplate - Class in grails.plugin.json.view
All JSON views subclass this superclass
JsonViewTemplateEngine - Class in grails.plugin.json.view
A template engine for parsing JSON views
JsonViewTemplateEngine(ViewConfiguration) - Constructor in JsonViewTemplateEngine
Constructs a JsonTemplateEngine with a custom base class
JsonViewTest - Trait in grails.plugin.json.view.test
A trait that test classes can implement to add support for easily testing JSON views
JsonViewTest.TestHttpResponse - Class in grails.plugin.json.view.test
JsonViewTest.TestHttpResponse(JsonRenderResult) - Constructor in JsonViewTest.TestHttpResponse

K

keySet() - Method in DelegatingParameters
keySet() - Method in EmptyParameters
keySet() - Method in Parameters
@return The parameter names

L

length() - Method in JsonOutput.JsonWritable
link(Map, String) - Method in DefaultGrailsViewHelper
link(Map, String) - Method in TestLinkGenerator
LINKS_ATTRIBUTE - Field in DefaultHalViewHelper
links(Map, String) - Method in DefaultHalViewHelper
links(Map, Object, Number) - Method in HalViewHelper
Creates HAL links for the given model and pagination object
list(String) - Method in DelegatingParameters
list(String) - Method in EmptyParameters
list(String) - Method in Parameters
Returns value of the parameter as a list of values
log - Field in AbstractWritableScript
A logger that can be used within views
long(String, Long) - Method in DelegatingParameters
long(String, Long) - Method in EmptyParameters
long(String, Long) - Method in Parameters
Obtains the value of a parameter as a Long

M

main(String) - Method in JsonViewCompiler
main(String) - Method in MarkupViewCompiler
make(Map) - Method in MarkupViewWritableScriptTemplate
make(Map) - Method in WritableScriptTemplate
MarkupView - Trait in grails.plugin.markup.view.api
Extra methods added to markup views
MarkupViewCompiler - Class in grails.plugin.markup.view
A compiler for markup templates
MarkupViewCompilerTask - Class in grails.views.gradle.markup
MarkupView compiler task for Gradle
MarkupViewConfiguration - Class in grails.plugin.markup.view
@author Graeme Rocher
MarkupViewConfiguration() - Constructor in MarkupViewConfiguration
MarkupViewGrailsPlugin - Class in grails.plugin.markup.view
Plugin class for markup views
MarkupViewResolver - Class in grails.plugin.markup.view.mvc
@author Graeme Rocher
MarkupViewResolver(MarkupViewTemplateEngine, String, String) - Constructor in MarkupViewResolver
MarkupViewsTransform - Class in grails.plugin.markup.view.internal
@author Graeme Rocher
MarkupViewTemplate - Class in grails.plugin.markup.view
Base class for markup engine templates
MarkupViewTemplate(MarkupTemplateEngine, Map, Map<String, String>, TemplateConfiguration) - Constructor in MarkupViewTemplate
MarkupViewTemplateEngine - Class in grails.plugin.markup.view
A ResolvableGroovyTemplateEngine that uses Groovy's groovy.text.markup.MarkupTemplateEngine internally
MarkupViewTemplateEngine(MarkupViewConfiguration) - Constructor in MarkupViewTemplateEngine
MarkupViewWritableScriptTemplate - Class in grails.plugin.markup.view
@author Graeme Rocher
MarkupViewWritableScriptTemplate(Class<? extends GrailsView>, File, MarkupTemplateEngine, MarkupViewConfiguration) - Constructor in MarkupViewWritableScriptTemplate
MarkupViewXmlRenderer - Class in grails.plugin.markup.view.renderer
Integration with the Grails renderer framework
MarkupViewXmlRenderer(Class<T>, MimeType, SmartViewResolver, ProxyHandler, RendererRegistry, Renderer) - Constructor in MarkupViewXmlRenderer
message(Map) - Method in DefaultGrailsViewHelper
message(Map) - Method in GrailsViewHelper
Obtains a i18n message
method(HttpMethod) - Method in TestRequestConfigurer
model(String, Class<T>) - Method in DefaultGrailsJsonViewHelper
Obtains a model value for the given name and type
model(Closure) - Method in GrailsView
Defines the model
MODEL_OBJECT - Field in DefaultViewRenderer
modelSetters - Field in WritableScriptTemplate
MODULE_NAME - Field in JsonViewConfiguration
MODULE_NAME - Field in MarkupViewConfiguration

N

NEW_LINE - Field in JsonOutput
newViewsTransform() - Method in AbstractGroovyTemplateCompiler
newViewsTransform() - Method in JsonViewCompiler
newViewsTransform() - Method in JsonViewTemplateEngine
newViewsTransform() - Method in MarkupViewCompiler
newViewsTransform() - Method in MarkupViewTemplateEngine
newViewsTransform() - Method in ResolvableGroovyTemplateEngine
NOOP_OUTPUT - Field in DefaultJsonApiViewHelper
NULL_OUTPUT - Field in DefaultGrailsJsonViewHelper
NULL_OUTPUT - Field in DefaultJsonApiViewHelper
NULL_VALUE - Field in JsonOutput

O

OBJECT_TEMPLATE_NAME - Field in SmartViewResolver
OPEN_BRACE - Field in JsonOutput
OPEN_BRACKET - Field in JsonOutput

P

paginate(Object, Integer, Integer, Integer, String, String) - Method in DefaultHalViewHelper
Pagination support which outputs hal links to the resulting pages
paginate(Object, Integer, Integer, Integer, String, String) - Method in HalViewHelper
Pagination support which outputs hal links to the resulting pages
Parameters - Interface in grails.views.api.http
Represents HTTP parameters
params(Map) - Method in TestRequestConfigurer
paramsWithOffset(Map<String, Object>, Integer) - Method in DefaultHalViewHelper
Creates a new Parameter map with the new offset Note: neccesary to avoid clone until Groovy 2.5.x https://issues.apache.org/jira/browse/GROOVY-7325
PluginAwareTemplateResolver - Class in grails.views.resolve
A template resolver capable of looking through the installed Grails plugins and finding a template within the scope of the plugin
PluginAwareTemplateResolver(ViewConfiguration) - Constructor in PluginAwareTemplateResolver
populateModelWithViewState(Map) - Method in DefaultGrailsJsonViewHelper
populatePackages(File, Collection<String>, String) - Method in AbstractGroovyTemplateCompileTask
prepareArguments(List<String>) - Method in AbstractGroovyTemplateCompileTask
prepareCustomizers(CompilerConfiguration) - Method in JsonViewTemplateEngine
prepareCustomizers(CompilerConfiguration) - Method in MarkupViewTemplateEngine
prepareCustomizers(CompilerConfiguration) - Method in ResolvableGroovyTemplateEngine
prepareWritable(Template, Map) - Method in DefaultGrailsJsonViewHelper
prepareWritable(Writable, HttpServletRequest, HttpServletResponse, Locale) - Method in GenericGroovyTemplateView
prettyPrint(String) - Method in JsonOutput
Pretty print a JSON payload.
process(StreamingJsonDelegate, PersistentEntity, Object, JsonWritable>, List<String>, List<String>, String, boolean, List<String>, boolean, Closure) - Method in DefaultGrailsJsonViewHelper
PROCESSED_OBJECT_VARIABLE - Field in DefaultGrailsJsonViewHelper
processSimple(StreamingJsonDelegate, Object, JsonWritable>, List<String>, List<String>, String, Closure) - Method in DefaultGrailsJsonViewHelper
processSimpleProperty(StreamingJsonDelegate, PersistentProperty, String, Object, ResolvableGroovyTemplateEngine, Locale) - Method in DefaultGrailsJsonViewHelper

Q

QUOTE - Field in JsonOutput

R

readConfiguration(ConfigMap) - Method in GenericViewConfiguration
render(T, RenderContext) - Method in AbstractJsonViewContainerRenderer
render(Map) - Method in DefaultGrailsJsonViewHelper
render(Object) - Method in DefaultHalViewHelper
render(Object) - Method in DefaultJsonApiViewHelper
render(T, RenderContext) - Method in DefaultViewRenderer
render(Object, Closure) - Method in GrailsJsonViewHelper
Renders the given object to JSON, typically a domain class, ignoring lazy and internal properties
render(Object) - Method in HalViewHelper
Same as GrailsJsonViewHelper.render but renders HAL links too
render(Object) - Method in JsonApiViewHelper
render(Map, Closure) - Method in JsonViewTest
Render one of the GSON views in the grails-app/views directory for the given arguments
renderChildTemplate(Template, Class, def) - Method in DefaultGrailsJsonViewHelper
renderData(Object) - Method in DefaultJsonApiViewHelper
renderEntityProperties(PersistentEntity, Object, EntityReflector, StreamingJsonDelegate) - Method in DefaultHalViewHelper
renderMergedOutputModel(Map<String, Object>, HttpServletRequest, HttpServletResponse) - Method in GenericGroovyTemplateView
renderProperty(Object, PersistentProperty, EntityReflector, StreamingJsonDelegate) - Method in DefaultHalViewHelper
Request - Interface in grails.views.api.http
Allows access to request properties
ResolvableGroovyTemplateEngine - Class in grails.views
A TemplateEngine that can resolve templates using the configured TemplateResolver
ResolvableGroovyTemplateEngine(ViewConfiguration) - Constructor in ResolvableGroovyTemplateEngine
Creates a ResolvableGroovyTemplateEngine for the given base class name and file extension
resolveCache - Field in ResolvableGroovyTemplateEngine
resolveModelName() - Method in AbstractJsonViewContainerRenderer
resolveTemplate(String) - Method in GenericGroovyTemplateResolver
resolveTemplate(String) - Method in PluginAwareTemplateResolver
resolveTemplate(String, Locale, String) - Method in ResolvableGroovyTemplateEngine
Resolves a template for the given path
resolveTemplate(String) - Method in TemplateResolver
Resolves the URL to a template using the given path
resolveTemplateClass(String, String) - Method in GenericGroovyTemplateResolver
resolveTemplateClass(String) - Method in PluginAwareTemplateResolver
resolveTemplateClass(String, String) - Method in TemplateResolver
Resolves a template class for the path
resolveTemplateName(String, String) - Method in GenericGroovyTemplateResolver
resolveTemplateUri(String, String, String, boolean) - Method in GenericViewUriResolver
resolveTemplateUri(String, String, String) - Method in ViewUriResolver
Resolves a template URI for the given path
resolveView(Class, Locale) - Method in SmartViewResolver
resolveViewName(String, Locale) - Method in GenericGroovyTemplateViewResolver
resource(Map) - Method in DefaultGrailsViewHelper
resource(Map) - Method in TestLinkGenerator
Response - Interface in grails.views.api.http
Allows control over the page response (headers, content type, status)
run(String, Class<? extends GenericViewConfiguration>, Class<? extends AbstractGroovyTemplateCompiler>) - Method in AbstractGroovyTemplateCompiler
run() - Method in BuilderTypeCheckingExtension
run() - Method in WritableScript
Runs the script and returns the result

S

SELF_ATTRIBUTE - Field in DefaultHalViewHelper
setActionName(String) - Method in TestRequestConfigurer
setBinding(Binding) - Method in MarkupViewTemplate
setBinding(Binding) - Method in WritableScript
Sets the binding
setCache(boolean) - Method in MarkupViewConfiguration
setConfig(Config) - Method in TestRequestConfigurer
setControllerName(String) - Method in TestRequestConfigurer
setControllerNamespace(String) - Method in TestRequestConfigurer
setDelegate(StreamingJsonDelegate) - Method in DefaultHalViewHelper
setDelegate(StreamingJsonDelegate) - Method in HalViewHelper
setEncoding(String) - Method in MarkupViewConfiguration
setFirst(boolean) - Method in JsonOutput.JsonWritable
setGrailsApplication(GrailsApplication) - Method in GenericViewConfiguration
setGrailsApplication(GrailsApplication) - Method in JsonViewTest
setInline(boolean) - Method in JsonOutput.JsonWritable
setLinkGenerator(LinkGenerator) - Method in ResolvableGroovyTemplateEngine
setLocaleResolver(LocaleResolver) - Method in GenericGroovyTemplateView
setMappingContext(MappingContext) - Method in ResolvableGroovyTemplateEngine
setMessageSource(MessageSource) - Method in ResolvableGroovyTemplateEngine
setMimeUtility(MimeUtility) - Method in ResolvableGroovyTemplateEngine
setModelTypes(Map<String, Class>) - Method in AbstractWritableScript
setPluginManager(GrailsPluginManager) - Method in PluginAwareTemplateResolver
setPrettyPrint(boolean) - Method in MarkupViewConfiguration
setProxyHandler(ProxyHandler) - Method in ResolvableGroovyTemplateEngine
setSource(Object) - Method in AbstractGroovyTemplateCompileTask
setSourceFile(File) - Method in WritableScript
@param file Sets the source file
setTemplateEngine(ResolvableGroovyTemplateEngine) - Method in GenericGroovyTemplateView
short(String, Integer) - Method in DelegatingParameters
short(String, Integer) - Method in EmptyParameters
short(String, Integer) - Method in Parameters
Obtains the value of a parameter as a character
shortTemplateNameForClass(Class<?>) - Method in TemplateResolverUtils
SLASH_CHAR - Field in GenericGroovyTemplateResolver
The base directory to load templates in development mode
SmartViewResolver - Class in grails.views.mvc
Spring's default view resolving mechanism only accepts the view name and locale, this forces you to code around its limitations when you want to add intelligent features such as version and mime type awareness.
SmartViewResolver(ResolvableGroovyTemplateEngine, String, String) - Constructor in SmartViewResolver
SPACE - Field in JsonOutput
state - Field in StreamingJsonBuilder.StreamingJsonDelegate
status(HttpStatus, String) - Method in JsonViewTest.TestHttpResponse
status(HttpStatus, String) - Method in Response
Sets the response status
StreamingJsonBuilder - Class in grails.plugin.json.builder
Temporary fork of groovy.json.StreamingJsonBuilder until Groovy 2.4.5 is out.
StreamingJsonBuilder.StreamingJsonDelegate - Class in grails.plugin.json.builder
The delegate used when invoking closures
StreamingJsonBuilder.StreamingJsonDelegate(Writer, boolean) - Constructor in StreamingJsonBuilder.StreamingJsonDelegate
StreamingJsonBuilder(Writer, Object) - Constructor in StreamingJsonBuilder
Instantiates a JSON builder, possibly with some existing data structure.
subSequence(int, int) - Method in JsonOutput.JsonWritable

T

templateNameForClass(Class<?>) - Method in DefaultViewRenderer
TemplateRenderer - Class in grails.plugin.json.view.api.internal
Handles the template namespace
TemplateRenderer(GrailsJsonViewHelper) - Constructor in TemplateRenderer
TemplateResolver - Interface in grails.views
Interface for resolving templates
TemplateResolverUtils - Class in grails.views.resolve
Utility methods for resolving template names
TestLinkGenerator - Class in grails.plugin.json.view.test
A test link generator
TestLinkGenerator(MappingContext) - Constructor in TestLinkGenerator
TestRequestConfigurer - Class in grails.plugin.json.view.test
Allows configuring the JSON view rendering for request state
TestRequestConfigurer(JsonView) - Constructor in TestRequestConfigurer
toJson(Map) - Method in JsonOutput
@return a JSON object representation for a map
toString() - Method in JsonOutput.JsonUnescaped
toString() - Method in JsonOutput.JsonWritable
transform(Expression) - Method in BuilderTypeCheckingExtension.BuilderMethodReplacer
transformDynamicMethods(SourceUnit, MethodNode, Set) - Method in BuilderTypeCheckingExtension
transformDynamicMethods(SourceUnit, MethodNode, Set) - Method in JsonTemplateTypeCheckingExtension
TYPE_ATTRIBUTE - Field in DefaultHalViewHelper
type(String) - Method in DefaultHalViewHelper
@param name Sets the HAL response type
type(String) - Method in HalViewHelper
@param name Sets the HAL response type
TYPE - Field in JsonViewTemplate
TYPE - Field in MarkupViewTemplate

U

UNDERSCORE_CHAR - Field in GenericGroovyTemplateResolver
unescaped(CharSequence) - Method in JsonOutput
Obtains JSON unescaped text for the given text

V

verifyValue() - Method in StreamingJsonBuilder.StreamingJsonDelegate
View - Trait in grails.views.api
@author Graeme Rocher
VIEW_BASE_CLASS - Field in MarkupViewTemplateEngine
ViewCompilationException - Class in grails.views
Exception when views fail to compile
ViewCompilationException(CompilationFailedException, String) - Constructor in ViewCompilationException
ViewCompileOptions - Class in grails.views.gradle
@author Graeme Rocher
ViewConfiguration - Interface in grails.views
Interface for view configurations
ViewException - Class in grails.views
Thrown when an exception occurs rendering a view
ViewRenderException - Class in grails.views
Thrown when a view rendering exception occurs
ViewRenderException(String, Throwable, WritableScript) - Constructor in ViewRenderException
Views - Interface in grails.views
Settings and constants for the Groovy view infrastructure
ViewsEnvironment - Class in grails.views
Environment helper methods
ViewsTransform - Class in grails.views.compiler
Enhances view scripts with Trait behavior
ViewsTransform.ModelTypesVisitor - Class in grails.views.compiler
ViewsTransform.ModelTypesVisitor(SourceUnit) - Constructor in ViewsTransform.ModelTypesVisitor
ViewsTransform(String, String) - Constructor in ViewsTransform
ViewUriResolver - Interface in grails.views
A ViewUriResolver is response for response template and view URIs using Grails' conventions.
ViewUtils - Class in grails.views.utils
Utility methods for the views project
visit(ASTNode, SourceUnit) - Method in ViewsTransform
visitBlockStatement(BlockStatement) - Method in HalCodeVisitorSupport
visitClass(ClassNode) - Method in ViewsTransform.ModelTypesVisitor
visitClosureExpression(ClosureExpression) - Method in BuilderTypeCheckingExtension.BuilderMethodReplacer
visitField(FieldNode) - Method in ViewsTransform.ModelTypesVisitor
visitMethodCallExpression(MethodCallExpression) - Method in ViewsTransform.ModelTypesVisitor
visitVariableExpression(VariableExpression) - Method in HalCodeVisitorSupport

W

wasModified() - Method in WritableScriptTemplate
@return Whether the template has been modified
WritableScript - Interface in grails.views
Interface for scripts that are writable
WritableScriptTemplate - Class in grails.views
A base template class that all Grails view templates should extend from
WritableScriptTemplate(Class<? extends GrailsView>, File) - Constructor in WritableScriptTemplate
writeArray(List<Object>) - Method in StreamingJsonBuilder.StreamingJsonDelegate
writeCollectionWithClosure(Writer, Iterable, Closure) - Method in StreamingJsonBuilder.StreamingJsonDelegate
writeLinks(StreamingJsonDelegate, def, String) - Method in DefaultHalViewHelper
writeName(String) - Method in StreamingJsonBuilder.StreamingJsonDelegate
writeObject(def, Closure) - Method in DefaultHalViewHelper.HalStreamingJsonDelegate
writer - Field in StreamingJsonBuilder.StreamingJsonDelegate
WriterProvider - Interface in grails.views
Interface for views that provider a writer
writeTo(Writer) - Method in AbstractWritableScript
writeValue(Object) - Method in StreamingJsonBuilder.StreamingJsonDelegate

X

Y

Z

_

A B C D E F G H I J K L M N O P Q R S T U V W X Y Z _