|
ObjFW
|
A protocol that needs to be implemented by delegates for OFXMLParser. More...
#import <ObjFW/OFXMLParser.h>
Instance Methods | |
| (void) | - parser:foundProcessingInstructionWithTarget:text: |
| This callback is called when the XML parser found a processing instruction. | |
| (void) | - parser:didStartElement:prefix:namespace:attributes: |
| This callback is called when the XML parser found the start of a new tag. | |
| (void) | - parser:didEndElement:prefix:namespace: |
| This callback is called when the XML parser found the end of a tag. | |
| (void) | - parser:foundCharacters: |
| This callback is called when the XML parser found characters. | |
| (void) | - parser:foundCDATA: |
| This callback is called when the XML parser found CDATA. | |
| (void) | - parser:foundComment: |
| This callback is called when the XML parser found a comment. | |
| (nullable OFString *) | - parser:foundUnknownEntityNamed: |
| This callback is called when the XML parser found an entity it doesn't know. | |
Instance Methods inherited from <OFObject> | |
| (Class) | - class |
| Returns the class of the object. | |
| (nullable Class) | - superclass |
| Returns the superclass of the object. | |
| (unsigned long) | - hash |
| Returns a hash for the object. | |
| (unsigned int) | - retainCount |
| Returns the retain count. | |
| (bool) | - isProxy |
| Returns whether the object is a proxy object. | |
| (bool) | - isKindOfClass: |
| Returns a boolean whether the object is of the specified kind. | |
| (bool) | - isMemberOfClass: |
| Returns a boolean whether the object is a member of the specified class. | |
| (bool) | - respondsToSelector: |
| Returns a boolean whether the object responds to the specified selector. | |
| (bool) | - conformsToProtocol: |
| Checks whether the object conforms to the specified protocol. | |
| (nullable IMP) | - methodForSelector: |
| Returns the implementation for the specified selector. | |
| (nullable id) | - performSelector: |
| Performs the specified selector. | |
| (nullable id) | - performSelector:withObject: |
| Performs the specified selector with the specified object. | |
| (nullable id) | - performSelector:withObject:withObject: |
| Performs the specified selector with the specified objects. | |
| (nullable id) | - performSelector:withObject:withObject:withObject: |
| Performs the specified selector with the specified objects. | |
| (nullable id) | - performSelector:withObject:withObject:withObject:withObject: |
| Performs the specified selector with the specified objects. | |
| (bool) | - isEqual: |
| Checks two objects for equality. | |
| (instancetype) | - retain |
| Increases the retain count. | |
| (void) | - release |
| Decreases the retain count. | |
| (instancetype) | - autorelease |
| Adds the object to the topmost autorelease pool of the thread's autorelease pool stack. | |
| (instancetype) | - self |
| Returns the receiver. | |
| (bool) | - allowsWeakReference |
| Returns whether the object allows a weak reference. | |
| (bool) | - retainWeakReference |
| Retain a weak reference to this object. | |
A protocol that needs to be implemented by delegates for OFXMLParser.
|
optional |
This callback is called when the XML parser found the end of a tag.
| parser | The parser which found the end of a tag |
| name | The name of the tag which just ended |
| prefix | The prefix of the tag which just ended or nil |
| nameSpace | The namespace of the tag which just ended or nil |
|
optional |
This callback is called when the XML parser found the start of a new tag.
| parser | The parser which found a new tag |
| name | The name of the tag which just started |
| prefix | The prefix of the tag which just started or nil |
| nameSpace | The namespace of the tag which just started or nil |
| attributes | The attributes included in the tag which just started or nil |
|
optional |
This callback is called when the XML parser found CDATA.
| parser | The parser which found a string |
| CDATA | The CDATA the XML parser found |
|
optional |
This callback is called when the XML parser found characters.
In case there are comments or CDATA, it is possible that this callback is called multiple times in a row.
| parser | The parser which found a string |
| characters | The characters the XML parser found |
|
optional |
This callback is called when the XML parser found a comment.
| parser | The parser which found a comment |
| comment | The comment the XML parser found |
|
optional |
This callback is called when the XML parser found a processing instruction.
| parser | The parser which found a processing instruction |
| target | The target of the processing instruction |
| text | The text of the processing instruction |
|
optional |
This callback is called when the XML parser found an entity it doesn't know.
The callback is supposed to return a substitution for the entity or nil if it is not known to the callback as well, in which case an exception will be risen.
| parser | The parser which found an unknown entity |
| entity | The name of the entity the XML parser didn't know |
nil