@@ -19,11 +19,11 @@ OF_ASSUME_NONNULL_BEGIN @class OFString; -/*! +/** * @class OFXMLAttribute OFXMLAttribute.h ObjFW/OFXMLAttribute.h * * @brief A representation of an attribute of an XML element as an object. */ @interface OFXMLAttribute: OFXMLNode @@ -34,36 +34,36 @@ OFString *_name, *_Nullable _namespace, *_stringValue; bool _useDoubleQuotes; OF_RESERVE_IVARS(OFXMLAttribute, 4) } -/*! +/** * @brief The name of the attribute. */ @property (readonly, nonatomic) OFString *name; -/*! +/** * @brief The namespace of the attribute. */ #ifndef __cplusplus @property OF_NULLABLE_PROPERTY (readonly, nonatomic) OFString *namespace; #else @property OF_NULLABLE_PROPERTY (readonly, nonatomic, getter=namespace) OFString *namespace_; #endif -/*! +/** * @brief Creates a new XML attribute. * * @param name The name of the attribute * @param stringValue The string value of the attribute * @return A new autoreleased OFXMLAttribute with the specified parameters */ + (instancetype)attributeWithName: (OFString *)name stringValue: (OFString *)stringValue; -/*! +/** * @brief Creates a new XML attribute. * * @param name The name of the attribute * @param namespace_ The namespace of the attribute * @param stringValue The string value of the attribute @@ -71,21 +71,21 @@ */ + (instancetype)attributeWithName: (OFString *)name namespace: (nullable OFString *)namespace_ stringValue: (OFString *)stringValue; -/*! +/** * @brief Initializes an already allocated OFXMLAttribute. * * @param name The name of the attribute * @param stringValue The string value of the attribute * @return An initialized OFXMLAttribute with the specified parameters */ - (instancetype)initWithName: (OFString *)name stringValue: (OFString *)stringValue; -/*! +/** * @brief Initializes an already allocated OFXMLAttribute. * * @param name The name of the attribute * @param namespace_ The namespace of the attribute * @param stringValue The string value of the attribute