|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.apache.jena.riot.system.PrefixMapFactory
public class PrefixMapFactory
Factory which provides prefix maps
| Constructor Summary | |
|---|---|
PrefixMapFactory()
|
|
| Method Summary | |
|---|---|
static PrefixMap |
create()
Creates a new prefix map. |
static PrefixMap |
create(Map<String,String> pmap)
Creates a new prefix map,initialized from a Map of prefix to IRI string. |
static PrefixMap |
create(PrefixMap pmap)
Creates a new prefix map which starts with a copy of an existing prefix map. |
static PrefixMap |
create(PrefixMapping pmap)
Creates a new prefix map which starts with a copy of an existing map. |
static PrefixMap |
createForInput()
Creates a new prefix map which is intended for use in input. |
static PrefixMap |
createForInput(Map<String,String> pmap)
Creates a new prefix map, initialized from a Map of prefix to IRI string. |
static PrefixMap |
createForInput(PrefixMap pmap)
Creates a new prefix map which is intended for use in input which starts with a copy of an existing map |
static PrefixMap |
createForInput(PrefixMapping pmap)
Creates a new prefix map which is intended for use in iput which starts with a copy of an existing map |
static PrefixMap |
createForOutput()
Creates a new prefix map which is intended for use in output |
static PrefixMap |
createForOutput(Map<String,String> pmap)
Creates a new prefix map, initialized from a Map of prefix to IRI string. |
static PrefixMap |
createForOutput(PrefixMap pmap)
Creates a new prefix map which is intended for use in output which starts with a copy of an existing map |
static PrefixMap |
createForOutput(PrefixMapping pmap)
Creates a new prefix map which is intended for use in output which starts with a copy of an existing map |
static PrefixMap |
emptyPrefixMap()
Return an always-empty and immutable prefix map |
static PrefixMap |
extend(PrefixMap pmap)
Creates a new prefix map which is an extension of an existing prefix map |
static PrefixMap |
unmodifiablePrefixMap(PrefixMap pmap)
Return an immutable view of the prefix map. |
| Methods inherited from class java.lang.Object |
|---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public PrefixMapFactory()
| Method Detail |
|---|
public static PrefixMap create()
Will use whatever the version of ARQ you are using considers the default implementation, this may change from release to release.
public static PrefixMap create(PrefixMap pmap)
Will use whatever the version of ARQ you are using considers the default implementation, this may change from release to release.
pmap - Prefix Map to copy
public static PrefixMap create(PrefixMapping pmap)
Will use whatever the version of ARQ you are using considers the default implementation, this may change from release to release.
pmap - PrefixMapping to copy
public static PrefixMap create(Map<String,String> pmap)
Will use whatever the version of ARQ you are using considers the default implementation, this may change from release to release.
pmap - Mapping from prefix to IRI string
public static PrefixMap createForInput()
public static PrefixMap createForInput(PrefixMap pmap)
Will use whatever the version of ARQ you are using considers the best implementation for input, this may change from release to release.
pmap - Prefix Map to copy
public static PrefixMap createForInput(PrefixMapping pmap)
Will use whatever the version of ARQ you are using considers the best implementation for input, this may change from release to release.
pmap - Prefix Map to copy
public static PrefixMap createForInput(Map<String,String> pmap)
pmap - Mapping from prefix to IRI string
public static PrefixMap createForOutput()
Will use whatever the version of ARQ you are using considers the best implementation for output, this may change from release to release.
public static PrefixMap createForOutput(PrefixMap pmap)
Will use whatever the version of ARQ you are using considers the best implementation for output, this may change from release to release.
pmap - Prefix Map to copy
public static PrefixMap createForOutput(PrefixMapping pmap)
Will use whatever the version of ARQ you are using considers the best implementation for output, this may change from release to release.
pmap - Prefix Map to copy
public static PrefixMap createForOutput(Map<String,String> pmap)
pmap - Mapping from prefix to IRI string
public static PrefixMap extend(PrefixMap pmap)
This differs from using one of the various create methods since
it does not copy the existing prefix map, rather it maintains both a
local map and the existing map. All operations favour the local map but
defer to the existing map if the local map cannot fulfil a request.
pmap - Prefix Map to extend
public static PrefixMap unmodifiablePrefixMap(PrefixMap pmap)
pmap - PrefixMap
public static PrefixMap emptyPrefixMap()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||