mirror of
https://bitbucket.org/vendoo/vendoo_v1.0.git
synced 2025-12-25 03:37:39 +00:00
need to rework on categories since subcategory workflow added some complications, but that will be taken care of in a bug fix task
48 lines
1.1 KiB
Objective-C
48 lines
1.1 KiB
Objective-C
//
|
|
// PicoFormat.h
|
|
// pico
|
|
//
|
|
// Created by bulldog on 13-2-26.
|
|
// Copyright (c) 2013 LeanSoft Technology. All rights reserved.
|
|
//
|
|
|
|
extern NSString *const DEFAULT_XML_ENCODING;
|
|
|
|
@interface PicoConfig : NSObject {
|
|
@private
|
|
NSString *_encoding;
|
|
BOOL _indent;
|
|
NSLocale *_locale;
|
|
NSNumberFormatter *_numberFormatter;
|
|
NSDateFormatter *_dateFormatter;
|
|
NSTimeZone *_tiemZone;
|
|
}
|
|
|
|
/**
|
|
soap message encoding, default to utf-8
|
|
*/
|
|
@property (nonatomic, strong) NSString *encoding;
|
|
/**
|
|
locale used for number or date conversion, default to current locale on device
|
|
*/
|
|
@property (nonatomic, strong) NSLocale *locale;
|
|
/**
|
|
formatter used for number conversion
|
|
*/
|
|
@property (nonatomic, strong) NSNumberFormatter *numberFormatter;
|
|
/**
|
|
formatter used for date conversion, default date format : yyyy-MM-dd'T'HH:mm:ss.SSS'Z'
|
|
*/
|
|
@property (nonatomic, strong) NSDateFormatter *dateFormatter;
|
|
/**
|
|
time zone used for date conversion, default to GMT time zone.
|
|
*/
|
|
@property (nonatomic, strong) NSTimeZone *timeZone;
|
|
/**
|
|
should output message be formated with indent, default to YES
|
|
*/
|
|
@property (nonatomic, assign) BOOL indent;
|
|
|
|
|
|
@end
|