public final class Contexts extends Object
| Modifier and Type | Class and Description |
|---|---|
static class |
Contexts.Builder
Support for providers of new
BrwsrCtx. |
static interface |
Contexts.Provider
Implementors of various HTML technologies should
register their implementation via
ServiceProvider so
ServiceProvider can find them, when their JARs are included
on the classpath of the running application. |
| Modifier and Type | Method and Description |
|---|---|
static <Tech> Tech |
find(BrwsrCtx context,
Class<Tech> technology)
Seeks for the specified technology in the provided context.
|
static Contexts.Builder |
newBuilder()
Creates new, empty builder for creation of
BrwsrCtx. |
public static Contexts.Builder newBuilder()
BrwsrCtx. At the
end call the #build() method to generate the context.public static <Tech> Tech find(BrwsrCtx context, Class<Tech> technology)
Tech - type of the technologycontext - the context to seek in
(previously filled with (Contexts.Builder.register(java.lang.Class, java.lang.Object, int))technology - class that identifies the technologyCopyright © 2014 NetBeans. All Rights Reserved.