Back to index

lightning-sunbird  0.9+nobinonly
Public Member Functions
nsIBindingManager Class Reference

#include <nsIBindingManager.h>

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

List of all members.

Public Member Functions

virtual nsXBLBindingGetBinding (nsIContent *aContent)=0
NS_IMETHOD SetBinding (nsIContent *aContent, nsXBLBinding *aBinding)=0
NS_IMETHOD GetInsertionParent (nsIContent *aContent, nsIContent **aResult)=0
NS_IMETHOD SetInsertionParent (nsIContent *aContent, nsIContent *aResult)=0
NS_IMETHOD GetWrappedJS (nsIContent *aContent, nsIXPConnectWrappedJS **aResult)=0
NS_IMETHOD SetWrappedJS (nsIContent *aContent, nsIXPConnectWrappedJS *aResult)=0
NS_IMETHOD ChangeDocumentFor (nsIContent *aContent, nsIDocument *aOldDocument, nsIDocument *aNewDocument)=0
 Notify the binding manager that an element has been moved from one document to another, so that it can update any bindings or nsIAnonymousContentCreator-created anonymous content that may depend on the document.
NS_IMETHOD ResolveTag (nsIContent *aContent, PRInt32 *aNameSpaceID, nsIAtom **aResult)=0
NS_IMETHOD GetContentListFor (nsIContent *aContent, nsIDOMNodeList **aResult)=0
 Return a list of all explicit children, including any children that may have been inserted via XBL insertion points.
NS_IMETHOD SetContentListFor (nsIContent *aContent, nsVoidArray *aList)=0
 Set the insertion point children for the specified element.
NS_IMETHOD HasContentListFor (nsIContent *aContent, PRBool *aResult)=0
 Determine whether or not the explicit child list has been altered by XBL insertion points.
NS_IMETHOD GetAnonymousNodesFor (nsIContent *aContent, nsIDOMNodeList **aResult)=0
 For a given element, retrieve the anonymous child content.
NS_IMETHOD SetAnonymousNodesFor (nsIContent *aContent, nsVoidArray *aList)=0
 Set the anonymous child content for the specified element.
NS_IMETHOD GetXBLChildNodesFor (nsIContent *aContent, nsIDOMNodeList **aResult)=0
 Retrieves the anonymous list of children if the element has one; otherwise, retrieves the list of explicit children.
virtual nsIContentGetInsertionPoint (nsIContent *aParent, nsIContent *aChild, PRUint32 *aIndex)=0
 Given a parent element and a child content, determine where the child content should be inserted in the parent element's anonymous content tree.
virtual nsIContentGetSingleInsertionPoint (nsIContent *aParent, PRUint32 *aIndex, PRBool *aMultipleInsertionPoints)=0
 Return the unfiltered insertion point for the specified parent element.
NS_IMETHOD AddLayeredBinding (nsIContent *aContent, nsIURI *aURL)=0
NS_IMETHOD RemoveLayeredBinding (nsIContent *aContent, nsIURI *aURL)=0
NS_IMETHOD LoadBindingDocument (nsIDocument *aDocument, nsIURI *aURL, nsIDocument **aResult)=0
NS_IMETHOD AddToAttachedQueue (nsXBLBinding *aBinding)=0
NS_IMETHOD ClearAttachedQueue ()=0
NS_IMETHOD ProcessAttachedQueue ()=0
NS_IMETHOD ExecuteDetachedHandlers ()=0
NS_IMETHOD PutXBLDocumentInfo (nsIXBLDocumentInfo *aDocumentInfo)=0
NS_IMETHOD RemoveXBLDocumentInfo (nsIXBLDocumentInfo *aDocumentInfo)=0
NS_IMETHOD GetXBLDocumentInfo (nsIURI *aURI, nsIXBLDocumentInfo **aResult)=0
NS_IMETHOD PutLoadingDocListener (nsIURI *aURL, nsIStreamListener *aListener)=0
NS_IMETHOD GetLoadingDocListener (nsIURI *aURL, nsIStreamListener **aResult)=0
NS_IMETHOD RemoveLoadingDocListener (nsIURI *aURL)=0
NS_IMETHOD FlushSkinBindings ()=0
NS_IMETHOD GetBindingImplementation (nsIContent *aContent, REFNSIID aIID, void **aResult)=0
NS_IMETHOD ShouldBuildChildFrames (nsIContent *aContent, PRBool *aResult)=0

Detailed Description

Definition at line 64 of file nsIBindingManager.h.


Member Function Documentation

NS_IMETHOD nsIBindingManager::AddLayeredBinding ( nsIContent aContent,
nsIURI aURL 
) [pure virtual]

Implemented in nsBindingManager.

Implemented in nsBindingManager.

Here is the caller graph for this function:

NS_IMETHOD nsIBindingManager::ChangeDocumentFor ( nsIContent aContent,
nsIDocument aOldDocument,
nsIDocument aNewDocument 
) [pure virtual]

Notify the binding manager that an element has been moved from one document to another, so that it can update any bindings or nsIAnonymousContentCreator-created anonymous content that may depend on the document.

Parameters:
aContentthe element that's being moved
aOldDocumentthe old document in which the content resided. May be null if the the content was not in any document.
aNewDocumentthe document in which the content will reside. May be null if the content will not reside in any document, or if the content is being destroyed.

Implemented in nsBindingManager.

Here is the caller graph for this function:

Implemented in nsBindingManager.

Implemented in nsBindingManager.

Implemented in nsBindingManager.

NS_IMETHOD nsIBindingManager::GetAnonymousNodesFor ( nsIContent aContent,
nsIDOMNodeList **  aResult 
) [pure virtual]

For a given element, retrieve the anonymous child content.

