The core of XPCOM is the nsISupports interface, which provides
a contract of reference counting and runtime querying for capabilities.
→XPCOM の中核となるのは nsISupports インターフェースで、
能力に対するリファレンス算出とランタイムクエリーを請け負います。
If necessary you may also implement the nsIURIContentListener::IsPreferred(),
returning PR_TRUE to ensure you are always the preferred URI handler and are called
no matter what the content type.
→必要であれば nsIURIContentListener::IsPreferred() を実装することも出来ます。
これは PR_TRUE を返し、あなたが常に優先 URI ハンドラーであることと、
どのコンテンツタイプであれあなたが呼び出されることを確実にします。
The default implementation returns only the TITLE text attribute
but demonstrates the principles behind the service.
→このデフォルトの実装は TITLE テキスト属性のみを返しますが、
このサービスの後ろにある原理も明示します。
The core of XPCOM is the nsISupports interface, which provides
a contract of reference counting and runtime querying for capabilities.
→XPCOM の中核となるのは nsISupports インターフェースで、
能力に対するリファレンス算出とランタイムクエリーを請け負います。
If necessary you may also implement the nsIURIContentListener::IsPreferred(),
returning PR_TRUE to ensure you are always the preferred URI handler and are called
no matter what the content type.
→必要であれば nsIURIContentListener::IsPreferred() を実装することも出来ます。
これは PR_TRUE を返し、あなたが常に優先 URI ハンドラーであることと、
どのコンテンツタイプであれあなたが呼び出されることを確実にします。
The default implementation returns only the TITLE text attribute
but demonstrates the principles behind the service.
→このデフォルトの実装は TITLE テキスト属性のみを返しますが、
このサービスの後ろにある原理も明示します。
If necessary you may also implement the nsIURIContentListener::IsPreferred(),
returning PR_TRUE to ensure you are always the preferred URI handler and are called
no matter what the content type.
→必要であれば nsIURIContentListener::IsPreferred() を実装することも出来ます。
これは PR_TRUE を返し、あなたが常に優先 URI ハンドラーであることと、
どのコンテンツタイプであれあなたが呼び出されることを確実にします。