21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
|
{
OFString *name;
OFString *namespace;
OFString *defaultNamespace;
OFMutableArray *attributes;
OFMutableDictionary *namespaces;
OFMutableArray *children;
OFString *text;
OFMutableString *comment;
}
/**
* \param name The name for the element
* \return A new autoreleased OFXMLElement with the specified element name
*/
|
|
|
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
|
{
OFString *name;
OFString *namespace;
OFString *defaultNamespace;
OFMutableArray *attributes;
OFMutableDictionary *namespaces;
OFMutableArray *children;
OFString *characters;
OFMutableString *comment;
}
/**
* \param name The name for the element
* \return A new autoreleased OFXMLElement with the specified element name
*/
|
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
|
* namespace and value
*/
+ elementWithName: (OFString*)name
namespace: (OFString*)ns
stringValue: (OFString*)stringval;
/**
* Creates a new element, only consisting of the specified text.
*
* \param text The text the element represents
* \return A new autoreleased OFXMLElement consisting of the specified text
*/
+ elementWithText: (OFString*)text;
/**
* Creates a new element, only consisting of the specified comment.
*
* \param comment The comment the element represents
* \return A new autoreleased OFXMLElement consisting of the specified comment
*/
+ elementWithComment: (OFString*)text;
/**
* Initializes an already allocated OFXMLElement with the specified element
* name.
*
* \param name The name for the element
* \return An initialized OFXMLElement with the specified element name
|
|
|
|
>
|
|
|
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
|
* namespace and value
*/
+ elementWithName: (OFString*)name
namespace: (OFString*)ns
stringValue: (OFString*)stringval;
/**
* Creates a new element, only consisting of the specified characters.
*
* \param chars The characters the element represents
* \return A new autoreleased OFXMLElement consisting of the specified
* characters
*/
+ elementWithCharacters: (OFString*)chars;
/**
* Creates a new element, only consisting of the specified comment.
*
* \param comment The comment the element represents
* \return A new autoreleased OFXMLElement consisting of the specified comment
*/
+ elementWithComment: (OFString*)comment;
/**
* Initializes an already allocated OFXMLElement with the specified element
* name.
*
* \param name The name for the element
* \return An initialized OFXMLElement with the specified element name
|
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
|
*/
- initWithName: (OFString*)name
namespace: (OFString*)ns
stringValue: (OFString*)stringval;
/**
* Initializes an already allocated OFXMLElement so that it only consists of the
* specified text.
*
* \param text The text the element represents
* \return An initialized OFXMLElement consisting of the specified text
*/
- initWithText: (OFString*)text;
/**
* Initializes an already allocated OFXMLElement so that it only consists of the
* specified comment.
*
* \param comment The comment the element represents
* \return An initialized OFXMLElement consisting of the specified comment
*/
- initWithComment: (OFString*)text;
/**
* \return A new autoreleased OFString representing the OFXMLElement as an
* XML string
*/
- (OFString*)string;
|
|
|
|
|
|
|
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
|
*/
- initWithName: (OFString*)name
namespace: (OFString*)ns
stringValue: (OFString*)stringval;
/**
* Initializes an already allocated OFXMLElement so that it only consists of the
* specified characters.
*
* \param chars The characters the element represents
* \return An initialized OFXMLElement consisting of the specified characters
*/
- initWithCharacters: (OFString*)chars;
/**
* Initializes an already allocated OFXMLElement so that it only consists of the
* specified comment.
*
* \param comment The comment the element represents
* \return An initialized OFXMLElement consisting of the specified comment
*/
- initWithComment: (OFString*)comment;
/**
* \return A new autoreleased OFString representing the OFXMLElement as an
* XML string
*/
- (OFString*)string;
|