Back to index

lightning-sunbird  0.9+nobinonly
Public Member Functions | Static Public Member Functions | Public Attributes | Static Public Attributes | Protected Member Functions | Protected Attributes | Static Protected Attributes | Properties
MaiHyperlink Class Reference

#include <nsMaiHyperlink.h>

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

List of all members.

Public Member Functions

 MaiHyperlink (nsIAccessibleHyperLink *aAcc, nsIDOMNode *aNode, nsIWeakReference *aShell)
 ~MaiHyperlink ()
NS_IMETHOD GetUniqueID (void **aUniqueID)
AtkHyperlink * GetAtkHyperlink (void)
nsIAccessibleHyperLinkGetAccHyperlink (void)
 STDMETHODIMP_ (ULONG) AddRef()
 STDMETHODIMP_ (ULONG) Release()
STDMETHODIMP QueryInterface (REFIID, void **)
NS_IMETHOD QueryInterface (REFNSIID aIID, void **aInstancePtr)
virtual long QueryInterface ()=0
virtual HRESULT STDMETHODCALLTYPE get_nodeInfo (BSTR __RPC_FAR *tagName, short __RPC_FAR *nameSpaceID, BSTR __RPC_FAR *nodeValue, unsigned int __RPC_FAR *numChildren, unsigned int __RPC_FAR *aUniqueID, unsigned short __RPC_FAR *nodeType)
virtual HRESULT STDMETHODCALLTYPE get_attributes (unsigned short maxAttribs, BSTR __RPC_FAR *attribNames, short __RPC_FAR *nameSpaceID, BSTR __RPC_FAR *attribValues, unsigned short __RPC_FAR *numAttribs)
virtual HRESULT STDMETHODCALLTYPE get_attributesForNames (unsigned short maxAttribs, BSTR __RPC_FAR *attribNames, short __RPC_FAR *nameSpaceID, BSTR __RPC_FAR *attribValues)
virtual HRESULT STDMETHODCALLTYPE get_computedStyle (unsigned short maxStyleProperties, boolean useAlternateView, BSTR __RPC_FAR *styleProperties, BSTR __RPC_FAR *styleValues, unsigned short __RPC_FAR *numStyleProperties)
virtual HRESULT STDMETHODCALLTYPE get_computedStyleForProperties (unsigned short numStyleProperties, boolean useAlternateView, BSTR __RPC_FAR *styleProperties, BSTR __RPC_FAR *styleValues)
virtual HRESULT STDMETHODCALLTYPE scrollTo (boolean scrollTopLeft)
virtual HRESULT STDMETHODCALLTYPE get_parentNode (ISimpleDOMNode __RPC_FAR *__RPC_FAR *node)
virtual HRESULT STDMETHODCALLTYPE get_firstChild (ISimpleDOMNode __RPC_FAR *__RPC_FAR *node)
virtual HRESULT STDMETHODCALLTYPE get_lastChild (ISimpleDOMNode __RPC_FAR *__RPC_FAR *node)
virtual HRESULT STDMETHODCALLTYPE get_previousSibling (ISimpleDOMNode __RPC_FAR *__RPC_FAR *node)
virtual HRESULT STDMETHODCALLTYPE get_nextSibling (ISimpleDOMNode __RPC_FAR *__RPC_FAR *node)
virtual HRESULT STDMETHODCALLTYPE get_childAt (unsigned childIndex, ISimpleDOMNode __RPC_FAR *__RPC_FAR *node)
virtual HRESULT STDMETHODCALLTYPE get_innerHTML (BSTR __RPC_FAR *innerHTML)
virtual HRESULT STDMETHODCALLTYPE get_localInterface (void __RPC_FAR *__RPC_FAR *localInterface)
virtual HRESULT STDMETHODCALLTYPE get_language (BSTR __RPC_FAR *language)
 NS_IMETHOD_ (nsrefcnt) AddRef(void)
 NS_IMETHOD_ (nsrefcnt) Release(void)
nsIAccessNode getChildNodeAt (in long childNum)
 Get the nth child of this node.
DOMString getComputedStyleValue (in DOMString pseudoElt, in DOMString propertyName)
 Retrieve the computed style value for this DOM node, if it is a DOM element.
void init ()
void shutdown ()
nsIFrame GetFrame ()
virtual long AddRef ()=0
virtual long Release ()=0

Static Public Member Functions

static nsresult Initialize (AtkHyperlink *aObj, MaiHyperlink *aClass)
static void InitAccessibility ()
static void InitAccessibility ()
static void InitAccessibility ()
static void InitAccessibility ()
static void ShutdownAccessibility ()
static void ShutdownAccessibility ()
static void ShutdownAccessibility ()
static void ShutdownAccessibility ()
NS_DECL_NSIACCESSNODE static
NS_DECL_NSPIACCESSNODE void 
InitXPAccessibility ()
static void ShutdownXPAccessibility ()
static void PutCacheEntry (nsInterfaceHashtable< nsVoidHashKey, nsIAccessNode > &aCache, void *aUniqueID, nsIAccessNode *aAccessNode)
static void GetCacheEntry (nsInterfaceHashtable< nsVoidHashKey, nsIAccessNode > &aCache, void *aUniqueID, nsIAccessNode **aAccessNode)
static void ClearCache (nsInterfaceHashtable< nsVoidHashKey, nsIAccessNode > &aCache)
static PLDHashOperator PR_CALLBACK ClearCacheEntry (const void *aKey, nsCOMPtr< nsIAccessNode > &aAccessNode, void *aUserArg)
static already_AddRefed
< nsIAccessibleDocument
GetDocAccessibleFor (nsIWeakReference *aPresShell)
static already_AddRefed
< nsIAccessibleDocument
GetDocAccessibleFor (nsISupports *aContainer)
static already_AddRefed
< nsIAccessibleDocument
GetDocAccessibleFor (nsIDOMNode *aNode)
static already_AddRefed
< nsIDocShellTreeItem
GetDocShellTreeItemFor (nsIDOMNode *aStartNode)
static already_AddRefed
< nsIPresShell
GetPresShellFor (nsIDOMNode *aStartNode)
static PRBool HasRoleAttribute (nsIContent *aContent)
static PRBool GetRoleAttribute (nsIContent *aContent, nsAString &aRole)

Public Attributes

readonly attribute nsIDOMNode DOMNode
 The DOM node this nsIAccessNode is associated with.
readonly attribute long numChildren
 The number of DOM children for the DOM node, which matches the number of nsIAccessNode children for this nsIAccessNode.
readonly attribute nsIAccessNode parentNode
 The parent nsIAccessNode.
