171819202122232425
public static ServiceProvider getDefault() { return INSTANCE; } public EncodingService getEncodingService() { if (_encodingService == null) { _encodingService = new XStreamEncoder(); } return _encodingService; }