Implemented in nsBindingManager.

virtual nsXBLBinding* nsIBindingManager::GetBinding ( nsIContent aContent) [pure virtual]

Implemented in nsBindingManager.

Here is the caller graph for this function:

NS_IMETHOD nsIBindingManager::GetBindingImplementation ( nsIContent aContent,
REFNSIID  aIID,
void **  aResult 
) [pure virtual]

Implemented in nsBindingManager.

Here is the caller graph for this function:

NS_IMETHOD nsIBindingManager::GetContentListFor ( nsIContent aContent,
nsIDOMNodeList **  aResult 
) [pure virtual]

Return a list of all explicit children, including any children that may have been inserted via XBL insertion points.

Implemented in nsBindingManager.

Here is the caller graph for this function:

NS_IMETHOD nsIBindingManager::GetInsertionParent ( nsIContent aContent,
nsIContent **  aResult 
) [pure virtual]

Implemented in nsBindingManager.

Here is the caller graph for this function:

virtual nsIContent* nsIBindingManager::GetInsertionPoint ( nsIContent aParent,
nsIContent aChild,
PRUint32 aIndex 
) [pure virtual]

Given a parent element and a child content, determine where the child content should be inserted in the parent element's anonymous content tree.

Specifically, aChild should be inserted beneath aResult at the index specified by aIndex.

Implemented in nsBindingManager.

Here is the caller graph for this function:

NS_IMETHOD nsIBindingManager::GetLoadingDocListener ( nsIURI aURL,
nsIStreamListener **  aResult 
) [pure virtual]

Implemented in nsBindingManager.

Here is the caller graph for this function:

virtual nsIContent* nsIBindingManager::GetSingleInsertionPoint ( nsIContent aParent,
PRUint32 aIndex,
PRBool aMultipleInsertionPoints 
) [pure virtual]

Return the unfiltered insertion point for the specified parent element.

If other filtered insertion points exist, aMultipleInsertionPoints will be set to true.

Implemented in nsBindingManager.

Here is the caller graph for this function:

NS_IMETHOD nsIBindingManager::GetWrappedJS ( nsIContent aContent,
nsIXPConnectWrappedJS **  aResult 
) [pure virtual]

Implemented in nsBindingManager.

NS_IMETHOD nsIBindingManager::GetXBLChildNodesFor ( nsIContent aContent,
nsIDOMNodeList **  aResult 
) [pure virtual]

Retrieves the anonymous list of children if the element has one; otherwise, retrieves the list of explicit children.

N.B. that if the explicit child list has not been altered by XBL insertion points, then aResult will be null.

Implemented in nsBindingManager.

Here is the caller graph for this function:

NS_IMETHOD nsIBindingManager::GetXBLDocumentInfo ( nsIURI aURI,
nsIXBLDocumentInfo **  aResult 
) [pure virtual]

Implemented in nsBindingManager.

Here is the caller graph for this function:

NS_IMETHOD nsIBindingManager::HasContentListFor ( nsIContent aContent,
PRBool aResult 
) [pure virtual]

Determine whether or not the explicit child list has been altered by XBL insertion points.

Implemented in nsBindingManager.

NS_IMETHOD nsIBindingManager::LoadBindingDocument ( nsIDocument aDocument,
nsIURI aURL,
nsIDocument **  aResult 
) [pure virtual]

Implemented in nsBindingManager.

Implemented in nsBindingManager.

Here is the caller graph for this function:

NS_IMETHOD nsIBindingManager::PutLoadingDocListener ( nsIURI aURL,
nsIStreamListener aListener 
) [pure virtual]

Implemented in nsBindingManager.

Here is the caller graph for this function:

Implemented in nsBindingManager.

Here is the caller graph for this function:

NS_IMETHOD nsIBindingManager::RemoveLayeredBinding ( nsIContent aContent,
nsIURI aURL 
) [pure virtual]

Implemented in nsBindingManager.

Implemented in nsBindingManager.

Here is the caller graph for this function:

Implemented in nsBindingManager.

Here is the caller graph for this function:

NS_IMETHOD nsIBindingManager::ResolveTag ( nsIContent aContent,
PRInt32 aNameSpaceID,
nsIAtom **  aResult 
) [pure virtual]

Implemented in nsBindingManager.

Here is the caller graph for this function:

NS_IMETHOD nsIBindingManager::SetAnonymousNodesFor ( nsIContent aContent,
nsVoidArray aList 
) [pure virtual]

Set the anonymous child content for the specified element.

The binding manager assumes ownership of aList.

Implemented in nsBindingManager.

Here is the caller graph for this function:

NS_IMETHOD nsIBindingManager::SetBinding ( nsIContent aContent,
nsXBLBinding aBinding 
) [pure virtual]

Implemented in nsBindingManager.

Here is the caller graph for this function:

NS_IMETHOD nsIBindingManager::SetContentListFor ( nsIContent aContent,
nsVoidArray aList 
) [pure virtual]

Set the insertion point children for the specified element.

The binding manager assumes ownership of aList.

Implemented in nsBindingManager.

Here is the caller graph for this function:

NS_IMETHOD nsIBindingManager::SetInsertionParent ( nsIContent aContent,
nsIContent aResult 
) [pure virtual]

Implemented in nsBindingManager.

Here is the caller graph for this function:

NS_IMETHOD nsIBindingManager::SetWrappedJS ( nsIContent aContent,
nsIXPConnectWrappedJS aResult 
) [pure virtual]

Implemented in nsBindingManager.

NS_IMETHOD nsIBindingManager::ShouldBuildChildFrames ( nsIContent aContent,
PRBool aResult 
) [pure virtual]

Implemented in nsBindingManager.

Here is the caller graph for this function:


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