readonly attribute nsIAccessNode firstChildNode
 The first nsIAccessNode child.
readonly attribute nsIAccessNode lastChildNode
 The last nsIAccessNode child.
readonly attribute nsIAccessNode previousSiblingNode
 The previous nsIAccessNode sibling.
readonly attribute nsIAccessNode nextSiblingNode
 The next nsIAccessNode sibling.
readonly attribute
nsIAccessibleDocument 
accessibleDocument
 The nsIAccessibleDocument that this nsIAccessNode resides in.
readonly attribute DOMString innerHTML
 The innerHTML for the DOM node This is a text string of all the markup inside the DOM node, not including the start and end tag for the node.
readonly attribute voidPtr ownerWindow
 The OS window handle for the window this node is being displayed in.
readonly attribute voidPtr uniqueID
 A unique ID calculated for this DOM node, for the purposes of caching and referencing this object.
const unsigned short NODETYPE_ELEMENT = 1
const unsigned short NODETYPE_ATTRIBUTE = 2
const unsigned short NODETYPE_TEXT = 3
const unsigned short NODETYPE_CDATA_SECTION = 4
const unsigned short NODETYPE_ENTITY_REFERENCE = 5
const unsigned short NODETYPE_ENTITY = 6
const unsigned short NODETYPE_PROCESSING_INSTRUCTION = 7
const unsigned short NODETYPE_COMMENT = 8
const unsigned short NODETYPE_DOCUMENT = 9
const unsigned short NODETYPE_DOCUMENT_TYPE = 10
const unsigned short NODETYPE_DOCUMENT_FRAGMENT = 11
const unsigned short NODETYPE_NOTATION = 12

Static Public Attributes

static HINSTANCE gmAccLib = nsnull
 the accessible library and cached methods
static HINSTANCE gmUserLib = nsnull
static
LPFNACCESSIBLEOBJECTFROMWINDOW 
gmAccessibleObjectFromWindow = nsnull
static LPFNNOTIFYWINEVENT gmNotifyWinEvent = nsnull
static LPFNGETGUITHREADINFO gmGetGUIThreadInfo = nsnull
static nsIDOMNodegLastFocusedNode = 0

Protected Member Functions

void GetAccessibleFor (nsIDOMNode *node, nsIAccessible **newAcc)
ISimpleDOMNodeMakeAccessNode (nsIDOMNode *node)
nsresult MakeAccessNode (nsIDOMNode *aNode, nsIAccessNode **aAccessNode)
NS_IMETHOD GetComputedStyleDeclaration (nsIDOMCSSStyleDeclaration **aCssDecl, PRUint32 *aLength)
already_AddRefed< nsIPresShellGetPresShell ()
nsPresContextGetPresContext ()
already_AddRefed
< nsIAccessibleDocument
GetDocAccessible ()

Protected Attributes

nsCOMPtr< nsIAccessibleHyperLinkmHyperlink
AtkHyperlink * mMaiAtkHyperlink
nsCOMPtr< nsIDOMNodemDOMNode
nsCOMPtr< nsIWeakReferencemWeakShell
PRInt32 mRefCnt

Static Protected Attributes

static PRBool gIsEnumVariantSupportDisabled = 0
static NS_DECL_OWNINGTHREAD
nsIStringBundle
gStringBundle = 0
static nsIStringBundlegKeyStringBundle = 0
static nsITimergDoCommandTimer = 0
static PRBool gIsAccessibilityActive = PR_FALSE
static PRBool gIsCacheDisabled = PR_FALSE
static nsInterfaceHashtable
< nsVoidHashKey, nsIAccessNode
gGlobalDocAccessibleCache

Properties

ISimpleDOMNode parentNode [get]
BSTR innerHTML [get]
short nodeInfo ([out] BSTR nodeName,[out] short nameSpaceID,[out] BSTR nodeValue,[out] int numChildren,[out] int uniqueID) [get]
short attributes ([in] short maxAttribs,[out, size_is(maxAttribs), length_is(*numAttribs)] BSTR attribNames,[out, size_is(maxAttribs), length_is(*numAttribs)] short nameSpaceID,[out, size_is(maxAttribs), length_is(*numAttribs)] BSTR attribValues) [get]
BSTR attributesForNames ([in] short numAttribs,[in, size_is(numAttribs), length_is(numAttribs)] BSTR attribNames,[in, size_is(numAttribs), length_is(numAttribs)] short nameSpaceID) [get]
short computedStyle ([in] short maxStyleProperties,[in] boolean useAlternateView,[out, size_is(maxStyleProperties), length_is(*numStyleProperties)] BSTR styleProperties,[out, size_is(maxStyleProperties), length_is(*numStyleProperties)] BSTR styleValues) [get]
BSTR computedStyleForProperties ([in] short numStyleProperties,[in] boolean useAlternateView,[in, size_is(numStyleProperties), length_is(numStyleProperties)] BSTR styleProperties) [get]
ISimpleDOMNode firstChild [get]
ISimpleDOMNode lastChild [get]
ISimpleDOMNode previousSibling [get]
ISimpleDOMNode nextSibling [get]
ISimpleDOMNode childAt ([in] unsigned childIndex) [get]
void localInterface [get]
BSTR language [get]

Detailed Description

Definition at line 57 of file nsMaiHyperlink.h.


Constructor & Destructor Documentation

Definition at line 127 of file nsMaiHyperlink.cpp.

                                                                       :
    nsAccessNodeWrap(aNode, aShell),
    mHyperlink(aAcc),
    mMaiAtkHyperlink(nsnull)
{
}

Definition at line 135 of file nsMaiHyperlink.cpp.

{
    if (mMaiAtkHyperlink)
        g_object_unref(mMaiAtkHyperlink);
}

Member Function Documentation

virtual long IUnknown::AddRef ( ) [pure virtual, inherited]

Here is the caller graph for this function:

Definition at line 535 of file nsAccessNode.cpp.

Here is the call graph for this function:

Here is the caller graph for this function:

PLDHashOperator nsAccessNode::ClearCacheEntry ( const void aKey,
nsCOMPtr< nsIAccessNode > &  aAccessNode,
void aUserArg 
) [static, inherited]

Definition at line 527 of file nsAccessNode.cpp.

{
  nsCOMPtr<nsPIAccessNode> privateAccessNode(do_QueryInterface(aAccessNode));
  privateAccessNode->Shutdown();

  return PL_DHASH_REMOVE;
}

Here is the call graph for this function:

Here is the caller graph for this function:

STDMETHODIMP nsAccessNodeWrap::get_attributes ( unsigned short  maxAttribs,
BSTR __RPC_FAR *  attribNames,
short __RPC_FAR *  nameSpaceID,
BSTR __RPC_FAR *  attribValues,
unsigned short __RPC_FAR *  numAttribs 
) [virtual, inherited]

Definition at line 175 of file nsAccessNodeWrap.cpp.

{
  *aNumAttribs = 0;

  nsCOMPtr<nsIContent> content(do_QueryInterface(mDOMNode));
  if (!content) 
    return E_FAIL;

  PRUint32 numAttribs = content->GetAttrCount();

  if (numAttribs > aMaxAttribs)
    numAttribs = aMaxAttribs;
  *aNumAttribs = NS_STATIC_CAST(unsigned short, numAttribs);

  PRInt32 nameSpaceID;
  nsCOMPtr<nsIAtom> nameAtom, prefixAtom;

  for (PRUint32 index = 0; index < numAttribs; index++) {
    aNameSpaceIDs[index] = 0; aAttribValues[index] = aAttribNames[index] = nsnull;
    nsAutoString attributeValue;
    const char *pszAttributeName; 

    if (NS_SUCCEEDED(content->GetAttrNameAt(index, &nameSpaceID, getter_AddRefs(nameAtom), getter_AddRefs(prefixAtom)))) {
      aNameSpaceIDs[index] = NS_STATIC_CAST(short, nameSpaceID);
      nameAtom->GetUTF8String(&pszAttributeName);
      aAttribNames[index] = ::SysAllocString(NS_ConvertUTF8toUCS2(pszAttributeName).get());
      if (NS_SUCCEEDED(content->GetAttr(nameSpaceID, nameAtom, attributeValue))) 
        aAttribValues[index] = ::SysAllocString(attributeValue.get());
    }
  }

  return S_OK; 
}

Here is the call graph for this function:

STDMETHODIMP nsAccessNodeWrap::get_attributesForNames ( unsigned short  maxAttribs,
BSTR __RPC_FAR *  attribNames,
short __RPC_FAR *  nameSpaceID,
BSTR __RPC_FAR *  attribValues 
) [virtual, inherited]

Definition at line 215 of file nsAccessNodeWrap.cpp.

{
  nsCOMPtr<nsIDOMElement> domElement(do_QueryInterface(mDOMNode));
  nsCOMPtr<nsIContent> content(do_QueryInterface(mDOMNode));

  if (!domElement || !content) 
    return E_FAIL;

  if (!content->GetDocument())
    return E_FAIL;

  nsCOMPtr<nsINameSpaceManager> nameSpaceManager =
    do_GetService(NS_NAMESPACEMANAGER_CONTRACTID);

  PRInt32 index;

  for (index = 0; index < aNumAttribs; index++) {
    aAttribValues[index] = nsnull;
    if (aAttribNames[index]) {
      nsAutoString attributeValue, nameSpaceURI;
      nsAutoString attributeName(nsDependentString(NS_STATIC_CAST(PRUnichar*,aAttribNames[index])));
      nsresult rv;

      if (aNameSpaceID[index]>0 && 
        NS_SUCCEEDED(nameSpaceManager->GetNameSpaceURI(aNameSpaceID[index], nameSpaceURI)))
          rv = domElement->GetAttributeNS(nameSpaceURI, attributeName, attributeValue);
      else 
        rv = domElement->GetAttribute(attributeName, attributeValue);

      if (NS_SUCCEEDED(rv))
        aAttribValues[index] = ::SysAllocString(attributeValue.get());
    }
  }

  return S_OK; 
}

Here is the call graph for this function:

STDMETHODIMP nsAccessNodeWrap::get_childAt ( unsigned  childIndex,
ISimpleDOMNode __RPC_FAR *__RPC_FAR *  node 
) [virtual, inherited]

Definition at line 483 of file nsAccessNodeWrap.cpp.

{
  *aNode = nsnull;

  nsCOMPtr<nsIContent> content(do_QueryInterface(mDOMNode));
  if (!content)
    return E_FAIL;  // Node already shut down

  nsCOMPtr<nsIDOMNode> node =
    do_QueryInterface(content->GetChildAt(aChildIndex));

  if (!node)
    return E_FAIL; // No such child

  *aNode = MakeAccessNode(node);

  return S_OK;
}

Here is the call graph for this function:

STDMETHODIMP nsAccessNodeWrap::get_computedStyle ( unsigned short  maxStyleProperties,
boolean  useAlternateView,
BSTR __RPC_FAR *  styleProperties,
BSTR __RPC_FAR *  styleValues,
unsigned short __RPC_FAR *  numStyleProperties 
) [virtual, inherited]

Definition at line 293 of file nsAccessNodeWrap.cpp.

{
  if (!mDOMNode)
    return E_FAIL;
 
  *aNumStyleProperties = 0;
  PRUint32 length;
  nsCOMPtr<nsIDOMCSSStyleDeclaration> cssDecl;
  if (NS_FAILED(GetComputedStyleDeclaration(getter_AddRefs(cssDecl), &length)))
    return E_FAIL;

  PRUint32 index, realIndex;
  for (index = realIndex = 0; index < length && realIndex < aMaxStyleProperties; index ++) {
    nsAutoString property, value;
    if (NS_SUCCEEDED(cssDecl->Item(index, property)) && property.CharAt(0) != '-')  // Ignore -moz-* properties
      cssDecl->GetPropertyValue(property, value);  // Get property value
    if (!value.IsEmpty()) {
      aStyleProperties[realIndex] =   ::SysAllocString(property.get());
      aStyleValues[realIndex]     =   ::SysAllocString(value.get());
      ++realIndex;
    }
  }
  *aNumStyleProperties = NS_STATIC_CAST(unsigned short, realIndex);

  return S_OK;
}

Here is the call graph for this function:

STDMETHODIMP nsAccessNodeWrap::get_computedStyleForProperties ( unsigned short  numStyleProperties,
boolean  useAlternateView,
BSTR __RPC_FAR *  styleProperties,
BSTR __RPC_FAR *  styleValues 
) [virtual, inherited]

Definition at line 326 of file nsAccessNodeWrap.cpp.

{
  if (!mDOMNode)
    return E_FAIL;
 
  PRUint32 length = 0;
  nsCOMPtr<nsIDOMCSSStyleDeclaration> cssDecl;
  nsresult rv = GetComputedStyleDeclaration(getter_AddRefs(cssDecl), &length);
  if (NS_FAILED(rv))
    return E_FAIL;

  PRUint32 index;
  for (index = 0; index < aNumStyleProperties; index ++) {
    nsAutoString value;
    if (aStyleProperties[index])
      cssDecl->GetPropertyValue(nsDependentString(NS_STATIC_CAST(PRUnichar*,aStyleProperties[index])), value);  // Get property value
    aStyleValues[index] = ::SysAllocString(value.get());
  }

  return S_OK;
}

Here is the call graph for this function:

STDMETHODIMP nsAccessNodeWrap::get_firstChild ( ISimpleDOMNode __RPC_FAR *__RPC_FAR *  node) [virtual, inherited]

Definition at line 434 of file nsAccessNodeWrap.cpp.

{
  if (!mDOMNode)
    return E_FAIL;
 
  nsCOMPtr<nsIDOMNode> node;
  mDOMNode->GetFirstChild(getter_AddRefs(node));
  *aNode = MakeAccessNode(node);

  return S_OK;
}

Here is the call graph for this function:

STDMETHODIMP nsAccessNodeWrap::get_innerHTML ( BSTR __RPC_FAR *  innerHTML) [virtual, inherited]

Definition at line 504 of file nsAccessNodeWrap.cpp.

{
  *aInnerHTML = nsnull;

  nsCOMPtr<nsIDOMNSHTMLElement> domNSElement(do_QueryInterface(mDOMNode));
  if (!domNSElement)
    return E_FAIL; // Node already shut down

  nsAutoString innerHTML;
  domNSElement->GetInnerHTML(innerHTML);
  *aInnerHTML = ::SysAllocString(innerHTML.get());

  return S_OK;
}

Here is the call graph for this function:

STDMETHODIMP nsAccessNodeWrap::get_language ( BSTR __RPC_FAR *  language) [virtual, inherited]

Definition at line 520 of file nsAccessNodeWrap.cpp.

{
  *aLanguage = nsnull;
  nsCOMPtr<nsIContent> content(do_QueryInterface(mDOMNode));
  if (!content) {
    return E_FAIL;
  }

  nsAutoString language;
  for (nsIContent *walkUp = content; walkUp = walkUp->GetParent(); walkUp) {
    if (NS_CONTENT_ATTR_HAS_VALUE ==
        walkUp->GetAttr(kNameSpaceID_None, nsAccessibilityAtoms::lang, language)) {
      break;
    }
  }

  if (language.IsEmpty()) { // Nothing found, so use document's language
    nsIDocument *doc = content->GetOwnerDoc();
    if (doc) {
      doc->GetHeaderData(nsAccessibilityAtoms::headerContentLanguage, language);
    }
  }
 
  *aLanguage = ::SysAllocString(language.get());
  return S_OK;
}

Here is the call graph for this function:

STDMETHODIMP nsAccessNodeWrap::get_lastChild ( ISimpleDOMNode __RPC_FAR *__RPC_FAR *  node) [virtual, inherited]

Definition at line 446 of file nsAccessNodeWrap.cpp.

{
  if (!mDOMNode)
    return E_FAIL;

  nsCOMPtr<nsIDOMNode> node;
  mDOMNode->GetLastChild(getter_AddRefs(node));
  *aNode = MakeAccessNode(node);

  return S_OK;
}

Here is the call graph for this function:

STDMETHODIMP nsAccessNodeWrap::get_localInterface ( void __RPC_FAR *__RPC_FAR *  localInterface) [virtual, inherited]

Definition at line 548 of file nsAccessNodeWrap.cpp.

STDMETHODIMP nsAccessNodeWrap::get_nextSibling ( ISimpleDOMNode __RPC_FAR *__RPC_FAR *  node) [virtual, inherited]

Definition at line 470 of file nsAccessNodeWrap.cpp.

{
  if (!mDOMNode)
    return E_FAIL;

  nsCOMPtr<nsIDOMNode> node;
  mDOMNode->GetNextSibling(getter_AddRefs(node));
  *aNode = MakeAccessNode(node);

  return S_OK;
}

Here is the call graph for this function:

STDMETHODIMP nsAccessNodeWrap::get_nodeInfo ( BSTR __RPC_FAR *  tagName,
short __RPC_FAR *  nameSpaceID,
BSTR __RPC_FAR *  nodeValue,
unsigned int __RPC_FAR *  numChildren,
unsigned int __RPC_FAR *  aUniqueID,
unsigned short __RPC_FAR *  nodeType 
) [virtual, inherited]

Definition at line 125 of file nsAccessNodeWrap.cpp.

{
  if (!mDOMNode)
    return E_FAIL;
 
  *aNodeName = nsnull;
  nsCOMPtr<nsIContent> content(do_QueryInterface(mDOMNode));

  PRUint16 nodeType = 0;
  mDOMNode->GetNodeType(&nodeType);
  *aNodeType=NS_STATIC_CAST(unsigned short, nodeType);

  if (*aNodeType !=  NODETYPE_TEXT) {
    nsAutoString nodeName;
    mDOMNode->GetNodeName(nodeName);
    *aNodeName =   ::SysAllocString(nodeName.get());
  }

  nsAutoString nodeValue;

  mDOMNode->GetNodeValue(nodeValue);
  *aNodeValue = ::SysAllocString(nodeValue.get());
  *aNameSpaceID = content ? NS_STATIC_CAST(short, content->GetNameSpaceID()) : 0;

  // This is a unique ID for every content node.  The 3rd party
  // accessibility application can compare this to the childID we
  // return for events such as focus events, to correlate back to
  // data nodes in their internal object model.
  void *uniqueID;
  GetUniqueID(&uniqueID);
  *aUniqueID = - NS_PTR_TO_INT32(uniqueID);

  *aNumChildren = 0;
  PRUint32 numChildren = 0;
  nsCOMPtr<nsIDOMNodeList> nodeList;
  mDOMNode->GetChildNodes(getter_AddRefs(nodeList));
  if (nodeList && NS_OK == nodeList->GetLength(&numChildren))
    *aNumChildren = NS_STATIC_CAST(unsigned int, numChildren);

  return S_OK;
}

Here is the call graph for this function:

STDMETHODIMP nsAccessNodeWrap::get_parentNode ( ISimpleDOMNode __RPC_FAR *__RPC_FAR *  node) [virtual, inherited]

Definition at line 422 of file nsAccessNodeWrap.cpp.

{
  if (!mDOMNode)
    return E_FAIL;
 
  nsCOMPtr<nsIDOMNode> node;
  mDOMNode->GetParentNode(getter_AddRefs(node));
  *aNode = MakeAccessNode(node);

  return S_OK;
}

Here is the call graph for this function:

STDMETHODIMP nsAccessNodeWrap::get_previousSibling ( ISimpleDOMNode __RPC_FAR *__RPC_FAR *  node) [virtual, inherited]

Definition at line 458 of file nsAccessNodeWrap.cpp.

{
  if (!mDOMNode)
    return E_FAIL;

  nsCOMPtr<nsIDOMNode> node;
  mDOMNode->GetPreviousSibling(getter_AddRefs(node));
  *aNode = MakeAccessNode(node);

  return S_OK;
}

Here is the call graph for this function:

void nsAccessNodeWrap::GetAccessibleFor ( nsIDOMNode node,
nsIAccessible **  newAcc 
) [protected, inherited]

Definition at line 67 of file nsMaiHyperlink.h.

                                                  {
        return mHyperlink;
    }

Here is the caller graph for this function:

AtkHyperlink * MaiHyperlink::GetAtkHyperlink ( void  )

Definition at line 151 of file nsMaiHyperlink.cpp.

Here is the call graph for this function:

Here is the caller graph for this function:

void nsAccessNode::GetCacheEntry ( nsInterfaceHashtable< nsVoidHashKey, nsIAccessNode > &  aCache,
void aUniqueID,
nsIAccessNode **  aAccessNode 
) [static, inherited]

Definition at line 520 of file nsAccessNode.cpp.

{
  aCache.Get(aUniqueID, aAccessNode);  // AddRefs for us
}

Here is the call graph for this function:

Here is the caller graph for this function:

Get the nth child of this node.

Parameters:
childNumZero-based child index
Returns:
The nth nsIAccessNode child
NS_IMETHODIMP nsAccessNodeWrap::GetComputedStyleDeclaration ( nsIDOMCSSStyleDeclaration **  aCssDecl,
PRUint32 aLength 
) [protected, inherited]

Definition at line 257 of file nsAccessNodeWrap.cpp.

{
  nsCOMPtr<nsIContent> content(do_QueryInterface(mDOMNode));
  if (!content) 
    return NS_ERROR_FAILURE;   

  if (content->IsContentOfType(nsIContent::eTEXT)) {
    content = content->GetParent();
    NS_ASSERTION(content, "No parent for text node");
  }

  nsCOMPtr<nsIDOMElement> domElement(do_QueryInterface(content));
  nsCOMPtr<nsIDocument> doc = content->GetDocument();

  if (!domElement || !doc) {
    return NS_ERROR_FAILURE;
  }

  nsCOMPtr<nsIDOMViewCSS> viewCSS(do_QueryInterface(doc->GetScriptGlobalObject()));

  if (!viewCSS)
    return NS_ERROR_FAILURE;   

  nsCOMPtr<nsIDOMCSSStyleDeclaration> cssDecl;
  nsAutoString empty;
  viewCSS->GetComputedStyle(domElement, empty, getter_AddRefs(cssDecl));
  if (cssDecl) {
    *aCssDecl = cssDecl;
    NS_ADDREF(*aCssDecl);
    cssDecl->GetLength(aLength);
    return NS_OK;
  }
  return NS_ERROR_FAILURE;
}

Here is the call graph for this function:

Here is the caller graph for this function:

DOMString nsIAccessNode::getComputedStyleValue ( in DOMString  pseudoElt,
in DOMString  propertyName 
) [inherited]

Retrieve the computed style value for this DOM node, if it is a DOM element.

Note: the meanings of width, height and other size measurements depend on the version of CSS being used. Therefore, for bounds information, it is better to use nsIAccessible::accGetBounds.

Parameters:
pseudoEltThe pseudo element to retrieve style for, or NULL for general computed style information for this node.
propertyNameRetrieve the computed style value for this property name, for example "border-bottom".

Definition at line 245 of file nsAccessNode.cpp.

{
  return GetDocAccessibleFor(mWeakShell); // Addref'd
}

Here is the call graph for this function:

Here is the caller graph for this function:

Definition at line 440 of file nsAccessNode.cpp.

{
  nsIAccessibleDocument *docAccessible = nsnull;
  nsCOMPtr<nsIAccessNode> accessNode;
  gGlobalDocAccessibleCache.Get(NS_STATIC_CAST(void*, aPresShell), getter_AddRefs(accessNode));
  if (accessNode) {
    CallQueryInterface(accessNode, &docAccessible);
  }
  return docAccessible;
}

Here is the call graph for this function:

Here is the caller graph for this function:

already_AddRefed< nsIAccessibleDocument > nsAccessNode::GetDocAccessibleFor ( nsISupports *  aContainer) [static, inherited]

Definition at line 452 of file nsAccessNode.cpp.

{
  nsCOMPtr<nsIDocShell> docShell(do_QueryInterface(aContainer));
  NS_ASSERTION(docShell, "This method currently only supports docshells");
  nsCOMPtr<nsIPresShell> presShell;
  docShell->GetPresShell(getter_AddRefs(presShell));
  nsCOMPtr<nsIWeakReference> weakShell(do_GetWeakReference(presShell));
  return weakShell ? GetDocAccessibleFor(weakShell) : nsnull;
}

Here is the call graph for this function:

Definition at line 463 of file nsAccessNode.cpp.

{
  nsCOMPtr<nsIPresShell> eventShell = GetPresShellFor(aNode);
  nsCOMPtr<nsIWeakReference> weakEventShell(do_GetWeakReference(eventShell));
  return weakEventShell? GetDocAccessibleFor(weakEventShell) : nsnull;
}

Here is the call graph for this function:

Definition at line 489 of file nsAccessNode.cpp.

{
  nsCOMPtr<nsIDOMDocument> domDoc;
  aStartNode->GetOwnerDocument(getter_AddRefs(domDoc));
  nsCOMPtr<nsIDocument> doc(do_QueryInterface(domDoc));
  if (!doc) {
    doc = do_QueryInterface(aStartNode);
  }
  NS_ASSERTION(doc, "No document for node passed in");
  NS_ENSURE_TRUE(doc, nsnull);
  nsCOMPtr<nsISupports> container = doc->GetContainer();
  nsIDocShellTreeItem *docShellTreeItem = nsnull;
  if (container) {
    CallQueryInterface(container, &docShellTreeItem);
  }

  return docShellTreeItem;
}

Here is the call graph for this function:

Here is the caller graph for this function:

Here is the caller graph for this function:

nsPresContext * nsAccessNode::GetPresContext ( ) [protected, inherited]

Definition at line 236 of file nsAccessNode.cpp.

{
  nsCOMPtr<nsIPresShell> presShell(GetPresShell());
  if (!presShell) {
    return nsnull;
  }
  return presShell->GetPresContext();
}

Here is the call graph for this function:

Here is the caller graph for this function:

Definition at line 219 of file nsAccessNode.cpp.

{
  nsIPresShell *presShell = nsnull;
  if (mWeakShell)
    CallQueryReferent(mWeakShell.get(), &presShell);
  if (!presShell) {
    if (mWeakShell) {
      // If our pres shell has died, but we're still holding onto
      // a weak reference, our accessibles are no longer relevant
      // and should be shut down
      Shutdown();
    }
    return nsnull;
  }
  return presShell;
}

Here is the call graph for this function:

Here is the caller graph for this function:

already_AddRefed< nsIPresShell > nsAccessNode::GetPresShellFor ( nsIDOMNode aStartNode) [static, inherited]

Definition at line 471 of file nsAccessNode.cpp.

{
  nsCOMPtr<nsIDOMDocument> domDocument;
  aNode->GetOwnerDocument(getter_AddRefs(domDocument));
  nsCOMPtr<nsIDocument> doc(do_QueryInterface(domDocument));
  if (!doc) {   // This is necessary when the node is the document node
    doc = do_QueryInterface(aNode);
  }
  nsIPresShell *presShell = nsnull;
  if (doc) {
    presShell = doc->GetShellAt(0);
    NS_IF_ADDREF(presShell);
  }
  return presShell;
}

Here is the call graph for this function:

Here is the caller graph for this function:

static PRBool nsAccessNode::GetRoleAttribute ( nsIContent aContent,
nsAString &  aRole 
) [inline, static, inherited]

Definition at line 135 of file nsAccessNode.h.

    {
      aRole.Truncate();
      return (aContent->IsContentOfType(nsIContent::eHTML) && aContent->GetAttr(kNameSpaceID_None, nsAccessibilityAtoms::role, aRole) != NS_CONTENT_ATTR_NOT_THERE) ||
              aContent->GetAttr(kNameSpaceID_XHTML, nsAccessibilityAtoms::role, aRole) != NS_CONTENT_ATTR_NOT_THERE ||
              aContent->GetAttr(kNameSpaceID_XHTML2_Unofficial, nsAccessibilityAtoms::role, aRole) != NS_CONTENT_ATTR_NOT_THERE;
    }

Here is the call graph for this function:

Here is the caller graph for this function:

Definition at line 142 of file nsMaiHyperlink.cpp.

{
    if (!mHyperlink)
        return NS_ERROR_FAILURE;
    *aUniqueID = NS_STATIC_CAST(void*, mHyperlink.get());
    return NS_OK;
}

Here is the call graph for this function:

static PRBool nsAccessNode::HasRoleAttribute ( nsIContent aContent) [inline, static, inherited]

Definition at line 127 of file nsAccessNode.h.

    {
      return (aContent->IsContentOfType(nsIContent::eHTML) && aContent->HasAttr(kNameSpaceID_None, nsAccessibilityAtoms::role)) ||
              aContent->HasAttr(kNameSpaceID_XHTML, nsAccessibilityAtoms::role) ||
              aContent->HasAttr(kNameSpaceID_XHTML2_Unofficial, nsAccessibilityAtoms::role);
    }

Here is the call graph for this function:

Here is the caller graph for this function:

void nsPIAccessNode::init ( ) [inherited]
static void nsAccessNodeWrap::InitAccessibility ( ) [static, inherited]
void nsAccessNodeWrap::InitAccessibility ( ) [static, inherited]

Definition at line 67 of file nsAccessNodeWrap.cpp.

Here is the call graph for this function:

Here is the caller graph for this function:

static void nsAccessNodeWrap::InitAccessibility ( ) [static, inherited]
static void nsAccessNodeWrap::InitAccessibility ( ) [static, inherited]
nsresult MaiHyperlink::Initialize ( AtkHyperlink *  aObj,
MaiHyperlink aClass 
) [static]

Definition at line 181 of file nsMaiHyperlink.cpp.

{
    NS_ENSURE_ARG(MAI_IS_ATK_HYPERLINK(aObj));
    NS_ENSURE_ARG(aHyperlink);

    /* initialize hyperlink */
    MAI_ATK_HYPERLINK(aObj)->maiHyperlink = aHyperlink;
    MAI_ATK_HYPERLINK(aObj)->uri = nsnull;
    return NS_OK;
}

Here is the caller graph for this function:

void nsAccessNode::InitXPAccessibility ( ) [static, inherited]

Definition at line 172 of file nsAccessNode.cpp.

{
  if (gIsAccessibilityActive) {
    return;
  }

  nsCOMPtr<nsIStringBundleService> stringBundleService =
    do_GetService(NS_STRINGBUNDLE_CONTRACTID);
  if (stringBundleService) {
    // Static variables are released in ShutdownAllXPAccessibility();
    stringBundleService->CreateBundle(ACCESSIBLE_BUNDLE_URL, 
                                      &gStringBundle);
    stringBundleService->CreateBundle(PLATFORM_KEYS_BUNDLE_URL, 
                                      &gKeyStringBundle);
  }

  nsAccessibilityAtoms::AddRefAtoms();

  gGlobalDocAccessibleCache.Init(4);

  nsCOMPtr<nsIPrefBranch> prefBranch(do_GetService(NS_PREFSERVICE_CONTRACTID));
  if (prefBranch) {
    prefBranch->GetBoolPref("accessibility.disablecache", &gIsCacheDisabled);
  }

  gIsAccessibilityActive = PR_TRUE;
}

Here is the call graph for this function:

Here is the caller graph for this function:

ISimpleDOMNode * nsAccessNodeWrap::MakeAccessNode ( nsIDOMNode node) [protected, inherited]

Definition at line 372 of file nsAccessNodeWrap.cpp.

{
  if (!node) 
    return NULL;

  nsAccessNodeWrap *newNode = NULL;
  
  nsCOMPtr<nsIContent> content(do_QueryInterface(node));
  nsCOMPtr<nsIDocument> doc;

  if (content) 
    doc = content->GetDocument();
  else {
    // Get the document via QueryInterface, since there is no content node
    doc = do_QueryInterface(node);
    content = do_QueryInterface(node);
  }

  if (!doc)
    return NULL;

  nsCOMPtr<nsIAccessibilityService> accService(do_GetService("@mozilla.org/accessibilityService;1"));
  if (!accService)
    return NULL;

  ISimpleDOMNode *iNode = NULL;
  nsCOMPtr<nsIAccessible> nsAcc;
  accService->GetAccessibleInWeakShell(node, mWeakShell, getter_AddRefs(nsAcc));
  if (nsAcc) {
    nsCOMPtr<nsIAccessNode> accessNode(do_QueryInterface(nsAcc));
    NS_ASSERTION(accessNode, "nsIAccessible impl does not inherit from nsIAccessNode");
    IAccessible *msaaAccessible;
    nsAcc->GetNativeInterface((void**)&msaaAccessible); // addrefs
    msaaAccessible->QueryInterface(IID_ISimpleDOMNode, (void**)&iNode); // addrefs
    msaaAccessible->Release(); // Release IAccessible
  }
  else {
    newNode = new nsAccessNodeWrap(node, mWeakShell);
    if (!newNode)
      return NULL;

    newNode->Init();
    iNode = NS_STATIC_CAST(ISimpleDOMNode*, newNode);
    iNode->AddRef();
  }

  return iNode;
}

Here is the call graph for this function:

Here is the caller graph for this function:

nsresult nsAccessNode::MakeAccessNode ( nsIDOMNode aNode,
nsIAccessNode **  aAccessNode 
) [protected, inherited]

Definition at line 312 of file nsAccessNode.cpp.

{
  nsCOMPtr<nsIAccessibilityService> accService = 
    do_GetService("@mozilla.org/accessibilityService;1");
  NS_ENSURE_TRUE(accService, NS_ERROR_FAILURE);

  nsCOMPtr<nsIAccessNode> accessNode;
  accService->GetCachedAccessNode(aNode, mWeakShell, getter_AddRefs(accessNode));

  if (!accessNode) {
    nsCOMPtr<nsIAccessible> accessible;
    accService->GetAccessibleInWeakShell(aNode, mWeakShell, 
                                         getter_AddRefs(accessible));
    
    accessNode = do_QueryInterface(accessible);
  }

  if (accessNode) {
    NS_ADDREF(*aAccessNode = accessNode);
    return NS_OK;
  }

  nsAccessNode *newAccessNode = new nsAccessNode(aNode, mWeakShell);
  if (!newAccessNode) {
    return NS_ERROR_OUT_OF_MEMORY;
  }

  NS_ADDREF(*aAccessNode = newAccessNode);
  newAccessNode->Init();

  return NS_OK;
}

Here is the call graph for this function:

void nsAccessNode::PutCacheEntry ( nsInterfaceHashtable< nsVoidHashKey, nsIAccessNode > &  aCache,
void aUniqueID,
nsIAccessNode aAccessNode 
) [static, inherited]

Definition at line 508 of file nsAccessNode.cpp.

{
#ifdef DEBUG
  nsCOMPtr<nsIAccessNode> oldAccessNode;
  GetCacheEntry(aCache, aUniqueID, getter_AddRefs(oldAccessNode));
  NS_ASSERTION(!oldAccessNode, "This cache entry shouldn't exist already");
#endif
  aCache.Put(aUniqueID, aAccessNode);
}

Here is the call graph for this function:

Here is the caller graph for this function:

virtual long IUnknown::QueryInterface ( ) [pure virtual, inherited]

Here is the caller graph for this function:

STDMETHODIMP nsAccessNodeWrap::QueryInterface ( REFIID  iid,
void **  ppv 
) [inherited]

Reimplemented in nsAccessibleWrap, nsTextAccessibleWrap, and nsDocAccessibleWrap.

Definition at line 106 of file nsAccessNodeWrap.cpp.

{
  *ppv = nsnull;

  if (IID_IUnknown == iid || IID_ISimpleDOMNode == iid)
    *ppv = NS_STATIC_CAST(ISimpleDOMNode*, this);

  if (nsnull == *ppv)
    return E_NOINTERFACE;      //iid not supported.
   
  (NS_REINTERPRET_CAST(IUnknown*, *ppv))->AddRef(); 
  return S_OK;
}

Here is the call graph for this function:

Here is the caller graph for this function:

NS_IMETHOD nsAccessNode::QueryInterface ( REFNSIID  aIID,
void **  aInstancePtr 
) [inherited]

Here is the caller graph for this function:

virtual long IUnknown::Release ( ) [pure virtual, inherited]

Here is the caller graph for this function:

STDMETHODIMP nsAccessNodeWrap::scrollTo ( boolean  scrollTopLeft) [virtual, inherited]

Implements ISimpleDOMNode.

Definition at line 352 of file nsAccessNodeWrap.cpp.

{
  nsCOMPtr<nsIPresShell> shell(GetPresShell());
  if (!mDOMNode || !shell) {
    return E_FAIL;
  }

  nsIFrame *frame = GetFrame();

  if (frame) {
    PRInt32 percent = NS_PRESSHELL_SCROLL_ANYWHERE;
    if (aScrollTopLeft)
      percent = 0;
    return shell->ScrollFrameIntoView(frame, percent, percent);
  }

  return E_FAIL;
}

Here is the call graph for this function:

void nsPIAccessNode::shutdown ( ) [inherited]
static void nsAccessNodeWrap::ShutdownAccessibility ( ) [static, inherited]
static void nsAccessNodeWrap::ShutdownAccessibility ( ) [static, inherited]

Definition at line 72 of file nsAccessNodeWrap.cpp.

{
  nsAccessNode::ShutdownXPAccessibility();

  // Shutdown accessibility for ATK
  nsAppRootAccessible::Unload();
}

Here is the call graph for this function:

Here is the caller graph for this function:

static void nsAccessNodeWrap::ShutdownAccessibility ( ) [static, inherited]

Definition at line 200 of file nsAccessNode.cpp.

{
  // Called by nsAccessibilityService::Shutdown()
  // which happens when xpcom is shutting down
  // at exit of program

  if (!gIsAccessibilityActive) {
    return;
  }
  NS_IF_RELEASE(gStringBundle);
  NS_IF_RELEASE(gKeyStringBundle);
  NS_IF_RELEASE(gDoCommandTimer);
  NS_IF_RELEASE(gLastFocusedNode);

  ClearCache(gGlobalDocAccessibleCache);

  gIsAccessibilityActive = PR_FALSE;
}

Here is the call graph for this function:

Here is the caller graph for this function:


Member Data Documentation

The nsIAccessibleDocument that this nsIAccessNode resides in.

Definition at line 109 of file nsIAccessNode.idl.

The DOM node this nsIAccessNode is associated with.

Definition at line 64 of file nsIAccessNode.idl.

The first nsIAccessNode child.

Definition at line 88 of file nsIAccessNode.idl.

nsITimer * nsAccessNode::gDoCommandTimer = 0 [static, protected, inherited]

Definition at line 164 of file nsAccessNode.h.

Definition at line 168 of file nsAccessNode.h.

PRBool nsAccessNode::gIsAccessibilityActive = PR_FALSE [static, protected, inherited]

