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;
133+ (instancetype)elementWithXMLString: (
OFString *)
string;
146+ (instancetype)elementWithStream: (
OFStream *)stream;
148- (instancetype)init OF_UNAVAILABLE;
156- (instancetype)initWithName: (
OFString *)name;
167- (instancetype)initWithName: (
OFString *)name
168 stringValue: (nullable
OFString *)stringValue;
179- (instancetype)initWithName: (
OFString *)name
180 namespace: (nullable
OFString *)nameSpace
181 OF_DESIGNATED_INITIALIZER;
193- (instancetype)initWithName: (
OFString *)name
194 namespace: (nullable
OFString *)nameSpace
195 stringValue: (nullable
OFString *)stringValue;
208- (instancetype)initWithXMLString: (
OFString *)
string;
221- (instancetype)initWithStream: (
OFStream *)stream;
258- (
void)addAttributeWithName: (
OFString *)name
259 stringValue: (
OFString *)stringValue;
272- (
void)addAttributeWithName: (
OFString *)name
273 namespace: (nullable
OFString *)nameSpace
274 stringValue: (
OFString *)stringValue;
292 namespace: (nullable
OFString *)attributeNS;
299- (
void)removeAttributeForName: (
OFString *)attributeName;
307- (
void)removeAttributeForName: (
OFString *)attributeName
308 namespace: (nullable
OFString *)attributeNS;
323- (
void)insertChild: (
OFXMLNode *)child atIndex: (
size_t)index;
332 atIndex: (
size_t)index;
346- (
void)removeChildAtIndex: (
size_t)index;
363- (
void)replaceChildAtIndex: (
size_t)index withNode: (
OFXMLNode *)node;
371 elementsForNamespace: (nullable
OFString *)elementNS;
388 elementsForName: (
OFString *)elementName;
398 namespace: (nullable
OFString *)elementNS;
408 elementsForName: (
OFString *)elementName
409 namespace: (nullable
OFString *)elementNS;
422- (
OFString *)XMLStringWithIndentation: (
unsigned int)indentation;
437 indentation: (
unsigned int)indentation;
An abstract class for storing objects in an array.
Definition OFArray.h:109
An abstract class for storing, adding and removing objects in an array.
Definition OFMutableArray.h:48
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