public interface NSXMLParserDelegate
| Modifier and Type | Method and Description |
|---|---|
default void |
didEndElement(NSXMLParser parser,
String elementName,
String namespaceURI,
String qualifiedName)
It is used by the parser when it finds an end tag of an element.
|
default void |
didEndMappingPrefix(NSXMLParser parser,
String prefix)
It is used by the parser when the namespace of the specified prefix goes
out of scope.
|
default void |
didStartElement(NSXMLParser parser,
String elementName,
String namespaceURI,
String qualifiedName,
Map<String,String> attributes)
It is used by the parser when it finds a start tag of an element.
|
default void |
didStartMappingPrefix(NSXMLParser parser,
String prefix,
String namespaceURI)
It is used by the parser when it first meets the specified prefix.
|
default void |
foundCDATA(NSXMLParser parser,
NSData CDATABlock)
It is used when the parser comes across CDATA block.
|
default void |
foundCharacters(NSXMLParser parser,
String characters)
It is used in order to provide a String with all the characters of the
current element.
|
default void didStartMappingPrefix(NSXMLParser parser, String prefix, String namespaceURI)
parser - The parser that corresponds to this delegate.prefix - The namespace of the prefix.namespaceURI - A string that specifies a namespace URI.default void didEndMappingPrefix(NSXMLParser parser, String prefix)
Sent by a parser object to its delegate when a given namespace prefix goes out of scope.
parser - The parser that corresponds to this delegate.prefix - The namespace of the prefix.default void didStartElement(NSXMLParser parser, String elementName, String namespaceURI, String qualifiedName, Map<String,String> attributes)
parser - The parser that corresponds to this delegate.elementName - The name of the element.namespaceURI - The URI of the current namespace.qualifiedName - The qualified name of the current namespace.attributes - Attributes of the element.default void didEndElement(NSXMLParser parser, String elementName, String namespaceURI, String qualifiedName)
parser - The parser that corresponds to this delegate.elementName - The name of the element.namespaceURI - The URI of the current namespace.qualifiedName - The qualified name of the current namespace.default void foundCharacters(NSXMLParser parser, String characters)
parser - The parser that corresponds to this delegate.characters - The String that contains all the element's characters.default void foundCDATA(NSXMLParser parser, NSData CDATABlock)
parser - The parser that corresponds to this delegate.CDATABlock - The data that contains the CDATA block.Copyright © 2020. All rights reserved.