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

AbstractCharReplacementEncoder - Class in org.grails.encoder
Abstract base class for implementing encoders that do character replacements Implements the StreamingEncoder interface that enables efficient streaming encoding
AbstractCharReplacementEncoder(CodecIdentifier) - Constructor in AbstractCharReplacementEncoder
AbstractEncodedAppender - Class in org.grails.encoder
Abstract base class for implementations of EncodedAppender interface
activateDestination() - Method in GrailsLazyProxyPrintWriter.DestinationFactory
addMetaMethod(List<ExpandoMetaClass>, String, Closure) - Method in CodecMetaClassSupport
afterPropertiesSet() - Method in BasicCodecLookup
allocateSpace() - Method in StreamByteBuffer
allowUnwrappingOut - Field in GrailsPrintWriter
append(Encoder, StreamEncodeable) - Method in AbstractEncodedAppender
append(Encoder, StreamEncodeable) - Method in EncodedAppender
Encodes a StreamEncodeable instance and appends it to the buffer.
append(char) - Method in EncodedAppenderWriter
append(StreamCharBuffer) - Method in GrailsPrintWriter
append(StreamCharBuffer) - Method in GrailsPrintWriterAdapter
append(EncodingState, char) - Method in StreamCharBuffer.StreamCharBufferWriter
appendCharSequence(EncodingState, CharSequence, int, int) - Method in AbstractEncodedAppender
Append a portion of a CharSequence to the buffer and attach the encodingState information to it
appendCharSequence(EncodingState, CharSequence, int, int) - Method in StreamCharBuffer.StreamCharBufferWriter
appendCharSequence(EncodingState, CharSequence, int, int) - Method in StreamingEncoderEncodedAppender
appendCharSequence(EncodingState, CharSequence, int, int) - Method in WriterEncodedAppender
appendEncoded(Encoder, EncodingState, CharSequence, int, int) - Method in AbstractEncodedAppender
appendEncoded(Encoder, EncodingState, char[], int, int) - Method in EncodedAppender
Appends an encoded portion of a char array to the buffer.
appendEncoder(List<Encoder>, Encoder) - Method in ChainedEncoders
appendEncoder(Encoder) - Method in EncodingState
appendEncoder(Encoder) - Method in EncodingStateImpl
appendNullCharSequence() - Method in GrailsPrintWriter
appendStreamCharBufferChunk(StreamCharBuffer, List<Encoder>) - Method in StreamCharBuffer
arrayCopy(char[], int, char[], int, int) - Method in StreamCharBuffer
asBoolean() - Method in StreamCharBuffer
asPrintWriter() - Method in GrailsPrintWriter
asType(Class<?>) - Method in GrailsPrintWriter
asType(Class) - Method in StreamCharBuffer

B

BasicCodecLookup - Class in org.grails.encoder.impl
BasicCodecLookup() - Constructor in BasicCodecLookup
BasicJSONEncoder - Class in org.grails.encoder.impl
Escapes characters in JSON output
BasicJSONEncoder() - Constructor in BasicJSONEncoder
BasicXMLEncoder - Class in org.grails.encoder.impl
Encoder implementation that escapes some characters for inclusion in XML documents
BasicXMLEncoder(CodecIdentifier) - Constructor in BasicXMLEncoder
bufferChanged(StreamCharBuffer) - Method in StreamCharBuffer

C

