OFXMLElement Class Reference
A representation of an XML element as an object.
More...
#import <OFXMLElement.h>
List of all members.
Detailed Description
A representation of an XML element as an object.
The OFXMLElement represents an XML element as an object which can be modified and converted back to XML again.
Member Function Documentation
Adds the specified attribute.
- Parameters:
-
| attr | The attribute to add |
- (void) addAttributeWithName: |
|
(OFString *) |
name |
stringValue: |
|
(OFString *) |
value | |
|
|
| | |
Adds the specified attribute with the specified value.
- Parameters:
-
| name | The name of the attribute |
| value | The value of the attribute |
+ (id) elementWithName: |
|
(OFString *) |
name |
|
|
- Parameters:
-
| name | The name for the element |
- Returns:
- A new autorelease OFXMLElement with the specified element name
- Parameters:
-
| name | The name for the element |
| stringval | The value for the element |
- Returns:
- A new autorelease OFXMLElement with the specified element name and value
Initializes an already allocated OFXMLElement with the specified name.
- Parameters:
-
| name | The name for the element |
- Returns:
- An initialized OFXMLElement with the specified element name
Initializes an already allocated OFXMLElement with the specified name and value.
- Parameters:
-
| name | The name for the element |
| stringval | The value for the element |
- Returns:
- An initialized OFXMLElement with the specified element name and value
The documentation for this class was generated from the following file: