public static final class Contexts.Builder extends 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
|Modifier and Type||Method and Description|
Generates context based on values previously inserted into this builder.
Registers new technology into the context.
public Builder(Object context)
public <Tech> Contexts.Builder register(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
IllegalStateException- if the position isn't higher than
Copyright © 2021 The Apache Software Foundation. All rights reserved.