|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.hp.hpl.jena.sparql.pfunction.PropertyFunctionRegistry
public class PropertyFunctionRegistry
| Constructor Summary | |
|---|---|
PropertyFunctionRegistry()
|
|
| Method Summary | |
|---|---|
static PropertyFunctionRegistry |
chooseRegistry(Context context)
Get the PropertyFunctionRegistry, defaulting to the global one |
static PropertyFunctionRegistry |
get()
|
static PropertyFunctionRegistry |
get(Context context)
|
PropertyFunctionFactory |
get(String uri)
Lookup by URI |
boolean |
isRegistered(String uri)
|
Iterator<String> |
keys()
Iterate over URIs |
boolean |
manages(String uri)
|
void |
put(String uri,
Class<?> extClass)
Insert an PropertyFunction class. |
void |
put(String uri,
PropertyFunctionFactory factory)
Insert an PropertyFunction factory. |
PropertyFunctionFactory |
remove(String uri)
Remove by URI |
static void |
set(Context context,
PropertyFunctionRegistry reg)
|
static PropertyFunctionRegistry |
standardRegistry()
|
| Methods inherited from class java.lang.Object |
|---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public PropertyFunctionRegistry()
| Method Detail |
|---|
public static PropertyFunctionRegistry standardRegistry()
public static PropertyFunctionRegistry get(Context context)
public static PropertyFunctionRegistry chooseRegistry(Context context)
public static void set(Context context,
PropertyFunctionRegistry reg)
public static PropertyFunctionRegistry get()
public void put(String uri,
PropertyFunctionFactory factory)
uri - String URI for the PropertyFunctionfactory - Factory to make PropertyFunction instances
public void put(String uri,
Class<?> extClass)
uri - String URI for the PropertyFunctionextClass - The Java classpublic boolean manages(String uri)
public PropertyFunctionFactory get(String uri)
public boolean isRegistered(String uri)
public PropertyFunctionFactory remove(String uri)
public Iterator<String> keys()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||