public abstract class DOMService extends Object
| Constructor and Description | 
|---|
| DOMService()An empty constructor is provided. | 
| Modifier and Type | Method and Description | 
|---|---|
| static DOMService | getService(Object obj)Returns new instance of a DOMService. | 
| abstract Object | invokeAndWait(DOMAction action)Causes action.run() to be executed synchronously on the
 DOM action dispatching thread. | 
| abstract void | invokeLater(DOMAction action)Causes action.run() to be executed asynchronously on the
 DOM action dispatching thread. | 
public DOMService()
public static DOMService getService(Object obj) throws DOMUnsupportedException
obj - Object to leverage the DOMServiceDOMUnsupportedExceptionpublic abstract Object invokeAndWait(DOMAction action) throws DOMAccessException
action - DOMAction.DOMAccessExceptionpublic abstract void invokeLater(DOMAction action)
action - DOMAction. Submit a bug or feature
Java is a trademark or registered trademark of Oracle and/or its affiliates in the US and other countries.
 Copyright © 2005, 2025, Oracle and/or its affiliates. 500 Oracle Parkway
Redwood Shores, CA 94065 USA. All rights reserved.