public class Prologue extends Object
Constructor and Description |
---|
Prologue() |
Prologue(PrefixMap pmap,
IRIResolver resolver) |
Prologue(Prologue other) |
Modifier and Type | Method and Description |
---|---|
Prologue |
copy() |
static Prologue |
create(String base,
PrefixMapping pmapping) |
boolean |
explicitlySetBaseURI() |
String |
getBaseURI() |
PrefixMap |
getPrefixMap()
Return the prefix map from the parsed query
|
IRIResolver |
getResolver()
Get the IRI resolver
|
void |
setBaseURI(org.apache.jena.iri.IRI iri) |
void |
setBaseURI(IRIResolver resolver) |
void |
setBaseURI(String baseURI) |
void |
setPrefix(String prefix,
String expansion)
Set a prefix for this query
|
void |
setPrefixMapping(PrefixMap pmap)
Set the mapping
|
void |
setResolver(IRIResolver resolver)
Set the IRI resolver
|
Prologue |
sub(PrefixMap newMappings) |
Prologue |
sub(PrefixMap newMappings,
String base) |
Prologue |
sub(String base) |
void |
usePrologueFrom(Prologue other) |
public Prologue()
public Prologue(PrefixMap pmap, IRIResolver resolver)
public Prologue(Prologue other)
public static Prologue create(String base, PrefixMapping pmapping)
public Prologue copy()
public void usePrologueFrom(Prologue other)
public boolean explicitlySetBaseURI()
public String getBaseURI()
public void setBaseURI(String baseURI)
baseURI
- The baseURI to set.public void setBaseURI(org.apache.jena.iri.IRI iri)
public void setBaseURI(IRIResolver resolver)
resolver
- IRI resolverpublic PrefixMap getPrefixMap()
public void setPrefixMapping(PrefixMap pmap)
public IRIResolver getResolver()
public void setResolver(IRIResolver resolver)
Licenced under the Apache License, Version 2.0