Class PrefixDeclarations
- java.lang.Object
-
- org.eclipse.rdf4j.sparqlbuilder.core.QueryElementCollection<T>
-
- org.eclipse.rdf4j.sparqlbuilder.core.StandardQueryElementCollection<Prefix>
-
- org.eclipse.rdf4j.sparqlbuilder.core.PrefixDeclarations
-
- All Implemented Interfaces:
QueryElement
public class PrefixDeclarations extends StandardQueryElementCollection<Prefix>
A collection of SPARQL Prefix declarations- See Also:
- SPARQL Prefix
-
-
Field Summary
-
Fields inherited from class org.eclipse.rdf4j.sparqlbuilder.core.QueryElementCollection
elements
-
-
Constructor Summary
Constructors Constructor Description PrefixDeclarations()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description PrefixDeclarations
addPrefix(Prefix... prefixes)
Add prefix declarations to this collection-
Methods inherited from class org.eclipse.rdf4j.sparqlbuilder.core.StandardQueryElementCollection
getQueryString, printBodyIfEmpty, printNameIfEmpty, resetWrapperMethod, setOperatorName, setOperatorName, setWrapperMethod
-
Methods inherited from class org.eclipse.rdf4j.sparqlbuilder.core.QueryElementCollection
addElements, addElements, isEmpty
-
-
-
-
Method Detail
-
addPrefix
public PrefixDeclarations addPrefix(Prefix... prefixes)
Add prefix declarations to this collection- Parameters:
prefixes
-- Returns:
- this
-
-