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

AbstractConverter - Class in org.grails.web.converters
Abstract base implementation of the Converter interface that provides a default toString() implementation.
AbstractParsingParameterCreationListener - Class in org.grails.web.converters
Abstract base class for parameter creation listeners that parse incoming data such as JSON and XML.
afterPropertiesSet() - Method in ConvertersConfigurationInitializer
allowedValues() - Method in Converter.CircularReferenceBehaviour
Defines an Object that can convert an instance and render it to the response or a supplied writer.
application - Field in DomainClassMarshaller
array(Closure) - Method in JSONBuilder
ArrayMarshaller - Class in org.grails.web.converters.marshaller.json
@author Siegfried Puchbauer
asShortObject(Object, XML, GrailsDomainClassProperty, GrailsDomainClass) - Method in DomainClassMarshaller
asType(Object, Class<?>) - Method in ConvertersApi
Converter an instance from one format to another
asType(Object, Class<T>) - Method in ConvertersExtension
attribute(String, String) - Method in XML

B

Base64ByteArrayMarshaller - Class in org.grails.web.converters.marshaller.xml
@author Siegfried Puchbauer
build(Closure) - Method in Converter
build(Closure) - Method in JSON
build(Closure) - Method in JSONBuilder
build(Closure) - Method in XML
ByteArrayMarshaller - Class in org.grails.web.converters.marshaller.json
@author Siegfried Puchbauer

C

ChainedConverterConfiguration - Class in org.grails.web.converters.configuration
An immutable ConverterConfiguration which chains the lookup calls for ObjectMarshallers for performance reasons.
ChainedConverterConfiguration.ChainedObjectMarshaller - Class in org.grails.web.converters.configuration
ChainedConverterConfiguration.ChainedObjectMarshaller(ObjectMarshaller<C>, ChainedObjectMarshaller<C>) - Constructor in ChainedConverterConfiguration.ChainedObjectMarshaller
ChainedConverterConfiguration(ConverterConfiguration<C>, ProxyHandler) - Constructor in ChainedConverterConfiguration
chars(String) - Method in XML
circularReferenceBehaviour - Field in JSON
clear() - Method in ConvertersConfigurationHolder
ClosureObjectMarshaller - Class in org.grails.web.converters.marshaller
ObjectMarshaller that delegates the conversion logic to the supplied closure
ClosureObjectMarshaller(Class<?>, Closure) - Constructor in ClosureObjectMarshaller
CollectionMarshaller - Class in org.grails.web.converters.marshaller.json
@author Siegfried Puchbauer
compareTo(Entry) - Method in DefaultConverterConfiguration.Entry
config - Field in JSON
configtest - Script in org.grails.web.converters.configuration
ConfigurableConverter - Interface in org.grails.web.converters
Interface for converters that can be configured at runtime
contentType - Field in AbstractConverter
convertAnother(Object) - Method in Converter
convertAnother(Object) - Method in JSON
convertAnother(Object) - Method in XML
Converter - Interface in org.grails.web.converters
Defines an Object that can convert an instance and render it to the response or a supplied writer.
Converter.CircularReferenceBehaviour - Enum in org.grails.web.converters
ConverterConfiguration - Interface in org.grails.web.converters.configuration
@author Siegfried Puchbauer
ConverterException - Class in org.grails.web.converters.exceptions
Thrown when an error occurs originating from a Converter instance.
ConverterException() - Constructor in ConverterException
CONVERTERS_DEFAULT_ENCODING - Field in ConvertersConfigurationHolder
ConvertersApi - Class in org.grails.plugins.converters.api
The API for converting objects to target types such as XML.
ConvertersConfigurationHolder - Class in org.grails.web.converters.configuration
Singleton which holds all default and named configurations for the Converter classes.
ConvertersConfigurationInitializer - Class in org.grails.web.converters.configuration
@author Siegfried Puchbauer
ConvertersDomainTransformer - Class in org.grails.compiler.web.converters
Adds the asType method to domain classes.
ConvertersExtension - Class in org.grails.web.converters
@author Jeff Brown
ConvertersGrailsPlugin - Class in org.grails.plugins.converters
Allows the "obj as XML" and "obj as JSON" syntax.
ConverterUtil - Class in org.grails.web.converters
A utility class for creating and dealing with Converter objects.
createBeanWrapper(Object) - Method in AbstractConverter
createBeanWrapper(Object) - Method in ConverterUtil
createConverter(Class<T>, Object, ApplicationContext) - Method in ConverterUtil
createFlattenedKeys(Map, Map, Map, def, Map) - Method in AbstractParsingParameterCreationListener
Populates the target map with current map using the root map to form a nested prefix so that a hierarchy of maps is flattened.
createNamedConfig(String, Closure<?>) - Method in JSON
createNamedConfig(String, Closure<?>) - Method in XML
createNode(Object, Object) - Method in JSON.Builder
createNode(Object, Map, Object) - Method in XML.Builder
createThreadLocalConfiguration() - Method in ConvertersConfigurationHolder

