22 OF_ASSUME_NONNULL_BEGIN
31 OF_SUBCLASSING_RESTRICTED
34 #if defined(OF_XML_ELEMENT_M) || defined(OF_XML_PARSER_M) 37 OFString *_name, *_Nullable _namespace, *_stringValue;
38 bool _useDoubleQuotes;
44 @property (readonly, nonatomic)
OFString *name;
50 @property OF_NULLABLE_PROPERTY (readonly, nonatomic)
OFString *
namespace;
52 @property OF_NULLABLE_PROPERTY (readonly, nonatomic, getter=
namespace)
63 + (instancetype)attributeWithName: (
OFString *)name
64 stringValue: (
OFString *)stringValue;
74 + (instancetype)attributeWithName: (
OFString *)name
75 namespace: (nullable
OFString *)nameSpace
76 stringValue: (
OFString *)stringValue;
85 - (instancetype)initWithName: (
OFString *)name
86 stringValue: (
OFString *)stringValue;
96 - (instancetype)initWithName: (
OFString *)name
97 namespace: (nullable
OFString *)nameSpace
98 stringValue: (
OFString *)stringValue OF_DESIGNATED_INITIALIZER;
101 OF_ASSUME_NONNULL_END
A representation of an attribute of an XML element as an object.
Definition: OFXMLAttribute.h:32
A class for handling strings.
Definition: OFString.h:142
A class which stores an XML element.
Definition: OFXMLNode.h:29