Sun GlassFish Mobility Platform 1.1 Developer's Guide for Client Applications

The EncodingType Class

Table 4–5 lists the fields and the one method belonging to the EncodingType class. This class provides a simple enum for SyncML encoding types. These values can be used to specify either simple XML encoding or WBXML encoding during synchronizations with the gateway server.

The WBXML encoding is a binary WAP encoding standard developed by the Open Mobile Alliance (OMA) for compressing the SyncML payloads in order to reduce bandwidth usage on mobile devices.

Table 4–5 Class com.sun.mep.client.api.EncodingType

Field/Method 

Description 

public static final EncodingType WBXML

WBXML encoding. 

public static final EncodingType XML

Simple XML encoding. 

public java.lang.String getValue()

Returns the value of the current encoding type.