canUseOriginalForSubSequence(CharSequence, int, int) - Method in CharSequences
Checks if start == 0 and count == length of CharSequence It does this check only for String, StringBuilder and StringBuffer classes which have a fast way to check length
chainAllButLastEncoders(EncodedAppender, List<StreamingEncoder>) - Method in ChainedEncoders
chainAllEncoders(EncodedAppender, List<StreamingEncoder>) - Method in ChainedEncoders
ChainedDecoder - Class in org.grails.encoder
ChainedDecoder(Decoder) - Constructor in ChainedDecoder
ChainedEncoder - Class in org.grails.encoder
ChainedEncoder(StreamingEncoder, boolean) - Method in ChainedEncoder
ChainedEncoders - Class in org.grails.encoder
chainEncode(StreamEncodeable, EncodedAppender, List<Encoder>) - Method in ChainedEncoders
chainEncodersAndCachePerThread(EncodedAppender) - Method in ChainedEncoder
chainStreamingEncode(StreamEncodeable, EncodedAppender, List<StreamingEncoder>) - Method in ChainedEncoders
CharArrayAccessible - Interface in org.grails.charsequences
Marker interface for telling that the underlying char array is directly accessible
charAt(int) - Method in StreamCharBuffer
CharSequences - Class in org.grails.charsequences
Utility functions for handling java.lang.CharSequence instances
checkError() - Method in GrailsPrintWriter
Flush the stream if it's not closed and check its error state.
checkError() - Method in GrailsPrintWriterAdapter
clear() - Method in EncodingStateRegistryLookupHolder
clear() - Method in StreamByteBuffer
clear() - Method in StreamCharBuffer
Clears the buffer and notifies the parents of this buffer of the change.
clone() - Method in GrailsPrintWriter
clone() - Method in StreamCharBuffer
close() - Method in EncodedAppender
close() - Method in EncodedAppenderWriter
close() - Method in GrailsPrintWriter
close() - Method in GrailsPrintWriterAdapter
close() - Method in StreamCharBuffer.StreamCharBufferReader
close() - Method in StreamCharBuffer.StreamCharBufferWriter
close() - Method in StreamingEncoderEncodedAppender
close() - Method in WriterEncodedAppender
CodecFactory - Interface in org.grails.encoder
This interface can be used to tell that a Grails Codec class should use these methods for creating the encoder and decoder instances instead of using conventional encode/decode methods.
CodecIdentifier - Interface in org.grails.encoder
Information about the codec that identifies it and tells it's aliases.
codecIdentifier - Field in AbstractCharReplacementEncoder
codecIdentifier - Field in ChainedDecoder
CodecIdentifierProvider - Interface in org.grails.encoder
Marker interface that tells that the instance has information about the Codec Encoder and Decoder interfaces extend this interface.
CodecLookup - Interface in org.grails.encoder
CodecLookupHelper - Class in org.grails.encoder
CodecMetaClassSupport - Class in org.grails.encoder
Helper methods for Codec metaclass operations.
CodecPrintWriter - Class in org.grails.buffer
CodecPrintWriter(Writer, Encoder, EncodingStateRegistry, boolean) - Constructor in CodecPrintWriter
CombinedCodecIdentifier - Class in org.grails.encoder
configureCodecMethods(CodecFactory, boolean, List<ExpandoMetaClass>) - Method in CodecMetaClassSupport
Adds "encodeAs*" and "decode*" metamethods for given codecClass
connectTo(StreamCharBuffer.LazyInitializingWriter, boolean) - Method in StreamCharBuffer
convertToString(Object) - Method in AbstractCharReplacementEncoder
createChainedCodecInstance(String, ConcurrentMap<String, T>, Class<T>) - Method in BasicCodecLookup
createChainingEncodesToWriter(List<StreamingEncoder>, boolean) - Method in AbstractCharReplacementEncoder
createChainingEncodesToWriter(List<StreamingEncoder>, boolean) - Method in EncodesToWriter
createChainingEncodesToWriter(StreamingEncoder, List<StreamingEncoder>, boolean) - Method in EncodesToWriterAdapter
createCharSequence(CharSequence, int, int) - Method in CharSequences
createCodec(String, ConcurrentMap<String, T>, Class<T>) - Method in BasicCodecLookup
createCodecIdentifier(Decoder) - Method in ChainedDecoder
createCodecIdentifier(StreamingEncoder) - Method in ChainedEncoder
createEncodingInitializer(EncoderAware, EncodingStateRegistryLookup, StreamCharBuffer.LazyInitializingWriter) - Method in StreamCharBuffer
createFor(List<StreamingEncoder>, Boolean) - Method in ChainedEncoder
createNameVariations(String, CodecIdentifierProvider) - Method in BasicCodecLookup
createNewEncodingState(Encoder, EncodingState) - Method in AbstractEncodedAppender
createNewEncodingState(Encoder, EncodingState) - Method in EncodesToWriterAdapter
createNewEncodingState(Encoder, EncodingState) - Method in WriterEncodedAppender
createSingleCharSequence(char) - Method in CharSequences
createString(char[]) - Method in StringCharArrayAccessor
creates a new java.lang.String by setting the char array directly to the String instance with reflection.
CRLF - Field in GrailsPrintWriter

D

decode(Object) - Method in ChainedDecoder
decode(Object) - Method in Decoder
Decode given input object
decode(Object) - Method in HTML4Decoder
decode(Object) - Method in RawCodec
Decoder - Interface in org.grails.encoder
interface for decoder methods
decoder - Field in XMLCodecFactory
decoders - Field in BasicCodecLookup
decoders - Field in ChainedDecoder
decoders - Field in HTMLJSCodec
DefaultCodecIdentifier - Class in org.grails.encoder
default implementation of CodecIdentifier
DefaultCodecIdentifier(String, Set<String>) - Constructor in DefaultCodecIdentifier
DefaultEncodingStateRegistry - Class in org.grails.encoder
default implementation of EncodingStateRegistry
doChainEncoders(EncodedAppender) - Method in ChainedEncoder
doCharReplacementEncoding(Object) - Method in AbstractCharReplacementEncoder
doEncode(Object) - Method in BasicJSONEncoder
doEncode(Object) - Method in BasicXMLEncoder
doEncode(Object) - Method in HTMLEncoder
dumpEncodedParts() - Method in StreamCharBuffer

E