D

DateMarshaller - Class in org.grails.web.converters.marshaller.xml
@author Siegfried Puchbauer
DateMarshaller() - Constructor in DateMarshaller
Default constructor.
DeepDomainClassMarshaller - Class in org.grails.web.converters.marshaller.xml
@author Siegfried Puchbauer
DeepDomainClassMarshaller(boolean, ProxyHandler, GrailsApplication) - Constructor in DeepDomainClassMarshaller
DEFAULT_PRIORITY - Field in DefaultConverterConfiguration
DEFAULT_REQUEST_ENCODING - Field in Converter
DefaultConverterConfiguration - Class in org.grails.web.converters.configuration
Mutable Converter Configuration with an priority sorted set of ObjectMarshallers
DefaultConverterConfiguration.Entry - Class in org.grails.web.converters.configuration
DefaultConverterConfiguration(List<ObjectMarshaller<C>>, ProxyHandler) - Constructor in DefaultConverterConfiguration
DomainClassMarshaller - Class in org.grails.web.converters.marshaller.xml
Object marshaller for domain classes to XML
DomainClassMarshaller(boolean, ProxyHandler, GrailsApplication) - Constructor in DomainClassMarshaller

E

encoding - Field in AbstractConverter
end() - Method in XML
EnumMarshaller - Class in org.grails.web.converters.marshaller.xml
@author Siegfried Puchbauer
excludes - Field in AbstractConverter
excludesProperty(Object, String) - Method in IncludeExcludePropertyMarshaller
Override for custom exclude logic
execute(Closure<?>) - Method in JSON.Builder
execute(Closure<?>) - Method in XML.Builder
extractIdValue(Object, GrailsDomainClassProperty) - Method in ConverterUtil
Reads the value of the primary identifier property of a domain class instance
extractValue(Object, GrailsDomainClassProperty) - Method in DomainClassMarshaller

F

findMarhallerFor(Object) - Method in ChainedConverterConfiguration.ChainedObjectMarshaller

G

