List of all members.
Detailed Description
A class which stores an XML element.
Member Function Documentation
Adds the specified attribute.
- Parameters:
-
| attr | The attribute to add |
Adds the specified attribute with the specified namespace and value.
- Parameters:
-
| name | The name of the attribute |
| ns | The namespace of the attribute |
| value | The value of the attribute |
Adds the specified attribute with the specified value.
- Parameters:
-
| name | The name of the attribute |
| value | The value of the attribute |
- Returns:
- An OFArray with the attributes of the element
- (void) bindDefaultNamespace: |
|
(OFString*) |
ns |
|
|
Binds the default namespace for the element.
- Parameters:
-
| ns | The default namespace for the element |
Binds a prefix for a namespace.
- Parameters:
-
| prefix | The prefix for the namespace |
| ns | The namespace for which the prefix is bound |
- Returns:
- An array with all children of the element
+ (id) elementWithCDATA: |
|
(OFString*) |
cdata |
|
|
Creates a new element, only consisting of the specified CDATA.
- Parameters:
-
| cdata | The CDATA the element represents |
- Returns:
- A new autoreleased OFXMLElement consisting of the specified CDATA
+ (id) elementWithCharacters: |
|
(OFString*) |
chars |
|
|
Creates a new element, only consisting of the specified characters.
- Parameters:
-
| chars | The characters the element represents |
- Returns:
- A new autoreleased OFXMLElement consisting of the specified characters
+ (id) elementWithComment: |
|
(OFString*) |
comment |
|
|
Creates a new element, only consisting of the specified comment.
- Parameters:
-
| comment | The comment the element represents |
- Returns:
- A new autoreleased OFXMLElement consisting of the specified comment
+ (id) elementWithName: |
|
(OFString*) |
name |
|
|
- Parameters:
-
| name | The name for the element |
- Returns:
- A new autoreleased OFXMLElement with the specified element name
- Parameters:
-
| name | The name for the element |
| ns | The namespace for the element |
- Returns:
- A new autoreleased OFXMLElement with the specified element name and namespace
- Parameters:
-
| name | The name for the element |
| ns | The namespace for the element |
| stringval | The value for the element |
- Returns:
- A new autoreleased OFXMLElement with the specified element name, namespace and value
- Parameters:
-
| name | The name for the element |
| stringval | The value for the element |
- Returns:
- A new autoreleased OFXMLElement with the specified element name and value
Initializes an already allocated OFXMLElement so that it only consists of the specified CDATA.
- Parameters:
-
| cdata | The CDATA the element represents |
- Returns:
- An initialized OFXMLElement consisting of the specified CDATA
- (id) initWithCharacters: |
|
(OFString*) |
chars |
|
|
Initializes an already allocated OFXMLElement so that it only consists of the specified characters.
- Parameters:
-
| chars | The characters the element represents |
- Returns:
- An initialized OFXMLElement consisting of the specified characters
- (id) initWithComment: |
|
(OFString*) |
comment |
|
|
Initializes an already allocated OFXMLElement so that it only consists of the specified comment.
- Parameters:
-
| comment | The comment the element represents |
- Returns:
- An initialized OFXMLElement consisting of the specified comment
Initializes an already allocated OFXMLElement with the specified element 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 element name and namespace.
- Parameters:
-
| name | The name for the element |
| ns | The namespace for the element |
- Returns:
- An initialized OFXMLElement with the specified element name and namespace
Initializes an already allocated OFXMLElement with the specified element name, namespace and value.
- Parameters:
-
| name | The name for the element |
| ns | The namespace for the element |
| stringval | The value for the element |
- Returns:
- An initialized OFXMLElement with the specified element name, namespace and value
Initializes an already allocated OFXMLElement with the specified element 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
- Returns:
- The name of the element
- Returns:
- The namespace of the element
- (void) setDefaultNamespace: |
|
(OFString*) |
ns |
|
|
Sets the default namespace for the element.
- Parameters:
-
| ns | The default namespace for the element |
Sets a prefix for a namespace.
- Parameters:
-
| prefix | The prefix for the namespace |
| ns | The namespace for which the prefix is set |
The documentation for this class was generated from the following files: