11
12
13
14
15
16
17
18
19
20
21
22
23
24
|
* Alternatively, it may be distributed under the terms of the GNU General
* Public License, either version 2 or 3, which can be found in the file
* LICENSE.GPLv2 or LICENSE.GPLv3 respectively included in the packaging of this
* file.
*/
#import "OFObject.h"
#define OF_SERIALIZATION_NS @"https://webkeks.org/objfw/serialization"
@class OFXMLElement;
/*!
* @protocol OFSerialization OFSerialization.h ObjFW/OFSerialization.h
|
>
>
|
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
|
* Alternatively, it may be distributed under the terms of the GNU General
* Public License, either version 2 or 3, which can be found in the file
* LICENSE.GPLv2 or LICENSE.GPLv3 respectively included in the packaging of this
* file.
*/
#import "OFObject.h"
OF_ASSUME_NONNULL_BEGIN
#define OF_SERIALIZATION_NS @"https://webkeks.org/objfw/serialization"
@class OFXMLElement;
/*!
* @protocol OFSerialization OFSerialization.h ObjFW/OFSerialization.h
|
37
38
39
40
41
42
43
|
/*!
* @brief Serializes the object into an XML element.
*
* @return The object serialized into an XML element
*/
- (OFXMLElement*)XMLElementBySerializing;
@end
|
>
>
|
39
40
41
42
43
44
45
46
47
|
/*!
* @brief Serializes the object into an XML element.
*
* @return The object serialized into an XML element
*/
- (OFXMLElement*)XMLElementBySerializing;
@end
OF_ASSUME_NONNULL_END
|