GenericJavaBeanMarshaller - Class in org.grails.web.converters.marshaller.xml
@author Siegfried Puchbauer
getApplicationContext() - Method in ConvertersApi
getApplicationContext() - Method in ConvertersConfigurationInitializer
getArtefactType() - Method in ConvertersDomainTransformer
getCircularReferenceBehaviour() - Method in ChainedConverterConfiguration
getCircularReferenceBehaviour() - Method in ConverterConfiguration
Lookup the configured CircularReferenceBehaviour (how the converter should behave when a circular reference is detected)
getCircularReferenceBehaviour() - Method in DefaultConverterConfiguration
getCircularReferenceBehaviour() - Method in ImmutableConverterConfiguration
@see ConverterConfiguration#getCircularReferenceBehaviour()
getConverterClass() - Method in ObjectMarshallerRegisterer
getConverterConfiguration(Class<C>) - Method in ConvertersConfigurationHolder
getDepth() - Method in JSON
getDepth() - Method in XML
getElementName(Object) - Method in ArrayMarshaller
getElementName(Object) - Method in CollectionMarshaller
getElementName(Object) - Method in MapMarshaller
getElementName(Object) - Method in NameAwareMarshaller
Returns the tag name for the object
getElementName(Object) - Method in ProxyUnwrappingMarshaller
getElementName(Object) - Method in ValidationErrorsMarshaller
getElementName(Object) - Method in XML
getEncoding() - Method in ChainedConverterConfiguration
getEncoding() - Method in ConverterConfiguration
Lookup the configured default Character encoding for the Converter
getEncoding() - Method in DefaultConverterConfiguration
getEncoding() - Method in ImmutableConverterConfiguration
@see ConverterConfiguration#getEncoding()
getExcludes(Class) - Method in AbstractConverter
Gets the excludes for the given type
getExcludes(Class) - Method in ConfigurableConverter
Gets the excludes for the given type
getIncludes(Class) - Method in AbstractConverter
Gets the includes for the given type
getIncludes(Class) - Method in ConfigurableConverter
Gets the includes for the given type
getInstanceImplementation() - Method in ConvertersDomainTransformer
getJSON(HttpServletRequest) - Method in ConvertersExtension
getMarshaller(Object) - Method in ChainedConverterConfiguration
getMarshaller(Object) - Method in ConverterConfiguration
Lookup the ObjectMarshaller with the highest priority that support to marshall the given object
getMarshaller(Object) - Method in DefaultConverterConfiguration
getMarshaller(Object) - Method in ImmutableConverterConfiguration
@see ConverterConfiguration#getMarshaller(Object)
getMarshaller() - Method in ObjectMarshallerRegisterer
getNamedConfig(String) - Method in JSON
getNamedConfig(String) - Method in XML
getNamedConverterConfiguration(String, Class<C>) - Method in ConvertersConfigurationHolder
getOrderedObjectMarshallers() - Method in ChainedConverterConfiguration
getOrderedObjectMarshallers() - Method in ConverterConfiguration
Retrieve the ordered list of ObjectMarshallers
getOrderedObjectMarshallers() - Method in DefaultConverterConfiguration
getOrderedObjectMarshallers() - Method in ImmutableConverterConfiguration
getPriority() - Method in ObjectMarshallerRegisterer
getProperty(String) - Method in JSONBuilder
getProxyHandler() - Method in ChainedConverterConfiguration
getProxyHandler() - Method in ConverterConfiguration
Lookup the ProxyHandler used to deal with proxies instances.
getProxyHandler() - Method in DefaultConverterConfiguration
getProxyHandler() - Method in ImmutableConverterConfiguration
getStaticImplementation() - Method in ConvertersDomainTransformer
getStream() - Method in XML
getThreadLocalConverterConfiguration(Class<C>) - Method in ConvertersConfigurationHolder
getToJSONMethod(Object) - Method in InstanceMethodBasedMarshaller
getToXMLMethod(Object) - Method in InstanceMethodBasedMarshaller
getWriter() - Method in Converter
getWriter() - Method in JSON
getWriter() - Method in XML
getXML(HttpServletRequest) - Method in ConvertersExtension
GroovyBeanMarshaller - Class in org.grails.web.converters.marshaller.xml
@author Siegfried Puchbauer

H

handleCircularRelationship(Object) - Method in JSON
handleCircularRelationship(Object) - Method in XML

I

ImmutableConverterConfiguration - Class in org.grails.web.converters.configuration
Immutable Converter Configuration.
ImmutableConverterConfiguration(ConverterConfiguration<C>, ProxyHandler) - Constructor in ImmutableConverterConfiguration
IncludeExcludeConverter - Interface in org.grails.web.converters
A converter capable of including/excluding properties on the target object
IncludeExcludePropertyMarshaller - Class in org.grails.web.converters.marshaller
A marshaller capable of including or excluding properties
includes - Field in AbstractConverter
includesProperty(Object, String) - Method in IncludeExcludePropertyMarshaller
Override for custom include logic
includeVersion - Field in DomainClassMarshaller
initConfig() - Method in JSON
initConfig() - Method in XML
initialize() - Method in ConvertersConfigurationInitializer
InstanceMethodBasedMarshaller - Class in org.grails.web.converters.marshaller.json
@author Siegfried Puchbauer
invokeMethod(String, Object) - Method in JSONBuilder
invokeOriginalAsTypeMethod(Object, Class<?>) - Method in ConverterUtil
isCacheObjectMarshallerByClass() - Method in ChainedConverterConfiguration
isCacheObjectMarshallerByClass() - Method in ConverterConfiguration
Enables caching object marshaller selection by class.
isCacheObjectMarshallerByClass() - Method in DefaultConverterConfiguration
isCacheObjectMarshallerByClass() - Method in ImmutableConverterConfiguration
isConverterClass(Class<?>) - Method in ConverterUtil
isIncludeClass() - Method in DomainClassMarshaller
isIncludeVersion() - Method in DomainClassMarshaller
isPrettyPrint() - Method in ChainedConverterConfiguration
isPrettyPrint() - Method in ConverterConfiguration
Lookup method whether the converter should default to pretty printed output
isPrettyPrint() - Method in DefaultConverterConfiguration
isPrettyPrint() - Method in ImmutableConverterConfiguration
@see ConverterConfiguration#isPrettyPrint()
isRenderDomainClassRelations() - Method in DeepDomainClassMarshaller
isRenderDomainClassRelations() - Method in DomainClassMarshaller

J

JavascriptDateMarshaller - Class in org.grails.web.converters.marshaller.json
@author Siegfried Puchbauer
JSON - Class in grails.converters
A converter that converts domain classes, Maps, Lists, Arrays, POJOs and POGOs to JSON.
JSON.Builder - Class in grails.converters
JSON.Builder(JSON) - Constructor in JSON.Builder
JSON(Object) - Constructor in JSON
Creates a new JSON Converter for the given Object
JSONBuilder - Class in grails.web
Builds JSON data.

K

L

LOG - Field in ConvertersConfigurationInitializer
log - Field in XML
lookupObjectMarshaller(Object) - Method in Converter
lookupObjectMarshaller(Object) - Method in JSON
lookupObjectMarshaller(Object) - Method in XML

M

main(String) - Method in configtest
Implicit main method for Groovy Scripts
MapMarshaller - Class in org.grails.web.converters.marshaller.xml
@author Siegfried Puchbauer
marshaller - Field in DefaultConverterConfiguration.Entry
marshallers - Field in ImmutableConverterConfiguration
marshalObject(Object, JSON) - Method in ArrayMarshaller
marshalObject(Object, XML) - Method in Base64ByteArrayMarshaller
marshalObject(Object, JSON) - Method in ByteArrayMarshaller
marshalObject(Object, C) - Method in ChainedConverterConfiguration.ChainedObjectMarshaller
marshalObject(Object, T) - Method in ClosureObjectMarshaller
marshalObject(Object, JSON) - Method in CollectionMarshaller
marshalObject(Object, XML) - Method in DateMarshaller
marshalObject(Object, XML) - Method in DomainClassMarshaller
marshalObject(Object, XML) - Method in EnumMarshaller
marshalObject(Object, XML) - Method in GenericJavaBeanMarshaller
marshalObject(Object, XML) - Method in GroovyBeanMarshaller
marshalObject(Object, JSON) - Method in InstanceMethodBasedMarshaller
marshalObject(Object, JSON) - Method in JavascriptDateMarshaller
marshalObject(Object, XML) - Method in MapMarshaller
marshalObject(Object, T) - Method in ObjectMarshaller
Performs the conversion
marshalObject(Object, C) - Method in ProxyUnwrappingMarshaller
marshalObject(Object, JSON) - Method in ToStringBeanMarshaller
marshalObject(Object, JSON) - Method in ValidationErrorsMarshaller

N

NameAwareMarshaller - Interface in org.grails.web.converters.marshaller
Specialized ObjectMarshaller which defines the Tag Name for XML Conversion.
nodeCompleted(Object, Object) - Method in JSON.Builder
nodeCompleted(Object, Object) - Method in XML.Builder

