[scriptable, uuid(a8b607fd-24b6-4a8c-9a89-d9b24f8e2592)]
interface nsIXTFElement : nsISupports

Constants


          
const unsigned long ELEMENT_TYPE_GENERIC_ELEMENT = 0

          
const unsigned long ELEMENT_TYPE_SVG_VISUAL = 1

          
const unsigned long ELEMENT_TYPE_XML_VISUAL = 2

          
const unsigned long ELEMENT_TYPE_XUL_VISUAL = 3

          
const unsigned long ELEMENT_TYPE_BINDABLE = 4

          
const unsigned long NOTIFY_WILL_CHANGE_DOCUMENT = 1

          
const unsigned long NOTIFY_DOCUMENT_CHANGED = 2

          
const unsigned long NOTIFY_WILL_CHANGE_PARENT = 4

          
const unsigned long NOTIFY_PARENT_CHANGED = 8

          
const unsigned long NOTIFY_WILL_INSERT_CHILD = 16

          
const unsigned long NOTIFY_CHILD_INSERTED = 32

          
const unsigned long NOTIFY_WILL_APPEND_CHILD = 64

          
const unsigned long NOTIFY_CHILD_APPENDED = 128

          
const unsigned long NOTIFY_WILL_REMOVE_CHILD = 256

          
const unsigned long NOTIFY_CHILD_REMOVED = 512

          
const unsigned long NOTIFY_WILL_SET_ATTRIBUTE = 1024

          
const unsigned long NOTIFY_ATTRIBUTE_SET = 2048

          
const unsigned long NOTIFY_WILL_REMOVE_ATTRIBUTE = 4096

          
const unsigned long NOTIFY_ATTRIBUTE_REMOVED = 8192

          
const unsigned long NOTIFY_BEGIN_ADDING_CHILDREN = 16384

          
const unsigned long NOTIFY_DONE_ADDING_CHILDREN = 32768

          
const unsigned long NOTIFY_HANDLE_DEFAULT = 65536

Attributes


          
readonly attribute unsigned long elementType

          
readonly attribute boolean isAttributeHandler

Methods


          
void attributeRemoved(in nsIAtom name)

          
void attributeSet(in nsIAtom name, in AString newValue)

          
void beginAddingChildren()

          
void childAppended(in nsIDOMNode child)

          
void childInserted(in nsIDOMNode child, in unsigned long index)

          
void childRemoved(in unsigned long index)

          
void cloneState(in nsIDOMElement aElement)

          
void documentChanged(in nsIDOMDocument newDoc)

          
void doneAddingChildren()

          
void getScriptingInterfaces(out unsigned long count, [array, retval, size_is(count)] out nsIIDPtr array)

          
boolean handleDefault(in nsIDOMEvent aEvent)

          
void onDestroyed()

          
void parentChanged(in nsIDOMElement newParent)

          
void willAppendChild(in nsIDOMNode child)

          
void willChangeDocument(in nsIDOMDocument newDoc)

          
void willChangeParent(in nsIDOMElement newParent)

          
void willInsertChild(in nsIDOMNode child, in unsigned long index)

          
void willRemoveAttribute(in nsIAtom name)

          
void willRemoveChild(in unsigned long index)

          
void willSetAttribute(in nsIAtom name, in AString newValue)