Back to index

lightning-sunbird  0.9+nobinonly
Functions | Variables
nsXFormsRangeAccessors.cpp File Reference
#include "nsXFormsRangeAccessors.h"
#include "nsDOMString.h"
#include "nsIDOMElement.h"
#include "nsString.h"
#include "nsXFormsUtils.h"

Go to the source code of this file.

Functions

 NS_IMPL_ISUPPORTS_INHERITED2 (nsXFormsRangeAccessors, nsXFormsRangeConditionAccessors, nsIXFormsRangeAccessors, nsIClassInfo) nsresult nsXFormsRangeAccessors

Variables

static const nsIID sScriptingIIDs []

Function Documentation

Definition at line 45 of file nsXFormsRangeAccessors.cpp.

{
  nsAutoString val;
  if (mElement) {
    mElement->GetAttribute(aAttr, val);
  }
  if (val.IsEmpty()) {
    SetDOMStringToNull(aVal);
  } else {
    aVal = val;
  }

  return NS_OK;
}

Here is the call graph for this function:


Variable Documentation

Initial value:
 {
  NS_IXFORMSACCESSORS_IID,
  NS_IXFORMSRANGECONDITIONACCESSORS_IID,
  NS_IXFORMSRANGEACCESSORS_IID
}

Definition at line 96 of file nsXFormsRangeAccessors.cpp.