O

ObjectMarshaller - Interface in org.grails.web.converters.marshaller
An ObjectMarshaller is responsible for converting a Java/Groovy Object graph to a serialized form (JSON,XML).
ObjectMarshallerRegisterer - Class in org.grails.web.converters.configuration
A Spring Bean that can be used to register an ObjectMarshaller.

P

parse(HttpServletRequest) - Method in JSON
Parses the given request's InputStream and returns either a JSONObject or a JSONArray
parse(HttpServletRequest) - Method in XML
Parses the give XML (read from the POST Body of the Request)
prettyPrint - Field in JSON
property(String, Object) - Method in JSON
proxyHandler - Field in DomainClassMarshaller
ProxyUnwrappingMarshaller - Class in org.grails.web.converters.marshaller
Unwraps Hibernate proxies with no direct references to the Hibernate APIs

Q

R

referenceStack - Field in JSON
registerObjectMarshaller(Class<?>, Closure) - Method in DefaultConverterConfiguration
registerObjectMarshaller(ObjectMarshaller<JSON>, int) - Method in JSON
registerObjectMarshaller(ObjectMarshaller<XML>, int) - Method in XML
render(HttpServletResponse) - Method in Converter
Marshalls the target and writes it a HttpServletResponse The response will be comitted after this operation
render(HttpServletResponse) - Method in JSON
Directs the JSON Writer to the Outputstream of the HttpServletResponse and sets the Content-Type to application/json
render(HttpServletResponse) - Method in XML
requiresAutowiring() - Method in ConvertersDomainTransformer
resolveCircularReferenceBehaviour(String) - Method in ConverterUtil
resolveConverterException(Throwable) - Method in ConverterUtil

S

setApplicationContext(ApplicationContext) - Method in ConvertersApi
setApplicationContext(ApplicationContext) - Method in ConvertersConfigurationInitializer
setApplicationContext(ApplicationContext) - Method in ValidationErrorsMarshaller
setCacheObjectMarshallerByClass(boolean) - Method in DefaultConverterConfiguration
setCircularReferenceBehaviour(CircularReferenceBehaviour) - Method in DefaultConverterConfiguration
setContentType(String) - Method in AbstractConverter
Sets the content type of the converter
setContentType(String) - Method in ConfigurableConverter
Sets the content type of the converter
setConverterClass(Class<? extends Converter>) - Method in ObjectMarshallerRegisterer
setDefaultConfiguration(Class<C>, List<ObjectMarshaller<C>>) - Method in ConvertersConfigurationHolder
setEncoding(String) - Method in AbstractConverter
Sets the encoding of the converter
setEncoding(String) - Method in ConfigurableConverter
Sets the encoding of the converter
setEncoding(String) - Method in DefaultConverterConfiguration
setExcludes(Class, List<String>) - Method in AbstractConverter
Set to exclude properties for the given type
setExcludes(Class, List<String>) - Method in ConfigurableConverter
Set to exclude properties for the given type
setExcludes(List<String>) - Method in IncludeExcludeConverter
setExcludes(List<String>) - Method in JSON
setExcludes(List<String>) - Method in XML
setGrailsApplication(GrailsApplication) - Method in ConvertersConfigurationInitializer
setIncludeClass(boolean) - Method in DomainClassMarshaller
setIncludes(Class, List<String>) - Method in AbstractConverter
Set to include properties for the given type
setIncludes(Class, List<String>) - Method in ConfigurableConverter
Set to include properties for the given type
setIncludes(List<String>) - Method in IncludeExcludeConverter
setIncludes(List<String>) - Method in JSON
setIncludes(List<String>) - Method in XML
setIncludeVersion(boolean) - Method in DomainClassMarshaller
setMarshaller(ObjectMarshaller) - Method in ObjectMarshallerRegisterer
setNamedConverterConfiguration(Class<C>, String, List<ObjectMarshaller<C>>) - Method in ConvertersConfigurationHolder
setParent(Object, Object) - Method in JSON.Builder
setParent(Object, Object) - Method in XML.Builder
setPrettyPrint(boolean) - Method in DefaultConverterConfiguration
setPrettyPrint(boolean) - Method in JSON
setPriority(int) - Method in ObjectMarshallerRegisterer
setProperty(String, Object) - Method in JSONBuilder
setTarget(Object) - Method in AbstractConverter
setTarget(Object) - Method in JSON
Sets the Object which is later converted to JSON
setTarget(Object) - Method in XML
setThreadLocalConverterConfiguration(Class<C>, ConverterConfiguration<C>) - Method in ConvertersConfigurationHolder
SETTING_CONVERTERS_CIRCULAR_REFERENCE_BEHAVIOUR - Field in ConvertersConfigurationInitializer
SETTING_CONVERTERS_ENCODING - Field in ConvertersConfigurationInitializer
SETTING_CONVERTERS_JSON_CACHE_OBJECTS - Field in ConvertersConfigurationInitializer
SETTING_CONVERTERS_JSON_CIRCULAR_REFERENCE_BEHAVIOUR - Field in ConvertersConfigurationInitializer
SETTING_CONVERTERS_JSON_DATE - Field in ConvertersConfigurationInitializer
SETTING_CONVERTERS_JSON_DEFAULT_DEEP - Field in ConvertersConfigurationInitializer
SETTING_CONVERTERS_JSON_PRETTY_PRINT - Field in ConvertersConfigurationInitializer
SETTING_CONVERTERS_PRETTY_PRINT - Field in ConvertersConfigurationInitializer
SETTING_CONVERTERS_XML_DEEP - Field in ConvertersConfigurationInitializer
shouldInclude(Object, String) - Method in IncludeExcludePropertyMarshaller
shouldInitializeProxies() - Method in DomainClassMarshaller
shouldInject(URL) - Method in ConvertersDomainTransformer
startNode(String) - Method in XML
supports(Object) - Method in ArrayMarshaller
supports(Object) - Method in Base64ByteArrayMarshaller
supports(Object) - Method in ByteArrayMarshaller
supports(Object) - Method in ChainedConverterConfiguration.ChainedObjectMarshaller
supports(Object) - Method in ClosureObjectMarshaller
supports(Object) - Method in CollectionMarshaller
supports(Object) - Method in DateMarshaller
supports(Object) - Method in DomainClassMarshaller
supports(Object) - Method in EnumMarshaller
supports(Object) - Method in GenericJavaBeanMarshaller
supports(Object) - Method in GroovyBeanMarshaller
supports(Object) - Method in InstanceMethodBasedMarshaller
supports(Object) - Method in JavascriptDateMarshaller
supports(Object) - Method in MapMarshaller
supports(Object) - Method in ObjectMarshaller
Checks wheter the ObjectMarshaller is able/intended to support the given Object
supports(Object) - Method in ProxyUnwrappingMarshaller
supports(Object) - Method in ToStringBeanMarshaller
supports(Object) - Method in ValidationErrorsMarshaller

T

target - Field in JSON
toString() - Method in AbstractConverter
toString(boolean) - Method in JSON
Performs the conversion and returns the resulting JSON as String
toString() - Method in XML
ToStringBeanMarshaller - Class in org.grails.web.converters.marshaller.json
@author Siegfried Puchbauer
ToStringBeanMarshaller() - Constructor in ToStringBeanMarshaller
trimProxySuffix(String) - Method in ConverterUtil

U

use(String) - Method in JSON
use(String) - Method in XML

V

ValidationErrorsMarshaller - Class in org.grails.web.converters.marshaller.json
@author Siegfried Puchbauer
value(Object) - Method in JSON
@param o

W

withDefaultConfiguration(Closure<?>) - Method in JSON
withDefaultConfiguration(Closure<?>) - Method in XML
writer - Field in JSON
writeTo(Writer) - Method in AbstractConverter

X

XML - Class in grails.converters
A converter that converts domain classes to XML.
XML.Builder - Class in grails.converters
XML.Builder(XML) - Constructor in XML.Builder
XML(XMLStreamWriter) - Constructor in XML

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 _