22OF_ASSUME_NONNULL_BEGIN
24@class OFArray OF_GENERIC(ObjectType);
39 OFString *_name, *_Nullable _namespace;
56@property OF_NULLABLE_PROPERTY (copy, nonatomic)
OFString *
namespace;
58@property OF_NULLABLE_PROPERTY (copy, nonatomic,
59 getter=
namespace, setter=setNamespace:)
OFString *nameSpace;
65@property OF_NULLABLE_PROPERTY (readonly, nonatomic)
71@property OF_NULLABLE_PROPERTY (nonatomic, copy)
85+ (instancetype)elementWithName: (
OFString *)name;
95+ (instancetype)elementWithName: (
OFString *)name
96 stringValue: (nullable
OFString *)stringValue;
106+ (instancetype)elementWithName: (
OFString *)name
107 namespace: (nullable
OFString *)nameSpace;
119+ (instancetype)elementWithName: (
OFString *)name
120 namespace: (nullable
OFString *)nameSpace
121 stringValue: (nullable
OFString *)stringValue;
129+ (instancetype)elementWithElement: (
OFXMLElement *)element;
141+ (instancetype)elementWithXMLString: (
OFString *)
string;
154+ (instancetype)elementWithStream: (
OFStream *)stream;
156- (instancetype)init OF_UNAVAILABLE;
164- (instancetype)initWithName: (
OFString *)name;
175- (instancetype)initWithName: (
OFString *)name
176 stringValue: (nullable
OFString *)stringValue;
187- (instancetype)initWithName: (
OFString *)name
188 namespace: (nullable
OFString *)nameSpace
189 OF_DESIGNATED_INITIALIZER;
201- (instancetype)initWithName: (
OFString *)name
202 namespace: (nullable
OFString *)nameSpace
203 stringValue: (nullable
OFString *)stringValue;
212- (instancetype)initWithElement: (
OFXMLElement *)element;
225- (instancetype)initWithXMLString: (
OFString *)
string;
238- (instancetype)initWithStream: (
OFStream *)stream;
275- (
void)addAttributeWithName: (
OFString *)name
276 stringValue: (
OFString *)stringValue;
289- (
void)addAttributeWithName: (
OFString *)name
290 namespace: (nullable
OFString *)nameSpace
291 stringValue: (
OFString *)stringValue;
309 namespace: (nullable
OFString *)attributeNS;
316- (
void)removeAttributeForName: (
OFString *)attributeName;
324- (
void)removeAttributeForName: (
OFString *)attributeName
325 namespace: (nullable
OFString *)attributeNS;
340- (
void)insertChild: (
OFXMLNode *)child atIndex: (
size_t)index;
349 atIndex: (
size_t)index;
363- (
void)removeChildAtIndex: (
size_t)index;
380- (
void)replaceChildAtIndex: (
size_t)index withNode: (
OFXMLNode *)node;
388 elementsForNamespace: (nullable
OFString *)elementNS;
405 elementsForName: (
OFString *)elementName;
415 namespace: (nullable
OFString *)elementNS;
425 elementsForName: (
OFString *)elementName
426 namespace: (nullable
OFString *)elementNS;
439- (
OFString *)XMLStringWithIndentation: (
unsigned int)indentation;
454 indentation: (
unsigned int)indentation;
An abstract class for storing objects in an array.
Definition OFArray.h:110
An abstract class for storing, adding and removing objects in an array.
Definition OFMutableArray.h:50
An abstract class for storing and changing objects in a dictionary.
Definition OFMutableDictionary.h:48
A class for storing and modifying strings.
Definition OFMutableString.h:30
A base class for different types of streams.
Definition OFStream.h:280
A class for handling strings.
Definition OFString.h:143
A representation of an attribute of an XML element as an object.
Definition OFXMLAttribute.h:33
A class which stores an XML element.
Definition OFXMLElement.h:38
A class which stores an XML element.
Definition OFXMLNode.h:31