emptyAfterReading() - Method in StreamCharBuffer
encode(Object) - Method in AbstractCharReplacementEncoder
encode(Object) - Method in BasicJSONEncoder
encode(Object) - Method in BasicXMLEncoder
encode(Object) - Method in ChainedEncoder
encode(Encoder) - Method in Encodeable
Encode with given encoder.
encode(Object) - Method in Encoder
Encode given input object
encode(Object) - Method in NoneEncoder
encode(Object) - Method in RawCodec
encode(Encoder) - Method in StreamCharBuffer
Encodeable - Interface in org.grails.encoder
Marks a class capable of encoding itself with given Encoder
encodeAndWrite(Encoder, EncodingState, CharSequence) - Method in AbstractEncodedAppender
Encode and write input to buffer using a non-streaming encoder
encodeAsJsonObject(Object) - Method in BasicJSONEncoder
encodeAsXmlObject(Object) - Method in BasicXMLEncoder
EncodedAppender - Interface in org.grails.encoder
This is the input interface to the streaming encoding solution.
encodedAppender - Field in EncodedAppenderWriter
EncodedAppenderFactory - Interface in org.grails.encoder
This interface marks an instance capable of getting a EncodedAppender instance that is connected to it.
EncodedAppenderWriter - Class in org.grails.encoder
A java.io.Writer implementation that writes to a EncodedAppender with a certain encoder
EncodedAppenderWriter(EncodedAppender, Encoder, EncodingStateRegistry) - Constructor in EncodedAppenderWriter
Default constructor
EncodedAppenderWriterFactory - Interface in org.grails.encoder
This interface marks an instance capable of getting a EncodedAppenderWriter instance that is connected to it with a certain encoder fixed.
encodeInStreamingModeTo(EncoderAware, EncodingStateRegistryLookup, boolean, StreamCharBuffer.LazyInitializingWriter) - Method in StreamCharBuffer
Encoder - Interface in org.grails.encoder
Interface for encoding methods.
encoder - Field in EncodedAppenderWriter
encoder - Field in XMLCodecFactory
EncoderAware - Interface in org.grails.encoder
Marks a instance capable of providing information about the current encoder that is in use
encoders - Field in BasicCodecLookup
encoders - Field in HTMLJSCodec
EncodesToWriter - Interface in org.grails.encoder
Marks a class capable of encoding to target Writer
EncodesToWriterAdapter - Class in org.grails.encoder
EncodesToWriterAdapter(StreamingEncoder, boolean) - Constructor in EncodesToWriterAdapter
encodeTo(Writer, EncodesToWriter) - Method in StreamCharBuffer
encodeTo(EncodedAppender, Encoder) - Method in StreamEncodeable
Calls the encoder to encode the current content of the StreamEncodable instance (itself) to the EncodedAppender.
encodeTo(Writer, EncodesToWriter) - Method in StreamingEncoderWritable
Asks the instance to use given writer and EncodesToWriter instance to encode it's content
encodeToBuffer(List<Encoder>, boolean, boolean) - Method in StreamCharBuffer
encodeToStream(Encoder, CharSequence, int, int, EncodedAppender, EncodingState) - Method in AbstractCharReplacementEncoder
encodeToStream(Encoder, CharSequence, int, int, EncodedAppender, EncodingState) - Method in ChainedEncoder
encodeToStream(Encoder, CharSequence, int, int, EncodedAppender, EncodingState) - Method in NoneEncoder
encodeToStream(Encoder, CharSequence, int, int, EncodedAppender, EncodingState) - Method in RawCodec
encodeToStream(Encoder, CharSequence, int, int, EncodedAppender, EncodingState) - Method in StreamingEncoder
Encode and append portion of source CharSequence to the appender.
encodeToWriter(char[], int, int, Writer, EncodingState) - Method in AbstractCharReplacementEncoder
encodeToWriter(char[], int, int, Writer, EncodingState) - Method in EncodesToWriter
encodeToWriter(char[], int, int, Writer, EncodingState) - Method in EncodesToWriterAdapter
EncodingState - Interface in org.grails.encoder
Holds the state of applied encodings
EncodingStateImpl - Class in org.grails.encoder
Default implementation of EncodingState
EncodingStateImpl(Encoder, EncodingState) - Constructor in EncodingStateImpl
EncodingStateRegistry - Interface in org.grails.encoder
EncodingStateRegistry keeps encoding state of CharSequence instances.
encodingStateRegistry - Field in EncodedAppenderWriter
EncodingStateRegistryLookup - Interface in org.grails.encoder
This interface marks an instance capable of looking of the current EncodingStateRegistry
EncodingStateRegistryLookupHolder - Class in org.grails.encoder
equals(Object) - Method in DefaultCodecIdentifier
equals(Object) - Method in EncodingStateImpl
equals(Object) - Method in StreamCharBuffer
equals uses String.equals to check for equality to support compatibility with String instances in maps, sets, etc.
escapeCharacter(char, char) - Method in AbstractCharReplacementEncoder
Escape the character, return null if no replacement has to be made
escapeCharacter(char, char) - Method in BasicJSONEncoder
escapeCharacter(char, char) - Method in BasicXMLEncoder
escapeCharacter(char, char) - Method in HTML4Encoder
escapeCharacter(char, char) - Method in JavaScriptEncoder
escapeCharSequence(CharSequence) - Method in AbstractCharReplacementEncoder

F

