|
![]() |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES All Classes | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.ObjectCommonDOM
@Deprecated @ThreadSafe public final class CommonDOM
Utilities for the Common DOM API of the Java Plug-in. The single instance of CommonDOM is available via CommonDOM.i().
Deprecated in favour of Rhinohide.
Constructor Summary | |
---|---|
CommonDOM(DOMAccessor accessor)
Deprecated. Creates the single instance of CommonDOM, and makes it available via i(). |
Method Summary | |
---|---|
static CommonDOM |
i()
Deprecated. The single instance of CommonDOM. |
boolean |
isDispatchThread()
Deprecated. Returns true if the calling thread is probably the DOM access dispatch thread. |
static void |
tryInvokeAndWait(DOMService service,
DOMAction action)
Deprecated. A version of invokeAndWait() that throws only unchecked exceptions. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
@ThreadRestricted(value="DOM access dispatch") public CommonDOM(DOMAccessor accessor)
accessor
- not used, except to remind you
of the thread restriction, which cannot otherwise
be tested for compliance within this constructorMethod Detail |
---|
public static CommonDOM i()
public boolean isDispatchThread()
Note: The method used here is imperfect. It is intended only for assertions, during development, to catch coding errors.
public static void tryInvokeAndWait(DOMService service, DOMAction action)
service
- to useaction
- to invoke
RuntimeException
- if a DOMAccessException occurs
|
![]() |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES All Classes | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |