18 OF_ASSUME_NONNULL_BEGIN
27 OF_SUBCLASSING_RESTRICTED
30 #if defined(OF_XML_ELEMENT_M) || defined(OF_XML_PARSER_M)
33 OFString *_name, *_Nullable _namespace, *_stringValue;
34 bool _useDoubleQuotes;
40 @property (readonly, nonatomic)
OFString *name;
46 @property OF_NULLABLE_PROPERTY (readonly, nonatomic)
OFString *
namespace;
48 @property OF_NULLABLE_PROPERTY (readonly, nonatomic, getter=
namespace)
59 + (instancetype)attributeWithName: (
OFString *)name
60 stringValue: (
OFString *)stringValue;
70 + (instancetype)attributeWithName: (
OFString *)name
71 namespace: (nullable
OFString *)nameSpace
72 stringValue: (
OFString *)stringValue;
81 - (instancetype)initWithName: (
OFString *)name
82 stringValue: (
OFString *)stringValue;
92 - (instancetype)initWithName: (
OFString *)name
93 namespace: (nullable
OFString *)nameSpace
94 stringValue: (
OFString *)stringValue OF_DESIGNATED_INITIALIZER;
A class for handling strings.
Definition: OFString.h:135
A representation of an attribute of an XML element as an object.
Definition: OFXMLAttribute.h:29
A class which stores an XML element.
Definition: OFXMLNode.h:27