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

A protocol for serializing objects. More...

#import <ObjFW/OFSerialization.h>

Inheritance diagram for <OFSerialization>:
Inheritance graph
[legend]
Collaboration diagram for <OFSerialization>:
Collaboration graph
[legend]

Instance Methods

(instancetype) - initWithSerialization:
 Initializes the object with the specified XML element serialization. More...
 

Properties

OFXMLElementXMLElementBySerializing
 The object serialized into an XML element.
 

Detailed Description

A protocol for serializing objects.

Method Documentation

◆ initWithSerialization:

- (instancetype) initWithSerialization: (OFXMLElement *)  element

Initializes the object with the specified XML element serialization.

Parameters
elementAn OFXMLElement with the serialized object
Returns
An initialized object

Reimplemented in OFXMLNode, OFSecureData, OFXMLProcessingInstructions, OFXMLElement, OFXMLComment, OFXMLCharacters, OFXMLCDATA, and OFXMLAttribute.


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