ObjFW
Public Member Functions | Static Public Member Functions | Properties
OFXMLAttribute Class Reference

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

#include <OFXMLAttribute.h>

Inheritance diagram for OFXMLAttribute:
OFObject <OFObject>

List of all members.

Public Member Functions

id initWithName:namespace:stringValue: (OFString *name,[namespace] OFString *ns,[stringValue] OFString *value)
OFStringname ()
OFStringnamespace ()
OFStringstringValue ()

Static Public Member Functions

id attributeWithName:namespace:stringValue: (OFString *name,[namespace] OFString *ns,[stringValue] OFString *value)

Properties

OFStringname
OFStringns
OFStringstringValue

Detailed Description

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


Member Function Documentation

id OFXMLAttribute::attributeWithName:namespace:stringValue: ( OFString name,
[namespace] OFString ns,
[stringValue] OFString value 
) [static, virtual]
Parameters:
nameThe name of the attribute
nsThe namespace of the attribute
valueThe string value of the attribute
Returns:
A new autoreleased OFXMLAttribute with the specified parameters
id OFXMLAttribute::initWithName:namespace:stringValue: ( OFString name,
[namespace] OFString ns,
[stringValue] OFString value 
) [virtual]

Initializes an already allocated OFXMLAttribute.

Parameters:
nameThe name of the attribute
nsThe namespace of the attribute
valueThe string value of the attribute
Returns:
An initialized OFXMLAttribute with the specified parameters
OFString* OFXMLAttribute::name ( ) [virtual]
Returns:
The name of the attribute as an autoreleased OFString
OFString * OFXMLAttribute::namespace ( ) [virtual]
Returns:
The namespace of the attribute as an autoreleased OFString
OFString* OFXMLAttribute::stringValue ( ) [virtual]
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