Public Member Functions | Static Public Member Functions | Properties

OFXMLAttribute Class Reference

A representation of an attribute of an XML element as an object. More...

#import <OFXMLAttribute.h>

Inheritance diagram for OFXMLAttribute:
OFObject <OFObject>

List of all members.

Public Member Functions

(id) - initWithName:namespace:stringValue:
(OFString *) - name
(OFString *) - namespace
(OFString *) - stringValue

Static Public Member Functions

(id) + attributeWithName:namespace:stringValue:

Properties

OFStringname
OFStringns
OFStringstringValue

Detailed Description

A representation of an attribute of an XML element as an object.


Member Function Documentation

+ (id) attributeWithName: (OFString*)  name
namespace: (OFString*)  ns
stringValue: (OFString*)  value 
Parameters:
name The name of the attribute
ns The namespace of the attribute
value The string value of the attribute
Returns:
A new autoreleased OFXMLAttribute with the specified parameters
- (id) initWithName: (OFString*)  name
namespace: (OFString*)  ns
stringValue: (OFString*)  value 

Initializes an already allocated OFXMLAttribute.

Parameters:
name The name of the attribute
ns The namespace of the attribute
value The string value of the attribute
Returns:
An initialized OFXMLAttribute with the specified parameters
- (OFString*) name  
Returns:
The name of the attribute as an autoreleased OFString
- (OFString *) namespace  
Returns:
The namespace of the attribute as an autoreleased OFString
- (OFString*) stringValue  
Returns:
The string value of the attribute as an autoreleased OFString

The documentation for this class was generated from the following files:
 All Classes Functions Variables