public class WonMessageBuilder
extends java.lang.Object
| Modifier and Type | Field and Description |
|---|---|
static java.lang.String |
CONTENT_URI_SUFFIX |
| Constructor and Description |
|---|
WonMessageBuilder() |
| Modifier and Type | Method and Description |
|---|---|
static ActivateBuilder |
activate() |
WonMessageBuilder |
addToMessageResource(org.apache.jena.rdf.model.Property property,
java.util.Collection<java.net.URI> uriValues)
Adds the specified property once with each value.
|
WonMessageBuilder |
addToMessageResource(org.apache.jena.rdf.model.Property property,
java.net.URI... uriValues)
Adds the specified property once with each value.
|
static AtomCreatedNotificationBuilder |
atomCreatedNotification() |
static AtomHintBuilder |
atomHint() |
static AtomMessageBuilder |
atomMessage() |
WonMessage |
build(org.apache.jena.query.Dataset dataset)
Builds a WonMessage by adding data to the specified dataset.
|
static ChangeNotificationBuilder |
changeNotificatin() |
static CloseBuilder |
close() |
static ConnectBuilder |
connect() |
static ConnectionMessageBuilder |
connectionMessage() |
static CreateAtomBuilder |
createAtom() |
static DeactivateBuilder |
deactivate() |
static DeleteBuilder |
delete() |
static HintFeedbackMessageBuilder |
hintFeedbackMessage() |
static ReplaceBuilder |
replace() |
static ResponseBuilder |
response() |
static SocketHintBuilder |
socketHint() |
WonMessageBuilder |
withContentGraph(java.util.function.Consumer<org.apache.jena.rdf.model.Model> dataAdder)
Exposes the content graph, which is passed to the specified Consumer.
|
WonMessageBuilder |
withMessageResource(java.util.function.Consumer<org.apache.jena.rdf.model.Resource> dataAdder) |
public static final java.lang.String CONTENT_URI_SUFFIX
public static CloseBuilder close()
public static ConnectionMessageBuilder connectionMessage()
public static ConnectBuilder connect()
public static ResponseBuilder response()
public static CreateAtomBuilder createAtom()
public static ReplaceBuilder replace()
public static DeactivateBuilder deactivate()
public static ActivateBuilder activate()
public static AtomMessageBuilder atomMessage()
public static AtomCreatedNotificationBuilder atomCreatedNotification()
public static HintFeedbackMessageBuilder hintFeedbackMessage()
public static DeleteBuilder delete()
public static ChangeNotificationBuilder changeNotificatin()
public static AtomHintBuilder atomHint()
public static SocketHintBuilder socketHint()
public WonMessage build(org.apache.jena.query.Dataset dataset) throws WonMessageBuilderException
dataset - WonMessageBuilderExceptionpublic WonMessageBuilder withMessageResource(java.util.function.Consumer<org.apache.jena.rdf.model.Resource> dataAdder)
public WonMessageBuilder withContentGraph(java.util.function.Consumer<org.apache.jena.rdf.model.Model> dataAdder)
public WonMessageBuilder addToMessageResource(org.apache.jena.rdf.model.Property property, java.util.Collection<java.net.URI> uriValues)
property - the property to adduriValues - the values to add as objectspublic WonMessageBuilder addToMessageResource(org.apache.jena.rdf.model.Property property, java.net.URI... uriValues)
property - the property to adduriValues - the values to add as objectsCopyright © 2020. All Rights Reserved.