Java Access to DOM Extensions
The AOM's extensions to DOM are represented by companion interfaces that start with the letter A, for example, ANode is the extension to the W3C Node interface, ADocument is the extension to the Document interface, and so on.
In Java, these interfaces can be obtained from their related objects by using the casting methods. For instance:
Document doc = Application.getActiveDocument();
Range r = ((ADocument)doc).getInsertionPoint();