GWT 2.3.0

com.google.gwt.autobean.shared
Interface Splittable


Deprecated.

@Deprecated
public interface Splittable

This interface provides an abstraction around the underlying data model (JavaScriptObject, org.json, or XML) used to encode an AutoBeanCodex payload.

AutoBeans has moved to com.google.web.bindery.autobeans. This package will be removed in a future version of GWT.


Method Summary
 java.lang.String asString()
          Deprecated. Returns a string representation of the data.
 Splittable get(int index)
          Deprecated. Returns the nth element of a list.
 Splittable get(java.lang.String key)
          Deprecated. Returns the named property.
 java.lang.String getPayload()
          Deprecated. Returns a wire-format representation of the data.
 java.util.List<java.lang.String> getPropertyKeys()
          Deprecated. Returns all keys available in the Splittable.
 boolean isIndexed()
          Deprecated. Returns true if size() and get(int) can be expected to return meaningful values.
 boolean isKeyed()
          Deprecated. Returns true if getPropertyKeys() and get(String) can be expected to return meaningful values.
 boolean isNull(int index)
          Deprecated. Indicates if the nth element of a list is null.
 boolean isNull(java.lang.String key)
          Deprecated. Indicates if the named property is null.
 boolean isString()
          Deprecated. Returns true if asString() can be expected to return a meaningful value.
 int size()
          Deprecated. Returns the size of the list.
 

Method Detail

asString

java.lang.String asString()
Deprecated. 
Returns a string representation of the data.


get

Splittable get(int index)
Deprecated. 
Returns the nth element of a list.


get

Splittable get(java.lang.String key)
Deprecated. 
Returns the named property.


getPayload

java.lang.String getPayload()
Deprecated. 
Returns a wire-format representation of the data.


getPropertyKeys

java.util.List<java.lang.String> getPropertyKeys()
Deprecated. 
Returns all keys available in the Splittable. This method may be expensive to compute.


isIndexed

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


isKeyed

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


isNull

boolean isNull(int index)
Deprecated. 
Indicates if the nth element of a list is null.


isNull

boolean isNull(java.lang.String key)
Deprecated. 
Indicates if the named property is null.


isString

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


size

int size()
Deprecated. 
Returns the size of the list.


GWT 2.3.0