39 #ifdef OF_HAVE_PROPERTIES
41 @property (copy, getter=
namespace, setter=setNamespace:)
OFString *ns;
42 @property (copy)
OFString *defaultNamespace;
43 @property (readonly, copy)
OFArray *attributes;
44 @property (readonly, copy)
OFArray *children;
53 + (instancetype)elementWithName: (
OFString*)name;
63 + (instancetype)elementWithName: (
OFString*)name
74 + (instancetype)elementWithName: (
OFString*)name
87 + (instancetype)elementWithName: (
OFString*)name
98 + (instancetype)elementWithElement: (
OFXMLElement*)element;
106 + (instancetype)elementWithXMLString: (
OFString*)string;
115 + (instancetype)elementWithFile: (
OFString*)path;
135 stringValue: (
OFString*)stringValue;
161 stringValue: (
OFString*)stringValue;
180 - initWithXMLString: (
OFString*)string;
210 - (void)setNamespace: (
OFString*)ns;
231 - (void)setChildren: (
OFArray*)children;
246 - (void)setStringValue: (
OFString*)stringValue;
267 - (void)addAttributeWithName: (
OFString*)name
268 stringValue: (
OFString*)stringValue;
281 - (void)addAttributeWithName: (
OFString*)name
283 stringValue: (
OFString*)stringValue;
308 - (void)removeAttributeForName: (
OFString*)attributeName;
316 - (void)removeAttributeForName: (
OFString*)attributeName
325 - (void)setPrefix: (
OFString*)prefix
334 - (void)bindPrefix: (
OFString*)prefix
343 - (void)setDefaultNamespace: (
OFString*)ns;
410 #import "OFXMLElement+Serialization.h"