|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.topbraid.spin.system.ExtraPrefixes
public class ExtraPrefixes
Manages extra prefixes that are always available even if not explicitly declared. Examples include fn and Jena's afn.
Constructor Summary | |
---|---|
ExtraPrefixes()
|
Method Summary | |
---|---|
static void |
add(Resource resource)
Attempts to add an extra prefix for a given Resource. |
static void |
add(java.lang.String prefix,
java.lang.String namespace)
Programmatically adds a new prefix to be regarded as an "extra" prefix. |
static java.util.Map<java.lang.String,java.lang.String> |
getExtraPrefixes()
Gets a Map from prefixes to namespaces. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public ExtraPrefixes()
Method Detail |
---|
public static void add(java.lang.String prefix, java.lang.String namespace)
prefix
- the prefix to addnamespace
- the namespace to addpublic static void add(Resource resource)
resource
- the resource to get the namespace ofpublic static java.util.Map<java.lang.String,java.lang.String> getExtraPrefixes()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |