|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.hp.hpl.jena.sparql.lang.SPARQLParserRegistry
public class SPARQLParserRegistry
| Method Summary | |
|---|---|
void |
add(Syntax syntax,
SPARQLParserFactory f)
Register the given parser factory for the specified syntax. |
static void |
addFactory(Syntax syntax,
SPARQLParserFactory f)
Register the given parser factory for the specified syntax. |
boolean |
containsFactory(Syntax syntax)
Checks whether a parser factory is registered for the given syntax |
static boolean |
containsParserFactory(Syntax syntax)
Checks whether a parser factory is registered for the given syntax |
SPARQLParser |
createParser(Syntax syntax)
Return a suitable parser for the given syntax |
static SPARQLParserFactory |
findFactory(Syntax syntax)
Return a suitable factory for the given syntax |
static SPARQLParserRegistry |
get()
|
SPARQLParserFactory |
getFactory(Syntax syntax)
Return a suitable parser factory for the given syntax |
static SPARQLParser |
parser(Syntax syntax)
Return a suitable parser for the given syntax |
void |
remove(Syntax syntax)
Unregister the parser factory associated with the given syntax |
static void |
removeFactory(Syntax syntax)
Unregister the parser factory associated with the given syntax |
| Methods inherited from class java.lang.Object |
|---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Method Detail |
|---|
public static SPARQLParserRegistry get()
public static SPARQLParserFactory findFactory(Syntax syntax)
syntax - the syntax to be processed
public static SPARQLParser parser(Syntax syntax)
syntax - the syntax to be processed
public SPARQLParserFactory getFactory(Syntax syntax)
syntax - the syntax to be processed
public SPARQLParser createParser(Syntax syntax)
syntax - the syntax to be processed
public static void addFactory(Syntax syntax,
SPARQLParserFactory f)
public void add(Syntax syntax,
SPARQLParserFactory f)
public static void removeFactory(Syntax syntax)
public void remove(Syntax syntax)
public static boolean containsParserFactory(Syntax syntax)
public boolean containsFactory(Syntax syntax)
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||