@@ -12,19 +12,18 @@ * Public License, either version 2 or 3, which can be found in the file * LICENSE.GPLv2 or LICENSE.GPLv3 respectively included in the packaging of this * file. */ -#import "OFObject.h" -#import "OFSerialization.h" +#import "OFXMLNode.h" @class OFString; /** * \brief A representation of an attribute of an XML element as an object. */ -@interface OFXMLAttribute: OFObject +@interface OFXMLAttribute: OFXMLNode { @public OFString *name; OFString *ns; OFString *stringValue; @@ -71,41 +70,6 @@ * \brief Returns the namespace of the attribute as an autoreleased OFString. * * \return The namespace of the attribute as an autoreleased OFString */ - (OFString*)namespace; - -/** - * \brief Returns the string value of the attribute as an autoreleased OFString. - * - * \return The string value of the attribute as an autoreleased OFString - */ -- (OFString*)stringValue; - -/** - * \brief Returns an integer with the decimal value of the attribute. - * - * \return An integer with the decimal value of the attribute - */ -- (intmax_t)decimalValue; - -/** - * \brief Returns an integer with the hexadecimal value of the attribute. - * - * \return An integer with the hexadecimal value of the attribute - */ -- (uintmax_t)hexadecimalValue; - -/** - * \brief Returns a float with the float value of the attribute. - * - * \return A float with the float value of the attribute - */ -- (float)floatValue; - -/** - * \brief Returns a double with the double value of the attribute. - * - * \return A double with the double value of the attribute - */ -- (double)doubleValue; @end