Definition at line 165 of file nsAccessNode.h.

PRBool nsAccessNode::gIsCacheDisabled = PR_FALSE [static, protected, inherited]

Definition at line 166 of file nsAccessNode.h.

PRBool nsAccessNodeWrap::gIsEnumVariantSupportDisabled = 0 [static, protected, inherited]

Definition at line 141 of file nsAccessNodeWrap.h.

nsIStringBundle * nsAccessNode::gKeyStringBundle = 0 [static, protected, inherited]

Definition at line 163 of file nsAccessNode.h.

nsIDOMNode * nsAccessNode::gLastFocusedNode = 0 [static, inherited]

Definition at line 143 of file nsAccessNode.h.

LPFNACCESSIBLEOBJECTFROMWINDOW nsAccessNodeWrap::gmAccessibleObjectFromWindow = nsnull [static, inherited]

Definition at line 132 of file nsAccessNodeWrap.h.

the accessible library and cached methods

Definition at line 130 of file nsAccessNodeWrap.h.

Definition at line 134 of file nsAccessNodeWrap.h.

Definition at line 133 of file nsAccessNodeWrap.h.

Definition at line 131 of file nsAccessNodeWrap.h.

nsIStringBundle * nsAccessNode::gStringBundle = 0 [static, protected, inherited]

Definition at line 162 of file nsAccessNode.h.

readonly attribute DOMString nsIAccessNode::innerHTML [inherited]

The innerHTML for the DOM node This is a text string of all the markup inside the DOM node, not including the start and end tag for the node.

Definition at line 116 of file nsIAccessNode.idl.

The last nsIAccessNode child.

Definition at line 93 of file nsIAccessNode.idl.

nsCOMPtr<nsIDOMNode> nsAccessNode::mDOMNode [protected, inherited]

Definition at line 151 of file nsAccessNode.h.

Definition at line 72 of file nsMaiHyperlink.h.

AtkHyperlink* MaiHyperlink::mMaiAtkHyperlink [protected]

Definition at line 73 of file nsMaiHyperlink.h.

PRInt32 nsAccessNode::mRefCnt [protected, inherited]

Definition at line 154 of file nsAccessNode.h.

Definition at line 152 of file nsAccessNode.h.

The next nsIAccessNode sibling.

Definition at line 103 of file nsIAccessNode.idl.

const unsigned short ISimpleDOMNode::NODETYPE_ATTRIBUTE = 2 [inherited]

Definition at line 148 of file ISimpleDOMNode.idl.

const unsigned short ISimpleDOMNode::NODETYPE_CDATA_SECTION = 4 [inherited]

Definition at line 150 of file ISimpleDOMNode.idl.

const unsigned short ISimpleDOMNode::NODETYPE_COMMENT = 8 [inherited]

Definition at line 154 of file ISimpleDOMNode.idl.

const unsigned short ISimpleDOMNode::NODETYPE_DOCUMENT = 9 [inherited]

Definition at line 155 of file ISimpleDOMNode.idl.

const unsigned short ISimpleDOMNode::NODETYPE_DOCUMENT_FRAGMENT = 11 [inherited]

Definition at line 157 of file ISimpleDOMNode.idl.

const unsigned short ISimpleDOMNode::NODETYPE_DOCUMENT_TYPE = 10 [inherited]

Definition at line 156 of file ISimpleDOMNode.idl.

const unsigned short ISimpleDOMNode::NODETYPE_ELEMENT = 1 [inherited]

Definition at line 147 of file ISimpleDOMNode.idl.

const unsigned short ISimpleDOMNode::NODETYPE_ENTITY = 6 [inherited]

Definition at line 152 of file ISimpleDOMNode.idl.

const unsigned short ISimpleDOMNode::NODETYPE_ENTITY_REFERENCE = 5 [inherited]

Definition at line 151 of file ISimpleDOMNode.idl.

const unsigned short ISimpleDOMNode::NODETYPE_NOTATION = 12 [inherited]

Definition at line 158 of file ISimpleDOMNode.idl.

Definition at line 153 of file ISimpleDOMNode.idl.

const unsigned short ISimpleDOMNode::NODETYPE_TEXT = 3 [inherited]

Definition at line 149 of file ISimpleDOMNode.idl.

The number of DOM children for the DOM node, which matches the number of nsIAccessNode children for this nsIAccessNode.

Definition at line 71 of file nsIAccessNode.idl.

readonly attribute voidPtr nsIAccessNode::ownerWindow [inherited]

The OS window handle for the window this node is being displayed in.

Definition at line 122 of file nsIAccessNode.idl.

The parent nsIAccessNode.

Definition at line 83 of file nsIAccessNode.idl.

The previous nsIAccessNode sibling.

Definition at line 98 of file nsIAccessNode.idl.

readonly attribute voidPtr nsIAccessNode::uniqueID [inherited]

A unique ID calculated for this DOM node, for the purposes of caching and referencing this object.

Definition at line 128 of file nsIAccessNode.idl.


Property Documentation

short ISimpleDOMNode::attributes([in] short maxAttribs, [out, size_is(maxAttribs), length_is(*numAttribs)] BSTR attribNames, [out, size_is(maxAttribs), length_is(*numAttribs)] short nameSpaceID, [out, size_is(maxAttribs), length_is(*numAttribs)] BSTR attribValues) [get, inherited]
BSTR ISimpleDOMNode::attributesForNames([in] short numAttribs, [in, size_is(numAttribs), length_is(numAttribs)] BSTR attribNames, [in, size_is(numAttribs), length_is(numAttribs)] short nameSpaceID) [get, inherited]
ISimpleDOMNode ISimpleDOMNode::childAt([in] unsigned childIndex) [get, inherited]
short ISimpleDOMNode::computedStyle([in] short maxStyleProperties, [in] boolean useAlternateView, [out, size_is(maxStyleProperties), length_is(*numStyleProperties)] BSTR styleProperties, [out, size_is(maxStyleProperties), length_is(*numStyleProperties)] BSTR styleValues) [get, inherited]
BSTR ISimpleDOMNode::computedStyleForProperties([in] short numStyleProperties, [in] boolean useAlternateView, [in, size_is(numStyleProperties), length_is(numStyleProperties)] BSTR styleProperties) [get, inherited]
BSTR ISimpleDOMNode::innerHTML [get, inherited]
BSTR ISimpleDOMNode::language [get, inherited]
short ISimpleDOMNode::nodeInfo([out] BSTR nodeName, [out] short nameSpaceID, [out] BSTR nodeValue, [out] int numChildren, [out] int uniqueID) [get, inherited]

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