public static final class Contexts.Builder extends java.lang.Object
BrwsrCtx. Providers of different technologies should be of particular interest in this class. End users designing their application with existing technologies should rather point their attention to
|Constructor and Description|
|Modifier and Type||Method and Description|
Generates context based on values previously inserted into this builder.
Registers new technology into the context.
public <Tech> Contexts.Builder register(java.lang.Class<Tech> type, Tech impl, int position)
Tech- type of technology to register
type- the real class of the technology type
impl- an instance of the technology class
position- the lower position (but higher than zero), the more important implementation which will be consulted sooner when seeking for a
Contexts.find(net.java.html.BrwsrCtx, java.lang.Class)an implementation
java.lang.IllegalStateException- if the position isn't higher than
Copyright © 2021 The Apache Software Foundation. All rights reserved.