public class Prefixes extends Object
| Modifier and Type | Method and Description |
|---|---|
String |
abbreviate(String uri) |
void |
add(Prefixes other) |
void |
add(String prefix,
String namespaceURI) |
void |
addVolatile(Prefixes other) |
void |
addVolatile(String prefix,
String namespaceURI) |
Set<String> |
allPrefixes() |
Map<String,String> |
asMap() |
boolean |
canAbbreviate(String uri) |
boolean |
canExpand(String curie) |
static Prefixes |
create1(String prefix,
String namespaceURI) |
static Prefixes |
createFromMap(Map<String,String> prefixesToNamespaceURIs,
boolean areVolatile) |
Prefixes |
createSubset(String... prefixes) |
org.openrdf.model.URI |
expand(String curie) |
String |
getNamespaceURIFor(String prefix) |
boolean |
hasNamespaceURI(String uri) |
boolean |
hasPrefix(String prefix) |
boolean |
isEmpty() |
boolean |
isVolatile(String prefix) |
void |
removePrefix(String prefix) |
public static Prefixes EMPTY
public Prefixes()
public Prefixes(Prefixes initial)
public static Prefixes createFromMap(Map<String,String> prefixesToNamespaceURIs, boolean areVolatile)
public org.openrdf.model.URI expand(String curie)
public boolean canExpand(String curie)
public boolean canAbbreviate(String uri)
public boolean hasNamespaceURI(String uri)
public boolean hasPrefix(String prefix)
public boolean isEmpty()
public void add(Prefixes other)
public void removePrefix(String prefix)
public void addVolatile(Prefixes other)
public boolean isVolatile(String prefix)
Copyright © 2010-2014 The Apache Software Foundation. All Rights Reserved.