public class SimpleLocalNameService extends Object implements LocalNameService
| Constructor and Description |
|---|
SimpleLocalNameService() |
| Modifier and Type | Method and Description |
|---|---|
void |
add(String localName,
org.openrdf.model.URI uri) |
void |
add(org.openrdf.model.URI uri) |
void |
addAll(Graph graph) |
void |
addShape(Shape s) |
void |
addShapes(Collection<Shape> shapeList) |
void |
addStaticFields(Class<?> javaClass)
Use reflection to scan a Java Class for static fields of type URI, and register
those URI values.
|
static SimpleLocalNameService |
getDefaultInstance() |
Set<org.openrdf.model.URI> |
lookupLocalName(String localName)
Lookup the URI values that have the given local name.
|
public static SimpleLocalNameService getDefaultInstance()
public void addAll(Graph graph)
public void addShapes(Collection<Shape> shapeList)
public void addShape(Shape s)
public void add(org.openrdf.model.URI uri)
public void add(String localName, org.openrdf.model.URI uri)
public Set<org.openrdf.model.URI> lookupLocalName(String localName)
LocalNameServicelookupLocalName in interface LocalNameServicelocalName - The local name to be matchedpublic void addStaticFields(Class<?> javaClass)
javaClass - The Java Class to be scanned.Copyright © 2019. All rights reserved.