FastStringPrintWriter - Class in org.grails.buffer
Fast in-memory PrintWriter implementation.
FastStringPrintWriter(Object) - Constructor in FastStringPrintWriter
FastStringWriter - Class in org.grails.buffer
Java's default StringWriter uses a StringBuffer which is synchronized.
FastStringWriter(Object) - Constructor in FastStringWriter
findStreamCharBufferTarget(boolean) - Method in GrailsPrintWriter
flush() - Method in AbstractEncodedAppender
flush() - Method in EncodedAppender
Flush the internal buffer and write the buffered input to a possible destination.
flush() - Method in EncodedAppenderWriter
flush() - Method in GrailsPrintWriter
Flush the stream.
flush() - Method in GrailsPrintWriterAdapter
flush() - Method in StreamCharBuffer.StreamCharBufferWriter
flush() - Method in StreamingEncoderEncodedAppender
flush() - Method in WriterEncodedAppender

G

getBuffer() - Method in FastStringPrintWriter
getBuffer() - Method in FastStringWriter
getBuffer() - Method in StreamCharBuffer.StreamCharBufferReader
getBuffer() - Method in StreamCharBuffer.StreamCharBufferWriter
getBufferChangesCounter() - Method in StreamCharBuffer
getChars(int, int, char[], int) - Method in CharArrayAccessible
Characters are copied from this sequence into the destination character array dst.
getChars(CharSequence, int, int, char[], int) - Method in CharSequences
Provides an optimized way to copy CharSequence content to target array.
getChunkMinSize() - Method in StreamCharBuffer
getCodecAliases() - Method in CodecIdentifier
Gets the aliases for this codec.
getCodecAliases() - Method in CombinedCodecIdentifier
getCodecAliases() - Method in DefaultCodecIdentifier
getCodecIdentifier() - Method in AbstractCharReplacementEncoder
getCodecIdentifier() - Method in ChainedDecoder
getCodecIdentifier() - Method in ChainedEncoder
getCodecIdentifier() - Method in CodecIdentifierProvider
Gets the codec identifier information.
getCodecIdentifier() - Method in HTML4Decoder
getCodecIdentifier() - Method in NoneEncoder
getCodecIdentifier() - Method in RawCodec
getCodecName() - Method in CodecIdentifier
Gets the unique name of the codec.
getCodecName() - Method in CombinedCodecIdentifier
getCodecName() - Method in DefaultCodecIdentifier
getCurrentParentBuffers() - Method in StreamCharBuffer
getDecoder() - Method in CodecFactory
Gets the decoder instance.
getDecoder() - Method in HTML4Codec
getDecoder() - Method in HTMLJSCodec
getDecoder() - Method in JavaScriptCodec
getDecoder() - Method in RawCodec
getDecoder() - Method in XMLCodecFactory
getEncodedAppender() - Method in CodecPrintWriter
getEncodedAppender() - Method in EncodedAppenderFactory
Gets the EncodedAppender that is connected to the instance of this implementation.
getEncodedAppender() - Method in EncodedAppenderWriter
getEncodedAppender() - Method in StreamCharBuffer.StreamCharBufferWriter
getEncodedAppender() - Method in StreamingEncoderWriter
getEncoder() - Method in CodecFactory
Gets the encoder instance.
getEncoder() - Method in CodecPrintWriter
getEncoder() - Method in EncodedAppenderWriter
getEncoder() - Method in EncoderAware
Gets the current encoder in use.
getEncoder() - Method in HTML4Codec
getEncoder() - Method in HTMLJSCodec
getEncoder() - Method in JavaScriptCodec
getEncoder() - Method in RawCodec
getEncoder() - Method in StreamingEncoderWriter
getEncoder() - Method in XMLCodecFactory
getEncoders() - Method in EncodingState
Gets the current encoding state (= encoder that have been applied)
getEncoders() - Method in EncodingStateImpl
getEncodingState() - Method in StreamCharBuffer.EncodedPart
getEncodingStateFor(CharSequence) - Method in DefaultEncodingStateRegistry
getEncodingStateFor(CharSequence) - Method in EncodingStateRegistry
Gets the current encoding state for a CharSequence.
getEncodingStateRegistryLookup() - Method in EncodingStateRegistryLookupHolder
getInputStream() - Method in StreamByteBuffer
getMetaClass() - Method in GrailsPrintWriter
getOut() - Method in GrailsLazyProxyPrintWriter
getOut() - Method in GrailsPrintWriter
getOut() - Method in GrailsPrintWriterAdapter
getOutputStream() - Method in StreamByteBuffer
getPart() - Method in StreamCharBuffer.EncodedPart
getPreviousEncodingState() - Method in EncodingState
getPreviousEncodingState() - Method in EncodingStateImpl
getProperty(String) - Method in GrailsPrintWriter
getReader() - Method in FastStringPrintWriter
getReader() - Method in FastStringWriter
getReader(boolean) - Method in StreamCharBuffer
Like getReader(), but when removeAfterReading is true, the read data will be removed from the buffer.
getReadLenLimit(int) - Method in StreamCharBuffer.StreamCharBufferReader
getReadMode() - Method in StreamByteBuffer
getStreamingEncoder() - Method in EncodesToWriterAdapter
getSubBufferChunkMinSize() - Method in StreamCharBuffer
getSubStringChunkMinSize() - Method in StreamCharBuffer
getTarget() - Method in GrailsPrintWriterAdapter
getValue() - Method in FastStringPrintWriter
getValue() - Method in FastStringWriter
getWriteDirectlyToConnectedMinSize() - Method in StreamCharBuffer
getWriter() - Method in StreamCharBuffer
Writer interface for adding/writing data to the buffer.
getWriter() - Method in StreamCharBuffer.LazyInitializingWriter
getWriterForEncoder(Encoder, EncodingStateRegistry) - Method in CodecPrintWriter
getWriterForEncoder(Encoder, EncodingStateRegistry) - Method in EncodedAppenderWriter
getWriterForEncoder(Encoder, EncodingStateRegistry) - Method in EncodedAppenderWriterFactory
Gets the EncodedAppenderWriter instance that is connected to this instance implementation with a certain encoder fixed.
getWriterForEncoder(Encoder, EncodingStateRegistry) - Method in GrailsPrintWriter
getWriterForEncoder(Encoder, EncodingStateRegistry, boolean) - Method in StreamCharBuffer
getWriterForEncoder(Encoder, EncodingStateRegistry) - Method in StreamCharBuffer.StreamCharBufferWriter
GrailsLazyProxyPrintWriter - Class in org.grails.buffer
GrailsLazyProxyPrintWriter.DestinationFactory - Interface in org.grails.buffer
Factory to lazily instantiate the destination.
GrailsLazyProxyPrintWriter(GrailsLazyProxyPrintWriter.DestinationFactory) - Constructor in GrailsLazyProxyPrintWriter
GrailsPrintWriter - Class in org.grails.buffer
PrintWriter implementation that doesn't have synchronization. null object references are ignored in print methods (nothing gets printed)
GrailsPrintWriter(Writer) - Constructor in GrailsPrintWriter
GrailsPrintWriterAdapter - Class in org.grails.buffer
@author Lari Hotari
GrailsPrintWriterAdapter(Writer) - Constructor in GrailsPrintWriterAdapter
GrailsWrappedWriter - Interface in org.grails.buffer

