An interface for in-process accessibility clients
 that wish to retrieve information about a document.
 When accessibility is turned on in Gecko,
 there is an nsIAccessibleDocument for each document
 whether it is XUL, HTML or whatever.
 You can QueryInterface to nsIAccessibleDocument from
 the nsIAccessible or nsIAccessNode for the root node
 of a document. You can also get one from 
 nsIAccessNode::GetAccessibleDocument() or 
 nsIAccessibleEvent::GetAccessibleDocument()

 @status UNDER_REVIEW
[scriptable, uuid(8781fc88-355f-4439-881f-6504a0a1ceb6)]
interface nsIAccessibleDocument : nsISupports

Attributes

 The URL of the document
readonly attribute AString URL

          
readonly attribute nsIAccessible caretAccessible
 The doc type of the document, as specified in the document.
readonly attribute AString docType
 The nsIDOMDocument interface associated with this document.
readonly attribute nsIDOMDocument document
 True if the document is live in an editor.
 False if the document is being displayed but not edited. 
 If a <div> is contentEditable, then it has its own document, 
 with isEditable == true.
readonly attribute boolean isEditable
 The mime type of the document
readonly attribute AString mimeType
 The title of the document, as specified in the document.
readonly attribute AString title
 The nsIDOMWindow that the document resides in.
readonly attribute nsIDOMWindow window
 The window handle for the OS window the document is being displayed in.
 For example, in Windows you can static cast it to an HWND.
[noscript] readonly attribute voidPtr windowHandle

Methods

 Returns the first accessible parent of a DOM node.
 Guaranteed not to return nsnull if the DOM node is in a document.
 @param aDOMNode The DOM node we need an accessible for.
 @return An first nsIAccessible found by crawling up the DOM node
         to the document root.
nsIAccessible getAccessibleInParentChain(in nsIDOMNode aDOMNode)
 Returns the access node cached by this document
 @param aUniqueID The unique ID used to cache the node.
                  This matches up with the uniqueID attribute on
                  nsIAccessNode.
 @return The nsIAccessNode cached for this particular unique ID.
[noscript] nsIAccessNode getCachedAccessNode(in voidPtr aUniqueID)
 The namespace for each ID that is handed back.
AString getNameSpaceURIForID(in short nameSpaceID)