ObjFW
Instance Methods | List of all members
<OFSerialization> Protocol Reference

A protocol for serializing objects. More...

#import <ObjFW/OFSerialization.h>

Inheritance diagram for <OFSerialization>:
OFArray OFDataArray OFDate OFDictionary OFList OFNull OFNumber OFSet OFString OFURL OFXMLNode

Instance Methods

(id) - initWithSerialization:
 Initializes the object with the specified XML element serialization. More...
 
(OFXMLElement *) - XMLElementBySerializing
 Serializes the object into an XML element. More...
 

Detailed Description

A protocol for serializing objects.

Method Documentation

- (id) initWithSerialization: (OFXMLElement *)  element

Initializes the object with the specified XML element serialization.

Parameters
elementAn OFXMLElement with the serialized object
Returns
An initialized object
- (OFXMLElement*) XMLElementBySerializing

Serializes the object into an XML element.

Returns
The object serialized into an XML element

The documentation for this protocol was generated from the following file: