ObjFW
|
A representation of an attribute of an XML element as an object. More...
#import <OFXMLAttribute.h>
Public Member Functions | |
(id) | - initWithName:namespace:stringValue: |
Initializes an already allocated OFXMLAttribute. | |
(OFString *) | - name |
Returns the name of the attribute as an autoreleased OFString. | |
(OFString *) | - namespace |
Returns the namespace of the attribute as an autoreleased OFString. | |
Static Public Member Functions | |
(id) | + attributeWithName:namespace:stringValue: |
Creates a new XML attribute. |
A representation of an attribute of an XML element as an object.
Creates a new XML attribute.
name | The name of the attribute |
ns | The namespace of the attribute |
value | The string value of the attribute |
Initializes an already allocated OFXMLAttribute.
name | The name of the attribute |
ns | The namespace of the attribute |
value | The string value of the attribute |
- (OFString*) name |
- (OFString *) namespace |