pub unsafe trait NSXMLParserDelegate: NSObjectProtocol {
Show 20 methods
// Provided methods
unsafe fn parserDidStartDocument(&self, parser: &NSXMLParser)
where Self: Sized + Message { ... }
unsafe fn parserDidEndDocument(&self, parser: &NSXMLParser)
where Self: Sized + Message { ... }
unsafe fn parser_foundNotationDeclarationWithName_publicID_systemID(
&self,
parser: &NSXMLParser,
name: &NSString,
public_id: Option<&NSString>,
system_id: Option<&NSString>
)
where Self: Sized + Message { ... }
unsafe fn parser_foundUnparsedEntityDeclarationWithName_publicID_systemID_notationName(
&self,
parser: &NSXMLParser,
name: &NSString,
public_id: Option<&NSString>,
system_id: Option<&NSString>,
notation_name: Option<&NSString>
)
where Self: Sized + Message { ... }
unsafe fn parser_foundAttributeDeclarationWithName_forElement_type_defaultValue(
&self,
parser: &NSXMLParser,
attribute_name: &NSString,
element_name: &NSString,
type: Option<&NSString>,
default_value: Option<&NSString>
)
where Self: Sized + Message { ... }
unsafe fn parser_foundElementDeclarationWithName_model(
&self,
parser: &NSXMLParser,
element_name: &NSString,
model: &NSString
)
where Self: Sized + Message { ... }
unsafe fn parser_foundInternalEntityDeclarationWithName_value(
&self,
parser: &NSXMLParser,
name: &NSString,
value: Option<&NSString>
)
where Self: Sized + Message { ... }
unsafe fn parser_foundExternalEntityDeclarationWithName_publicID_systemID(
&self,
parser: &NSXMLParser,
name: &NSString,
public_id: Option<&NSString>,
system_id: Option<&NSString>
)
where Self: Sized + Message { ... }
unsafe fn parser_didStartElement_namespaceURI_qualifiedName_attributes(
&self,
parser: &NSXMLParser,
element_name: &NSString,
namespace_uri: Option<&NSString>,
q_name: Option<&NSString>,
attribute_dict: &NSDictionary<NSString, NSString>
)
where Self: Sized + Message { ... }
unsafe fn parser_didEndElement_namespaceURI_qualifiedName(
&self,
parser: &NSXMLParser,
element_name: &NSString,
namespace_uri: Option<&NSString>,
q_name: Option<&NSString>
)
where Self: Sized + Message { ... }
unsafe fn parser_didStartMappingPrefix_toURI(
&self,
parser: &NSXMLParser,
prefix: &NSString,
namespace_uri: &NSString
)
where Self: Sized + Message { ... }
unsafe fn parser_didEndMappingPrefix(
&self,
parser: &NSXMLParser,
prefix: &NSString
)
where Self: Sized + Message { ... }
unsafe fn parser_foundCharacters(
&self,
parser: &NSXMLParser,
string: &NSString
)
where Self: Sized + Message { ... }
unsafe fn parser_foundIgnorableWhitespace(
&self,
parser: &NSXMLParser,
whitespace_string: &NSString
)
where Self: Sized + Message { ... }
unsafe fn parser_foundProcessingInstructionWithTarget_data(
&self,
parser: &NSXMLParser,
target: &NSString,
data: Option<&NSString>
)
where Self: Sized + Message { ... }
unsafe fn parser_foundComment(
&self,
parser: &NSXMLParser,
comment: &NSString
)
where Self: Sized + Message { ... }
unsafe fn parser_foundCDATA(
&self,
parser: &NSXMLParser,
cdata_block: &NSData
)
where Self: Sized + Message { ... }
unsafe fn parser_resolveExternalEntityName_systemID(
&self,
parser: &NSXMLParser,
name: &NSString,
system_id: Option<&NSString>
) -> Option<Retained<NSData>>
where Self: Sized + Message { ... }
unsafe fn parser_parseErrorOccurred(
&self,
parser: &NSXMLParser,
parse_error: &NSError
)
where Self: Sized + Message { ... }
unsafe fn parser_validationErrorOccurred(
&self,
parser: &NSXMLParser,
validation_error: &NSError
)
where Self: Sized + Message { ... }
}
Available on crate feature
NSXMLParser
only.Provided Methods§
unsafe fn parserDidStartDocument(&self, parser: &NSXMLParser)
unsafe fn parserDidEndDocument(&self, parser: &NSXMLParser)
unsafe fn parser_foundNotationDeclarationWithName_publicID_systemID( &self, parser: &NSXMLParser, name: &NSString, public_id: Option<&NSString>, system_id: Option<&NSString> )
Available on crate feature
NSString
only.unsafe fn parser_foundUnparsedEntityDeclarationWithName_publicID_systemID_notationName( &self, parser: &NSXMLParser, name: &NSString, public_id: Option<&NSString>, system_id: Option<&NSString>, notation_name: Option<&NSString> )
Available on crate feature
NSString
only.unsafe fn parser_foundAttributeDeclarationWithName_forElement_type_defaultValue( &self, parser: &NSXMLParser, attribute_name: &NSString, element_name: &NSString, type: Option<&NSString>, default_value: Option<&NSString> )
Available on crate feature
NSString
only.unsafe fn parser_foundElementDeclarationWithName_model( &self, parser: &NSXMLParser, element_name: &NSString, model: &NSString )
Available on crate feature
NSString
only.unsafe fn parser_foundInternalEntityDeclarationWithName_value( &self, parser: &NSXMLParser, name: &NSString, value: Option<&NSString> )
Available on crate feature
NSString
only.unsafe fn parser_foundExternalEntityDeclarationWithName_publicID_systemID( &self, parser: &NSXMLParser, name: &NSString, public_id: Option<&NSString>, system_id: Option<&NSString> )
Available on crate feature
NSString
only.unsafe fn parser_didStartElement_namespaceURI_qualifiedName_attributes( &self, parser: &NSXMLParser, element_name: &NSString, namespace_uri: Option<&NSString>, q_name: Option<&NSString>, attribute_dict: &NSDictionary<NSString, NSString> )
Available on crate features
NSDictionary
and NSString
only.unsafe fn parser_didEndElement_namespaceURI_qualifiedName( &self, parser: &NSXMLParser, element_name: &NSString, namespace_uri: Option<&NSString>, q_name: Option<&NSString> )
Available on crate feature
NSString
only.unsafe fn parser_didStartMappingPrefix_toURI( &self, parser: &NSXMLParser, prefix: &NSString, namespace_uri: &NSString )
Available on crate feature
NSString
only.unsafe fn parser_didEndMappingPrefix( &self, parser: &NSXMLParser, prefix: &NSString )
Available on crate feature
NSString
only.unsafe fn parser_foundCharacters(&self, parser: &NSXMLParser, string: &NSString)
Available on crate feature
NSString
only.unsafe fn parser_foundIgnorableWhitespace( &self, parser: &NSXMLParser, whitespace_string: &NSString )
Available on crate feature
NSString
only.unsafe fn parser_foundProcessingInstructionWithTarget_data( &self, parser: &NSXMLParser, target: &NSString, data: Option<&NSString> )
Available on crate feature
NSString
only.unsafe fn parser_foundComment(&self, parser: &NSXMLParser, comment: &NSString)
Available on crate feature
NSString
only.unsafe fn parser_foundCDATA(&self, parser: &NSXMLParser, cdata_block: &NSData)
Available on crate feature
NSData
only.unsafe fn parser_resolveExternalEntityName_systemID( &self, parser: &NSXMLParser, name: &NSString, system_id: Option<&NSString> ) -> Option<Retained<NSData>>
Available on crate features
NSData
and NSString
only.unsafe fn parser_parseErrorOccurred( &self, parser: &NSXMLParser, parse_error: &NSError )
Available on crate feature
NSError
only.unsafe fn parser_validationErrorOccurred( &self, parser: &NSXMLParser, validation_error: &NSError )
Available on crate feature
NSError
only.