Sun Java System Mobile Enterprise Platform 1.0 Developer's Guide for Client Applications

The EncodingType Class

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

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

Table 4–4 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.