SOAPEncoding

This object is available to unprivileged JavaScript. It implements the following interfaces:

Properties

nsISchemaCollection schemaCollection

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


Methods

SOAPEncoding getAssociatedEncoding ( AString styleURI , boolean createIf )

SOAPEncoding getAssociatedEncoding ( AString styleURI , boolean createIf )

Get an associated encoding for a different encoding style. If there is no default associated encoding available for the specified encoding style, then if createIf 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.

Arguments:
styleURI: The style URI of the associated encoding.
createIf: If true, then create the associated encoding if it does not already exist, otherwise return the existing encoding.
Returns:
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.

Reference documentation is generated from Mozilla's source.

Add a note User Contributed Notes
No comments available

Copyright © 1999 - 2005 XULPlanet.com