java.lang.Object
org.apache.jena.sparql.util.ContextAccumulator
Context builder component.
Use in a builder either inherited, or use as a component (implementation inheritance) with the following code:
ContextAccumulator contextAcc = ContextAccumulator.newBuilder(..) public MyBuilder set(Symbol symbol, Object value) { contextAcc.set(symbol, value); return this; } public MyBuilder set(Symbol symbol, boolean value) { contextAcc.set(symbol, value); return this; } public MyBuilder context(Context cxt) { contextAcc.context(cxt); return this; }
-
Method Summary
Modifier and TypeMethodDescriptionclone()
Duplicate.context()
Build and return.static ContextAccumulator
static ContextAccumulator
newBuilder
(Supplier<Context> baseSupplier) static ContextAccumulator
newBuilder
(Supplier<Context> baseSupplier, Supplier<Context> extraSupplier)
-
Method Details
-
newBuilder
-
newBuilder
-
newBuilder
public static ContextAccumulator newBuilder(Supplier<Context> baseSupplier, Supplier<Context> extraSupplier) -
set
-
set
-
context
-
context
Build and return. This will return the same object if called again with no intermediate updates. -
clone
Duplicate.
-