14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
|
@class OFDictionary;
@class OFMutableArray;
extern int _OFXMLElement_reference;
/**
* The OFXMLAttribute represents an attribute of an XML element as an object.
*/
@interface OFXMLAttribute: OFObject
{
OFString *prefix;
OFString *name;
OFString *ns;
OFString *value;
|
|
|
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
|
@class OFDictionary;
@class OFMutableArray;
extern int _OFXMLElement_reference;
/**
* \brief A representation of an attribute of an XML element as an object.
*/
@interface OFXMLAttribute: OFObject
{
OFString *prefix;
OFString *name;
OFString *ns;
OFString *value;
|
72
73
74
75
76
77
78
79
80
81
82
83
84
85
|
/**
* \return The string value of the attribute as an autoreleased OFString
*/
- (OFString*)stringValue;
@end
/**
* The OFXMLElement represents an XML element as an object which can be
* modified and converted back to XML again.
*/
@interface OFXMLElement: OFObject
{
OFString *name;
OFMutableArray *attrs;
|
>
>
|
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
|
/**
* \return The string value of the attribute as an autoreleased OFString
*/
- (OFString*)stringValue;
@end
/**
* \brief 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.
*/
@interface OFXMLElement: OFObject
{
OFString *name;
OFMutableArray *attrs;
|
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
|
*
* \param child Another OFXMLElement which is added as a child
*/
- addChild: (OFXMLElement*)child;
@end
/**
* The OFString (OFXMLEscaping) category provides an easy way to escape strings
* for use in an XML document.
*/
@interface OFString (OFXMLEscaping)
/**
* Escapes a string for use in an XML document.
*
* \return A new autoreleased string
*/
- stringByXMLEscaping;
@end
|
<
|
|
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
|
*
* \param child Another OFXMLElement which is added as a child
*/
- addChild: (OFXMLElement*)child;
@end
/**
* \brief A category to escape strings for use in an XML document.
*/
@interface OFString (OFXMLEscaping)
/**
* Escapes a string for use in an XML document.
*
* \return A new autoreleased string
*/
- stringByXMLEscaping;
@end
|