H

handleIOException(IOException) - Method in GrailsPrintWriterAdapter
hashCode() - Method in DefaultCodecIdentifier
hashCode() - Method in EncodingStateImpl
hashCode() - Method in StreamCharBuffer
{@inheritDoc}
HTML4Codec - Class in org.grails.encoder.impl
Encodes and decodes strings to and from HTML.
HTML4Decoder - Class in org.grails.encoder.impl
HTML4 decoder that uses Spring's HtmlUtils.htmlUnescape to do the unescaping.
HTML4Encoder - Class in org.grails.encoder.impl
This encoder is for HTML4 documents.
HTML4Encoder() - Constructor in HTML4Encoder
HTML_CODEC_IDENTIFIER - Field in HTMLEncoder
HTMLCodecFactory - Class in org.grails.encoder.impl
HTMLEncoder - Class in org.grails.encoder.impl
HTMLEncoder implementation currently this doesn't add any extra features to XMLEncoder This encoder is for XML, XHTML and HTML5 documents.
HTMLEncoder() - Constructor in HTMLEncoder
HTMLJSCodec - Class in org.grails.encoder.impl
HTMLJSCodec() - Constructor in HTMLJSCodec

I

initializeMultiple(StreamCharBuffer, boolean) - Method in StreamCharBuffer.LazyInitializingMultipleWriter
initialize underlying writer
initOut() - Method in FastStringWriter
invokeMethod(String, Object) - Method in GrailsPrintWriter
isAllowSubBuffers() - Method in StreamCharBuffer
isAllowUnwrappingOut() - Method in GrailsLazyProxyPrintWriter
isAllowUnwrappingOut() - Method in GrailsPrintWriter
isAllowUnwrappingOut() - Method in GrailsPrintWriterAdapter
isAllowUnwrappingOut() - Method in GrailsWrappedWriter
isApplyToSafelyEncoded() - Method in AbstractCharReplacementEncoder
isApplyToSafelyEncoded() - Method in BasicJSONEncoder
isApplyToSafelyEncoded() - Method in ChainedEncoder
isApplyToSafelyEncoded() - Method in Encoder
@return true if this this codec should be applied to a buffer part that is already encoded with a safe encoder
isApplyToSafelyEncoded() - Method in JavaScriptEncoder
isApplyToSafelyEncoded() - Method in NoneEncoder
isApplyToSafelyEncoded() - Method in RawCodec
isChunkSizeResizeable() - Method in StreamCharBuffer
isClosed() - Method in StreamCharBuffer.StreamCharBufferWriter
isConnectedMode() - Method in StreamCharBuffer
isDestinationActivated() - Method in GrailsLazyProxyPrintWriter
isDestinationActivated() - Method in GrailsPrintWriter
isEmpty() - Method in StreamCharBuffer
isEnabled() - Method in StringCharArrayAccessor
isEncodedWith(Encoder, CharSequence) - Method in DefaultEncodingStateRegistry
isEncodedWith(Encoder, CharSequence) - Method in EncodingStateRegistry
Checks if the CharSequence is encoded with encoder.
isEquivalent(CodecIdentifier) - Method in CodecIdentifier
Checks if this codec is equivalent to some other codec
isEquivalent(CodecIdentifier) - Method in CombinedCodecIdentifier
isEquivalent(CodecIdentifier) - Method in DefaultCodecIdentifier
isIgnoreEncodingState() - Method in AbstractEncodedAppender
isIgnoreEncodingState() - Method in EncodedAppender
@return current state of ignoreEncodingState setting
isIgnoreEncodingState() - Method in EncodesToWriterAdapter
isNoneEncoder(Encoder) - Method in DefaultEncodingStateRegistry
isNotifyParentBuffersEnabled() - Method in StreamCharBuffer
isPreferSubChunkWhenWritingToOtherBuffer() - Method in StreamCharBuffer
isPreviousEncoderSafeOrEqual(Encoder, Encoder) - Method in DefaultEncodingStateRegistry
Checks if is previous encoder is already "safe", equal or equivalent
isSafe() - Method in AbstractCharReplacementEncoder
isSafe() - Method in ChainedEncoder
isSafe() - Method in Encoder
Checks if this encoder is XSS "safe".
isSafe() - Method in NoneEncoder
isSafe() - Method in RawCodec
isTrouble() - Method in GrailsPrintWriterAdapter
isUsed() - Method in GrailsPrintWriter
isUsed() - Method in GrailsPrintWriterAdapter
isUsed() - Method in StreamCharBuffer.StreamCharBufferWriter

J

JAVASCRIPT_CODEC_IDENTIFIER - Field in JavaScriptEncoder
JavaScriptCodec - Class in org.grails.encoder.impl
A codec that encodes strings to Javascript
JavaScriptEncoder - Class in org.grails.encoder.impl
Used for making strings safe to be included in a SCRIPT tag besides normal Javascript escaping, possibly "unsafe" characters are escaped too so that it's safe to include an escaped string in a HTML SCRIPT tag.
JavaScriptEncoder() - Constructor in JavaScriptEncoder
JSON_CODEC_IDENTIFIER - Field in BasicJSONEncoder
JSONCodecFactory - Class in org.grails.encoder.impl

K

L

leftShift(String) - Method in GrailsPrintWriter
leftShift(Writable) - Method in GrailsPrintWriterAdapter
length() - Method in StreamCharBuffer
LOG - Field in GrailsPrintWriter
lookup() - Method in EncodingStateRegistryLookup
Lookup encoding state registry.
lookupCodec(String, ConcurrentMap<String, T>, Class<T>) - Method in BasicCodecLookup
lookupDecoder(String) - Method in BasicCodecLookup
lookupDecoder(String) - Method in CodecLookup
lookupDefaultEncodingStateRegistry() - Method in StreamCharBuffer
lookupEncoder(String) - Method in BasicCodecLookup
lookupEncoder(String) - Method in CodecLookup
lookupEncoder(GrailsApplication, String) - Method in CodecLookupHelper
Lookup encoder.
lookupEncodingState(String, int, int) - Method in StreamingEncoderWriter

M

markBufferChanged() - Method in StreamCharBuffer
markEncoded(CharSequence) - Method in AbstractCharReplacementEncoder
markEncoded(CharSequence) - Method in ChainedEncoder
markEncoded(CharSequence) - Method in Encoder
Mark this instance as encoded with this encoder in the current EncodingStateRegistry
markEncoded(CharSequence) - Method in NoneEncoder
markEncoded(CharSequence) - Method in RawCodec
markEncoded(StreamCharBuffer.StringChunk) - Method in StreamCharBuffer
markUsed() - Method in GrailsPrintWriter
markUsed() - Method in GrailsPrintWriterAdapter
markUsed() - Method in GrailsWrappedWriter
markUsed() - Method in StreamCharBuffer.StreamCharBufferWriter
methodMissing(String, Object) - Method in StreamCharBuffer
Delegates methodMissing to String object

N

newInstance(int) - Method in FastStringPrintWriter
newInstance(Writer) - Method in GrailsPrintWriterAdapter
NONE_ENCODER - Field in BasicCodecLookup
NONE_ENCODER - Field in DefaultEncodingStateRegistry
NoneEncoder - Class in org.grails.encoder.impl
@author Lari Hotari
notifyBufferChange() - Method in StreamCharBuffer
notifyPreferSubChunkEnabled() - Method in StreamCharBuffer

O

out - Field in GrailsPrintWriter

P

plus(Object) - Method in GrailsPrintWriter
plus(Object) - Method in GrailsPrintWriterAdapter
plus(Object) - Method in StreamCharBuffer
prepareRead() - Method in StreamByteBuffer
previousOut - Field in GrailsPrintWriter
print(GStringImpl) - Method in GrailsPrintWriter
print(Writable) - Method in GrailsPrintWriterAdapter
println(StreamCharBuffer) - Method in GrailsPrintWriter
println(StreamCharBuffer) - Method in GrailsPrintWriterAdapter
putChainedCodecInstance(String, ConcurrentMap<String, T>, T) - Method in BasicCodecLookup

Q

R

RawCodec - Class in org.grails.encoder.impl
Codec that doesn't do any encoding or decoding.
read(char[], int, int) - Method in StreamCharBuffer.StreamCharBufferReader
readAsByteArray() - Method in StreamByteBuffer
readAsString(Charset) - Method in StreamByteBuffer
readExternal(ObjectInput) - Method in StreamCharBuffer
readToSingleStringChunk(boolean) - Method in StreamCharBuffer
ready() - Method in StreamCharBuffer.StreamCharBufferReader
registerCodecFactory(CodecFactory) - Method in BasicCodecLookup
registerCodecFactory(CodecFactory) - Method in StandaloneCodecLookup
registerCodecs() - Method in BasicCodecLookup
registerCodecs() - Method in StandaloneCodecLookup
registerDecoder(Decoder) - Method in BasicCodecLookup
registerEncodedWith(Encoder, CharSequence) - Method in DefaultEncodingStateRegistry
registerEncodedWith(Encoder, CharSequence) - Method in EncodingStateRegistry
Registers that the CharSequence has been encoded with encoder
registerEncoder(Encoder) - Method in BasicCodecLookup
registerMetaMethods(CodecFactory) - Method in StandaloneCodecLookup
registerStreamCharBufferMetaClass() - Method in StreamCharBufferMetaUtils
registerVariationsOfName(Map<String, T>, T, String) - Method in BasicCodecLookup
registerWithNameVaritions(Map<String, T>, T) - Method in BasicCodecLookup
reInitialize() - Method in BasicCodecLookup
removeConnections() - Method in StreamCharBuffer
reset() - Method in StreamByteBuffer
reset(boolean) - Method in StreamCharBuffer
resets the state of this buffer (empties it)
resetUsed() - Method in GrailsPrintWriter
resetUsed() - Method in GrailsPrintWriterAdapter
resetUsed() - Method in StreamCharBuffer.StreamCharBufferWriter
resizeChunkSizeAsProcentageOfTotalSize() - Method in StreamCharBuffer
resolveEncoding() - Method in URLCodecFactory
resolveMetaClasses() - Method in StandaloneCodecLookup
retainAfterReadingMode() - Method in StreamByteBuffer

S

setAllowSubBuffers(boolean) - Method in StreamCharBuffer
setChunkMinSize(int) - Method in StreamCharBuffer
setDestinationActivated(boolean) - Method in GrailsLazyProxyPrintWriter
setEncodingStateRegistryLookup(EncodingStateRegistryLookup) - Method in EncodingStateRegistryLookupHolder
setError() - Method in GrailsPrintWriter
setError() - Method in GrailsPrintWriterAdapter
setIgnoreEncodingState(boolean) - Method in AbstractEncodedAppender
setIgnoreEncodingState(boolean) - Method in EncodedAppender
When enabled, will encode all input regardless of it's current state disables double-encoding prevention.
setIgnoreEncodingState(boolean) - Method in EncodesToWriterAdapter
setMetaClass(MetaClass) - Method in GrailsPrintWriter
setNotifyParentBuffersEnabled(boolean) - Method in StreamCharBuffer
By default the parent buffers (a buffer where this buffer has been appended to) get notified of changed to this buffer.
setOut(Writer) - Method in GrailsPrintWriter
setPreferSubChunkWhenWritingToOtherBuffer(boolean) - Method in StreamCharBuffer
setProperty(String, Object) - Method in GrailsPrintWriter
setReadMode(StreamByteBuffer.ReadMode) - Method in StreamByteBuffer
setSubBufferChunkMinSize(int) - Method in StreamCharBuffer
setSubStringChunkMinSize(int) - Method in StreamCharBuffer
Minimum size for a String to be added as a StringChunk instead of copying content to the char[] buffer of the current StreamCharBufferChunk
setTarget(Writer) - Method in GrailsPrintWriterAdapter
setUsed(boolean) - Method in GrailsPrintWriter
setUsed(boolean) - Method in GrailsPrintWriterAdapter
setWriteDirectlyToConnectedMinSize(int) - Method in StreamCharBuffer
Minimum size for a String or char[] to get written directly to connected writer (in "connectTo" mode).
shouldApplyEncoder(StreamingEncoder) - Method in ChainedEncoders
checks that the encoder isn't a NoneEncoder instance
shouldEncode(Encoder, EncodingState) - Method in AbstractEncodedAppender
Check if the encoder should be used to a input with certain encodingState
shouldEncode(Encoder, EncodingState) - Method in EncodedAppender
Check if the encoder should be used to a input with certain encodingState
shouldEncodeWith(Encoder, EncodingState) - Method in AbstractEncodedAppender
shouldEncodeWith(Encoder, EncodingState) - Method in DefaultEncodingStateRegistry
Checks if encoder should be applied to a input with given encoding state
shouldEncodeWith(Encoder, EncodingState) - Method in EncodesToWriterAdapter
shouldEncodeWith(Encoder, CharSequence) - Method in EncodingStateRegistry
Checks if a encoder should be applied to a CharSequence
shouldEncodeWith(Encoder, EncodingState) - Method in StreamingEncoderWriter
size() - Method in StreamCharBuffer
StandaloneCodecLookup - Class in org.grails.encoder.impl
streamBuffer - Field in FastStringWriter
StreamByteBuffer - Class in org.grails.buffer
An in-memory buffer that provides OutputStream and InputStream interfaces.
StreamByteBuffer.ReadMode - Enum in org.grails.buffer
StreamByteBuffer(int, StreamByteBuffer.ReadMode) - Constructor in StreamByteBuffer
StreamCharBuffer - Class in org.grails.buffer
StreamCharBuffer.EncodedPart - Class in org.grails.buffer
StreamCharBuffer.EncodedPart(EncodingState, String) - Constructor in StreamCharBuffer.EncodedPart
StreamCharBuffer.LazyInitializingMultipleWriter - Interface in org.grails.buffer
StreamCharBuffer.LazyInitializingWriter - Interface in org.grails.buffer
Interface for a Writer that gets initialized if it is used Can be used for passing in to "connectTo" method of StreamCharBuffer
StreamCharBuffer.StreamCharBufferReader - Class in org.grails.buffer
This is the java.io.Reader implementation for StreamCharBuffer
StreamCharBuffer.StreamCharBufferReader(boolean) - Constructor in StreamCharBuffer.StreamCharBufferReader
StreamCharBuffer.StreamCharBufferWriter - Class in org.grails.buffer
This is the java.io.Writer implementation for StreamCharBuffer
StreamCharBuffer(int, int, int) - Constructor in StreamCharBuffer
StreamCharBufferMetaUtils - Class in org.grails.buffer
streamCharBufferTarget - Field in GrailsPrintWriter
StreamEncodeable - Interface in org.grails.encoder
Marks a class capable of encoding itself with given Encoder to given EncodedAppender instance
StreamingEncoder - Interface in org.grails.encoder
Streaming encoder interface that makes it possible to encode a portion of a CharSequence and append it directly to the EncodedAppender instance.
StreamingEncoderEncodedAppender - Class in org.grails.encoder
EncodedAppender implementation used for piping / chaining several StreamingEncoders
StreamingEncoderEncodedAppender(StreamingEncoder, EncodedAppender) - Constructor in StreamingEncoderEncodedAppender
StreamingEncoderWritable - Interface in org.grails.encoder
Marks a class capable of encoding itself with given EncodesToWriter instance to given Writer instance
StreamingEncoderWriter - Class in org.grails.encoder
StreamingEncoderWriter(Writer, StreamingEncoder, EncodingStateRegistry) - Constructor in StreamingEncoderWriter
StringCharArrayAccessor - Class in org.grails.buffer
Provides optimized access to java.lang.String internals
subSequence(int, int) - Method in StreamCharBuffer

