Back to index

lightning-sunbird  0.9+nobinonly
Public Member Functions | Public Attributes
nsIPolicyReference Interface Reference

import "nsIPolicyReference.idl";

Inheritance diagram for nsIPolicyReference:
Inheritance graph
[legend]
Collaboration diagram for nsIPolicyReference:
Collaboration graph
[legend]

List of all members.

Public Member Functions

void initialize (in nsIURI aMainURI)
 Initialize the object with the document's URI.
void loadPolicyReferenceFileFor (in nsIURI aCurrentURI, in unsigned long aFlag)
 Call this method to locate the policy reference file for the current uri.
void finalize ()
 This method releases all the objects used for policy reference.

Public Attributes

const unsigned long IS_MAIN_URI = (1<<0)
 Main URI or a URI with the same host as the main URI.
const unsigned long IS_EMBEDDED_URI = (1<<1)
 URI with a domain different from the main URI.
const unsigned long IS_LINKED_URI = (1<<2)
 URI referenced via LINK tag.
const unsigned long POLICY_LOAD_SUCCESS = (1<<3)
 Signals a successful policy load.
const unsigned long POLICY_LOAD_FAILURE = (1<<4)
 Signals a policy load failure.
const unsigned long POLICY_LIFE_EXPIRED = (1<<5)
 Signals obsolete policy.
const unsigned long POLICY_SYNTAX_ERROR = (1<<6)
 Signals a syntax error ( Ex.

Detailed Description

Definition at line 43 of file nsIPolicyReference.idl.


Member Function Documentation

This method releases all the objects used for policy reference.

Initialize the object with the document's URI.

Parameters:
aMailURI-> Current document's URI
void nsIPolicyReference::loadPolicyReferenceFileFor ( in nsIURI  aCurrentURI,
in unsigned long  aFlag 
)

Call this method to locate the policy reference file for the current uri.

Parameters:
aCurrentURI-> URI that requests a privacy policy aFlag -> IS_SELECTED_URI | IS_EMBEDDED_URI | IS_LINKED_URI

Member Data Documentation

URI with a domain different from the main URI.

Definition at line 51 of file nsIPolicyReference.idl.

URI referenced via LINK tag.

Definition at line 55 of file nsIPolicyReference.idl.

Main URI or a URI with the same host as the main URI.

Definition at line 47 of file nsIPolicyReference.idl.

Signals obsolete policy.

Definition at line 67 of file nsIPolicyReference.idl.

Signals a policy load failure.

Definition at line 63 of file nsIPolicyReference.idl.

Signals a successful policy load.

Definition at line 59 of file nsIPolicyReference.idl.

Signals a syntax error ( Ex.

xml error ) in the policy.

Definition at line 71 of file nsIPolicyReference.idl.


The documentation for this interface was generated from the following file: