public static class

JsoSplittable.StringSplittable

extends Object
implements Splittable
java.lang.Object
   ↳ com.google.gwt.autobean.client.impl.JsoSplittable.StringSplittable

Class Overview

This type is used because we can't treat Strings as JSOs.

Summary

Public Constructors
JsoSplittable.StringSplittable(String value)
Public Methods
String asString()
Returns a string representation of the data.
Splittable get(int index)
Returns the nth element of a list.
Splittable get(String key)
Returns the named property.
String getPayload()
Returns a wire-format representation of the data.
List<String> getPropertyKeys()
Returns all keys available in the Splittable.
boolean isIndexed()
Returns true if size() and get(int) can be expected to return meaningful values.
boolean isKeyed()
Returns true if getPropertyKeys() and get(String) can be expected to return meaningful values.
boolean isNull(String key)
Indicates if the named property is null.
boolean isNull(int index)
Indicates if the nth element of a list is null.
boolean isString()
Returns true if asString() can be expected to return a meaningful value.
int size()
Returns the size of the list.
[Expand]
Inherited Methods
From class java.lang.Object
From interface com.google.gwt.autobean.shared.Splittable

Public Constructors

public JsoSplittable.StringSplittable (String value)

Public Methods

public String asString ()

Returns a string representation of the data.

public Splittable get (int index)

Returns the nth element of a list.

public Splittable get (String key)

Returns the named property.

public String getPayload ()

Returns a wire-format representation of the data.

public List<String> getPropertyKeys ()

Returns all keys available in the Splittable. This method may be expensive to compute.

public boolean isIndexed ()

Returns true if size() and get(int) can be expected to return meaningful values.

public boolean isKeyed ()

Returns true if getPropertyKeys() and get(String) can be expected to return meaningful values.

public boolean isNull (String key)

Indicates if the named property is null.

public boolean isNull (int index)

Indicates if the nth element of a list is null.

public boolean isString ()

Returns true if asString() can be expected to return a meaningful value.

public int size ()

Returns the size of the list.