Trait objc2_foundation::NSXMLParserDelegate

source ·
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§

source

unsafe fn parserDidStartDocument(&self, parser: &NSXMLParser)
where Self: Sized + Message,

source

unsafe fn parserDidEndDocument(&self, parser: &NSXMLParser)
where Self: Sized + Message,

source

unsafe fn parser_foundNotationDeclarationWithName_publicID_systemID( &self, parser: &NSXMLParser, name: &NSString, public_id: Option<&NSString>, system_id: Option<&NSString> )
where Self: Sized + Message,

Available on crate feature NSString only.
source

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,

Available on crate feature NSString only.
source

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,

Available on crate feature NSString only.
source

unsafe fn parser_foundElementDeclarationWithName_model( &self, parser: &NSXMLParser, element_name: &NSString, model: &NSString )
where Self: Sized + Message,

Available on crate feature NSString only.
source

unsafe fn parser_foundInternalEntityDeclarationWithName_value( &self, parser: &NSXMLParser, name: &NSString, value: Option<&NSString> )
where Self: Sized + Message,

Available on crate feature NSString only.
source

unsafe fn parser_foundExternalEntityDeclarationWithName_publicID_systemID( &self, parser: &NSXMLParser, name: &NSString, public_id: Option<&NSString>, system_id: Option<&NSString> )
where Self: Sized + Message,

Available on crate feature NSString only.
source

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,

Available on crate features NSDictionary and NSString only.
source

unsafe fn parser_didEndElement_namespaceURI_qualifiedName( &self, parser: &NSXMLParser, element_name: &NSString, namespace_uri: Option<&NSString>, q_name: Option<&NSString> )
where Self: Sized + Message,

Available on crate feature NSString only.
source

unsafe fn parser_didStartMappingPrefix_toURI( &self, parser: &NSXMLParser, prefix: &NSString, namespace_uri: &NSString )
where Self: Sized + Message,

Available on crate feature NSString only.
source

unsafe fn parser_didEndMappingPrefix( &self, parser: &NSXMLParser, prefix: &NSString )
where Self: Sized + Message,

Available on crate feature NSString only.
source

unsafe fn parser_foundCharacters(&self, parser: &NSXMLParser, string: &NSString)
where Self: Sized + Message,

Available on crate feature NSString only.
source

unsafe fn parser_foundIgnorableWhitespace( &self, parser: &NSXMLParser, whitespace_string: &NSString )
where Self: Sized + Message,

Available on crate feature NSString only.
source

unsafe fn parser_foundProcessingInstructionWithTarget_data( &self, parser: &NSXMLParser, target: &NSString, data: Option<&NSString> )
where Self: Sized + Message,

Available on crate feature NSString only.
source

unsafe fn parser_foundComment(&self, parser: &NSXMLParser, comment: &NSString)
where Self: Sized + Message,

Available on crate feature NSString only.
source

unsafe fn parser_foundCDATA(&self, parser: &NSXMLParser, cdata_block: &NSData)
where Self: Sized + Message,

Available on crate feature NSData only.
source

unsafe fn parser_resolveExternalEntityName_systemID( &self, parser: &NSXMLParser, name: &NSString, system_id: Option<&NSString> ) -> Option<Retained<NSData>>
where Self: Sized + Message,

Available on crate features NSData and NSString only.
source

unsafe fn parser_parseErrorOccurred( &self, parser: &NSXMLParser, parse_error: &NSError )
where Self: Sized + Message,

Available on crate feature NSError only.
source

unsafe fn parser_validationErrorOccurred( &self, parser: &NSXMLParser, validation_error: &NSError )
where Self: Sized + Message,

Available on crate feature NSError only.

Trait Implementations§

source§

impl ProtocolType for dyn NSXMLParserDelegate

source§

const NAME: &'static str = "NSXMLParserDelegate"

The name of the Objective-C protocol that this type represents.
source§

fn protocol() -> Option<&'static AnyProtocol>

Get a reference to the Objective-C protocol object that this type represents. Read more
source§

impl<T> ImplementedBy<T> for dyn NSXMLParserDelegate

Implementations on Foreign Types§

source§

impl<T> NSXMLParserDelegate for ProtocolObject<T>

Implementors§