Module org.apache.jena.querybuilder
Class ConstructHandler
java.lang.Object
org.apache.jena.arq.querybuilder.handlers.ConstructHandler
- All Implemented Interfaces:
Handler
The handler for construct clauses.
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionvoid
addAll
(ConstructHandler handler) Add all the construct handlers from the handler argument to this construct.void
addConstruct
(org.apache.jena.graph.Triple t) Add a triple to the construct statement.void
build()
Called by the build process for this handler to perform any adjustments to the query before the build completes.void
Set the values for variables managed by the handler implementation.
-
Constructor Details
-
ConstructHandler
public ConstructHandler(org.apache.jena.query.Query query) The constructor- Parameters:
query
- The query that this handler will be modifying.
-
-
Method Details
-
addConstruct
public void addConstruct(org.apache.jena.graph.Triple t) Add a triple to the construct statement.- Parameters:
t
- The triple to add.
-
addAll
Add all the construct handlers from the handler argument to this construct.- Parameters:
handler
- The construct handler to copy from.
-
setVars
Description copied from interface:Handler
Set the values for variables managed by the handler implementation. This method is called by the builder to set values handled by this Handler implementation. -
build
public void build()Description copied from interface:Handler
Called by the build process for this handler to perform any adjustments to the query before the build completes. The adjustments are made after setVars() has been called.
-