T

target - Field in GrailsPrintWriterAdapter
toCharArray() - Method in StreamCharBuffer
Reads the buffer to a char[].
toStreamingEncoders(List<Encoder>) - Method in ChainedEncoders
toString() - Method in DefaultCodecIdentifier
toString() - Method in EncodingStateImpl
toString() - Method in FastStringPrintWriter
toString() - Method in FastStringWriter
toString() - Method in StreamCharBuffer
{@inheritDoc}
toString() - Method in StreamCharBuffer.EncodedPart
totalBytesUnread() - Method in StreamByteBuffer
trouble - Field in GrailsPrintWriter

U

UNDEFINED_ENCODING_STATE - Field in EncodingStateImpl
unwrap() - Method in GrailsLazyProxyPrintWriter
unwrap() - Method in GrailsPrintWriter
unwrap() - Method in GrailsPrintWriterAdapter
unwrap() - Method in GrailsWrappedWriter
unwrapWriter(Writer) - Method in GrailsPrintWriter
updateDestination(GrailsLazyProxyPrintWriter.DestinationFactory) - Method in GrailsLazyProxyPrintWriter
URLCodecFactory - Class in org.grails.encoder.impl
Implements the 'www-form-urlencoded' encoding scheme, also misleadingly known as URL encoding.
usageFlag - Field in GrailsPrintWriter

V

W

write(EncodingState, String, int, int) - Method in AbstractEncodedAppender
Append a portion of a string to the buffer and attach the encodingState information to it
write(String, int, int) - Method in EncodedAppenderWriter
write(Writable) - Method in GrailsPrintWriter
write(Writable) - Method in GrailsPrintWriterAdapter
write(int) - Method in StreamCharBuffer.StreamCharBufferWriter
write(EncodingState, String, int, int) - Method in StreamingEncoderEncodedAppender
write(int) - Method in StreamingEncoderWriter
write(EncodingState, String, int, int) - Method in WriterEncodedAppender
writeCharSequence(Writer, CharSequence) - Method in CharSequences
writeExternal(ObjectOutput) - Method in StreamCharBuffer
WriterEncodedAppender - Class in org.grails.encoder
An EncodedAppender implementation that writes to a java.io.Writer.
WriterEncodedAppender(Writer) - Constructor in WriterEncodedAppender
Default constructor.
writeStringAsCharArray(Writer, String, int, int) - Method in StringCharArrayAccessor
Writes a portion of a string to a target java.io.Writer with direct access to the char[] of the java.lang.String
writeTo(OutputStream) - Method in StreamByteBuffer
writeTo(Writer, boolean, boolean) - Method in StreamCharBuffer
Writes the buffer content to a target java.io.Writer
writeWritable(Writable) - Method in GrailsPrintWriter

X

XML_CODEC_IDENTIFIER - Field in BasicXMLEncoder
XMLCodecFactory - Class in org.grails.encoder.impl
xmlEscapeCharacter(char) - Method in BasicXMLEncoder

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 _