このページはEtoJ逐語翻訳フィルタによって翻訳生成されました。

翻訳前ページへ


Interface XContentProviderManager
Language

The 解放する/自由な and Open 生産性 控訴
解放(する)d: Apache OpenOffice 4.1.15

API

SDK

Tips ‘n’ Tricks

Miscellaneous


:: com :: sun :: 星/主役にする :: ucb ::

interface XContentProviderManager
Description
makes it possible to query/登録(する)/deregister content providers.
See also
XContentProvider
Developers Guide
UCB - Content Provider Proxies
UCB - Unconfigured UCBs

Methods' 要約
registerContentProvider 登録(する)s a content provider for a 明確な/細部 URL template.  
deregisterContentProvider deregisters a content provider.  
queryContentProviders returns a 名簿(に載せる)/表(にあげる) of (警察などへの)密告,告訴(状) on all 登録(する)d content providers.  
queryContentProvider returns the 現在/一般に active content provider for a content identifier.  
Methods' 詳細(に述べる)s
registerContentProvider
XContentProvider
registerContentProvider( [in] XContentProvider  Provider,
[in] string  計画/陰謀,
[in] boolean  ReplaceExisting )
raises( DuplicateProviderException );

Description
登録(する)s a content provider for a 明確な/細部 URL template.
Parameter Provider
the content provider to 登録(する).

This may be NULL, in which 事例/患者 a later XContentProvider::queryContent with an XContentIdentifier that matches the 計画/陰謀 will 簡単に return NULL. These "模造の" content providers are useful in combination with other content providers that are 登録(する)d on a wildcard URL template: For example, imagine that you want to 大勝する all http URLs to a HTTP content provider, but want to 封鎖する all URLs for the server www.dont.go. One 解答 would be to 登録(する) the HTTP content provider on the 計画/陰謀 http, and to 登録(する) a "模造の" (i.e., NULL) content provider on the 計画/陰謀 "http://www.dont.go"([/?#].*)?.

Parameter 計画/陰謀
the URL 計画/陰謀 for the 供給するd contents. More 一般に, this may not only be a URL 計画/陰謀, but a URL template.

A URL template is a 正規の/正選手 表現 (代表するd as a string) that 明示するs a subset of the 始める,決める of all possible URLs (this subset consists of 正確に/まさに those URLs that match the 正規の/正選手 表現). The language to denote the 正規の/正選手 表現s is 最初 やめる 限られた/立憲的な, but it may be 延長するd in the 未来:

  • regexp = 計画/陰謀 / simple / translation
  • 計画/陰謀 = ALPHA *(ALPHA / DIGIT / "+" / "-" / ".")
  • simple = simple-prefix / simple-当局 / simple-domain
  • translation = trans-prefix / trans-当局 / trans-domain
  • simple-prefix = [string] ".*"
  • trans-prefix = [string] "(.*)->" [string] "\1"
  • simple-当局 = [string] "([/?#].*)?"
  • trans-当局 = [string] "(([/?#].*)?)->" string "\1"
  • simple-domain = [string] "[^/?#]*" string "([/?#].*)?"
  • trans-domain = [string] "([^/?#]*" string "([/?#].*)?)->" string "\1"
  • string = DQUOTE 1*(schar / sescape) DQUOTE ; DQUOTE is "
  • schar = < any UTF-16 character except " or \>
  • sescape = "\" (DQUOTE / "\")

A <計画/陰謀>: matches any URL of 正確に/まさに the given 計画/陰謀 (ignoring 事例/患者), keeping the 拡張 from URL 計画/陰謀s to URL templates backwards 両立できる. The <simple>: regexps match any URL starting with a given string literal, followed by 独断的な characters (<simple-prefix>:), or by 独断的な characters that start with one of '/', '?', or '#', if any (<simple-当局>:), or by 独断的な characters not 含むing any of '/', '?', or '#', followed by a given string literal, followed by 独断的な characters that start with one of '/', '?', or '#', if any. The comparision of string literals is done ignoring the 事例/患者 of ASCII letters. The <translation>: regexps match the same URLs as their <simple>: 相当するものs, but they also 述べる how a (地元の) URL is mapped to another (remote) URL. This mapping is only 関連した for methods of the RemoteAccessContentProvider's XParameterizedContentProvider interface; in all other 事例/患者s, <translation>: regexps have the same semantics as their <simple>: 相当するものs.

Parameter ReplaceExisting
true: 取って代わる the provider かもしれない 登録(する)d for the given URL template. The 取って代わるd provider will not be deregistered automatically! If the superseding provider gets deregistered, the superseded one will become active again.

誤った: do not 登録(する), if another provider is already 登録(する)d for the given URL template.

Returns
the 取って代わるd content provider, if there was one.
See also
XContentIdentifier
deregisterContentProvider
[oneway] 無効の
deregisterContentProvider( [in] XContentProvider  Provider,
[in] string  計画/陰謀 );

Description
deregisters a content provider.
Parameter Provider
a content provider to deregister.
Parameter 計画/陰謀
the URL 計画/陰謀 for the 供給するd contents. More 一般に, this may not only be a URL 計画/陰謀, but a URL template (see registerContentProvider for a discussion of URL templates).
queryContentProviders
sequence< ContentProviderInfo >
queryContentProviders();

Description
returns a 名簿(に載せる)/表(にあげる) of (警察などへの)密告,告訴(状) on all 登録(する)d content providers.
Returns
a 名簿(に載せる)/表(にあげる) (警察などへの)密告,告訴(状) on content providers.
queryContentProvider
XContentProvider
queryContentProvider( [in] string  Identifier );

Description
returns the 現在/一般に active content provider for a content identifier.
Parameter Identifier
a content identifier (i.e., a URL).
Returns
a content provider.
最高の,を越す of Page

Apache Software Foundation

Copyright & License | Privacy | 接触する Us | 寄付する | Thanks

Apache, OpenOffice, OpenOffice.org and the seagull logo are 登録(する)d trademarks of The Apache ソフトウェア 創立/基礎. The Apache feather logo is a trademark of The Apache ソフトウェア 創立/基礎. Other 指名するs appearing on the 場所/位置 may be trademarks of their 各々の owners.