Đang chuẩn bị liên kết để tải về tài liệu:
Creating Applications with Mozilla-Chapter 10. RDF, RDF Tools, and the Content Model-P3

Đang chuẩn bị nút TẢI XUỐNG, xin hãy chờ

Tham khảo tài liệu 'creating applications with mozilla-chapter 10. rdf, rdf tools, and the content model-p3', công nghệ thông tin, quản trị web phục vụ nhu cầu học tập, nghiên cứu và làm việc hiệu quả | Chapter 10. RDF RDF Tools and the Content Model-P3 10.3.1. What Is an RDF Component An RDF component may implement any number of the general RDF interfaces described here in addition to special interfaces for accessing and controlling the data the datasource represents. For example @mozilla.org rdf datasource 1 name internetsearch is an RDF component used to control Mozilla s internet searching facility. In Mozilla a component can act as a library of code specific to a given set of data or domain. The internetsearch component is instantiated and used to recall text entered in a previous search var searchDS Components.classes @mozilla.org rdf datasource 1 n ame internetsearch .getService Components.interfaces.nsIInternetSearch Service searchDS.RememberLastSearchText escapedSearchStr This RDF component implements an interface called nsIInternetSearchService which is selected from the component and used to call the RememberLastSearchText method. Although you can also use the getService method to get one of a component s RDF interfaces e.g. by using getService Components.interfaces.nsIRDFDataSource doing so is seldom necessary in practice. RDF components are tailored to the datasources they represent and usually provide all the access you need to access that data directly. Example 10-6 lists RDF components in Mozilla. Example 10-6. RDF-specific components built into Mozilla @mozilla.org rdf container 1 @mozilla.org rdf content-sink 1 @mozilla.org rdf datasource 1 name addresscard @mozilla.org rdf datasource 1 name addressdirectory @mozilla.org rdf datasource 1 name bookmarks @mozilla.org rdf datasource 1 name charset-menu @mozilla.org rdf datasource 1 name composite-datasource @mozilla.org rdf datasource 1 name files @mozilla.org rdf datasource 1 name history @mozilla.org rdf datasource 1 name httpindex @mozilla.org rdf datasource 1 name in-memory-datasource @mozilla.org rdf datasource 1 name internetsearch @mozilla.org rdf datasource 1 name ispdefaults @mozilla.org .

crossorigin="anonymous">
Đã phát hiện trình chặn quảng cáo AdBlock
Trang web này phụ thuộc vào doanh thu từ số lần hiển thị quảng cáo để tồn tại. Vui lòng tắt trình chặn quảng cáo của bạn hoặc tạm dừng tính năng chặn quảng cáo cho trang web này.