Platforms to show: All Mac Windows Linux Cross-Platform
WebDataSourceMBS class Deprecated
Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
class | HTMLViewer Mac | MBS MacControls Plugin | 7.2 | ✅ Yes | ❌ No | ❌ No | ❌ No | Desktop only |
This item is deprecated and should no longer be used.
Notes:
This classs is not available in Xojo 2020r1 or newer.
A datasource has a WebDocumentRepresentation which holds an appropriate representation of the data. WebDataSources manage a hierarchy of WebFrames. WebDataSources are typically related to a view by their containing WebFrame.
All methods in this class will catch exceptions from Cocoa and raise a NSExceptionMBS instead. Using the message, name and reason properties you can see what was the reason for this exception. Please report if you find a method which does not handle exceptions correct.
- property Handle as Integer
- 16 methods
- method addSubresource(Subresource as WebResourceMBS)
- method Constructor(request as NSURLRequestMBS)
- method data as MemoryBlock
- method initialRequest as NSURLRequestMBS
- method isLoading as boolean
- method mainResource as WebResourceMBS
- method pageTitle as string
- method representation as WebDocumentRepresentationMBS
- method request as NSURLRequestMBS
- method response as NSURLResponseMBS
- method subresourceForURL(url as string) as WebResourceMBS
- method subresources as WebResourceMBS()
- method textEncodingName as string
- method unreachableURL as String
- method webArchive as WebArchiveMBS
- method webFrame as WebFrameMBS
This class has no sub classes.
Some methods using this class:
- WebDocumentViewMBS.dataSourceUpdated(dataSource as WebDataSourceMBS)
- WebDocumentViewMBS.setDataSource(dataSource as WebDataSourceMBS)
- WebFrameMBS.dataSource as WebDataSourceMBS
- WebFrameMBS.provisionalDataSource as WebDataSourceMBS
Some events using this class:
- WebResourceLoadDelegateMBS.didCancelAuthenticationChallenge(id as Variant, challenge as NSURLAuthenticationChallengeMBS, dataSource as WebDataSourceMBS)
- WebResourceLoadDelegateMBS.didFailLoadingWithError(id as Variant, errorString as string, dataSource as WebDataSourceMBS)
- WebResourceLoadDelegateMBS.didFinishLoadingFromDataSource(id as Variant, dataSource as WebDataSourceMBS)
- WebResourceLoadDelegateMBS.didReceiveAuthenticationChallenge(id as Variant, challenge as NSURLAuthenticationChallengeMBS, dataSource as WebDataSourceMBS)
- WebResourceLoadDelegateMBS.didReceiveContentLength(id as Variant, length as Integer, dataSource as WebDataSourceMBS)
- WebResourceLoadDelegateMBS.didReceiveResponse(id as Variant, response as NSURLResponseMBS, dataSource as WebDataSourceMBS)
- WebResourceLoadDelegateMBS.identifierForInitialRequest(request as NSURLRequestMBS, dataSource as WebDataSourceMBS) as Variant
- WebResourceLoadDelegateMBS.plugInFailedWithError(errorString as string, dataSource as WebDataSourceMBS)
- WebResourceLoadDelegateMBS.willSendRequest(id as Variant, request as NSURLRequestMBS, redirectResponse as NSURLResponseMBS, dataSource as WebDataSourceMBS) as NSURLRequestMBS
The items on this page are in the following plugins: MBS MacControls Plugin.
WebBackForwardListMBS - WebDocumentRepresentationMBS
Feedback: Report problem or ask question.