Back to index

lightning-sunbird  0.9+nobinonly
Public Member Functions | Public Attributes | Protected Attributes
nsSOAPEncodingRegistry Class Reference

#include <nsSOAPEncoding.h>

Inheritance diagram for nsSOAPEncodingRegistry:
Inheritance graph
Collaboration diagram for nsSOAPEncodingRegistry:
Collaboration graph

List of all members.

Public Member Functions

nsSOAPEncodingRegistry (nsISOAPEncoding *aEncoding)
virtual ~nsSOAPEncodingRegistry ()
nsISOAPEncoding getAssociatedEncoding (in AString aStyleURI, in boolean aCreateIf)
 Get an associated encoding for a different encoding style.

Public Attributes

attribute nsISchemaCollection schemaCollection
 The schema collection used by the owning encoding and all associated encodings.

Protected Attributes

nsObjectHashtable mEncodings
nsCOMPtr< nsISchemaCollectionmSchemaCollection

Detailed Description

Definition at line 63 of file nsSOAPEncoding.h.

Constructor & Destructor Documentation

Definition at line 72 of file nsSOAPEncoding.cpp.

: mEncodings(nsnull, nsnull, DeleteEncodingEntry, nsnull, 4)
  nsAutoString style;
  NS_ASSERTION(!style.IsEmpty(), "nsSOAPEncoding Regsitry constructed without style");

  nsStringKey styleKey(style);
  mEncodings.Put(&styleKey, aEncoding);
virtual nsSOAPEncodingRegistry::~nsSOAPEncodingRegistry ( ) [inline, virtual]

Definition at line 74 of file nsSOAPEncoding.h.


Member Function Documentation

nsISOAPEncoding nsISOAPEncodingRegistry::getAssociatedEncoding ( in AString  aStyleURI,
in boolean  aCreateIf 
) [inherited]

Get an associated encoding for a different encoding style.

If there is no default associated encoding available for the specified encoding style, then if aCreateIf is specified, one is created, otherwise a null is returned. Associated encodings are the set of encodings that may be used and modified together as a set.

aStyleURIThe style URI of the associated encoding.
aCreateIfIf true, then create the associated encoding if it does not already exist, otherwise return the existing encoding.
The associated encoding which corresponds to the specified styleURI, or null if the spefied alternative encoding does not exist and it was not requested that it be created.

Member Data Documentation

nsObjectHashtable nsSOAPEncodingRegistry::mEncodings [protected]

Definition at line 77 of file nsSOAPEncoding.h.

Definition at line 78 of file nsSOAPEncoding.h.

The schema collection used by the owning encoding and all associated encodings.

Definition at line 80 of file nsISOAPEncoding.idl.

The documentation for this class was generated from the following files: