public class ExtraPrefixes extends Object
| Constructor and Description |
|---|
ExtraPrefixes() |
| Modifier and Type | Method and Description |
|---|---|
static void |
add(org.apache.jena.rdf.model.Resource resource)
Attempts to add an extra prefix for a given Resource.
|
static void |
add(String prefix,
String namespace)
Programmatically adds a new prefix to be regarded as an "extra"
prefix.
|
static Map<String,String> |
getExtraPrefixes()
Gets a Map from prefixes to namespaces.
|
public static void add(String prefix, String namespace)
prefix - the prefix to addnamespace - the namespace to addpublic static void add(org.apache.jena.rdf.model.Resource resource)
resource - the resource to get the namespace ofCopyright © 2017 TopQuadrant, Inc.. All rights reserved.