com.google.gwt.user.server.rpc.impl
Class ServerSerializationStreamWriter.LengthConstrainedArray

java.lang.Object
  extended by com.google.gwt.user.server.rpc.impl.ServerSerializationStreamWriter.LengthConstrainedArray
Enclosing class:
ServerSerializationStreamWriter

public static class ServerSerializationStreamWriter.LengthConstrainedArray
extends java.lang.Object

Builds a string that evaluates into an array containing the given elements. This class exists to work around a bug in IE6/7 that limits the size of array literals.


Field Summary
static int MAXIMUM_ARRAY_LENGTH
           
 
Constructor Summary
ServerSerializationStreamWriter.LengthConstrainedArray()
           
ServerSerializationStreamWriter.LengthConstrainedArray(int capacityGuess)
           
 
Method Summary
 void addToken(java.lang.CharSequence token)
           
 void addToken(int i)
           
 java.lang.String toString()
           
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

MAXIMUM_ARRAY_LENGTH

public static final int MAXIMUM_ARRAY_LENGTH
See Also:
Constant Field Values
Constructor Detail

ServerSerializationStreamWriter.LengthConstrainedArray

public ServerSerializationStreamWriter.LengthConstrainedArray()

ServerSerializationStreamWriter.LengthConstrainedArray

public ServerSerializationStreamWriter.LengthConstrainedArray(int capacityGuess)
Method Detail

addToken

public void addToken(java.lang.CharSequence token)

addToken

public void addToken(int i)

toString

public java.lang.String toString()
Overrides:
toString in class java.lang.Object