java.lang.Object
org.apache.jena.sparql.lang.SPARQLParserRegistry
-
Method Summary
Modifier and TypeMethodDescriptionvoidadd(Syntax syntax, SPARQLParserFactory f) Register the given parser factory for the specified syntax.static voidaddFactory(Syntax syntax, SPARQLParserFactory f) Register the given parser factory for the specified syntax.booleancontainsFactory(Syntax syntax) Checks whether a parser factory is registered for the given syntaxstatic booleancontainsParserFactory(Syntax syntax) Checks whether a parser factory is registered for the given syntaxcreateParser(Syntax syntax) Return a suitable parser for the given syntaxstatic SPARQLParserFactoryfindFactory(Syntax syntax) Return a suitable factory for the given syntaxstatic SPARQLParserRegistryget()getFactory(Syntax syntax) Return a suitable parser factory for the given syntaxstatic SPARQLParserReturn a suitable parser for the given syntaxvoidUnregister the parser factory associated with the given syntaxstatic voidremoveFactory(Syntax syntax) Unregister the parser factory associated with the given syntax
-
Method Details
-
get
-
findFactory
Return a suitable factory for the given syntax- Parameters:
syntax- the syntax to be processed- Returns:
- a parser factory or null if none accept the request
-
parser
Return a suitable parser for the given syntax- Parameters:
syntax- the syntax to be processed- Returns:
- a parser or null if none accept the request
-
getFactory
Return a suitable parser factory for the given syntax- Parameters:
syntax- the syntax to be processed- Returns:
- a parser factory or null if none accept the request
-
createParser
Return a suitable parser for the given syntax- Parameters:
syntax- the syntax to be processed- Returns:
- a parser or null if none accept the request
-
addFactory
Register the given parser factory for the specified syntax. If another factory is registered for the syntax it is replaced by the given one. -
add
Register the given parser factory for the specified syntax. If another factory is registered for the syntax it is replaced by the given one. -
removeFactory
Unregister the parser factory associated with the given syntax -
remove
Unregister the parser factory associated with the given syntax -
containsParserFactory
Checks whether a parser factory is registered for the given syntax -
containsFactory
Checks whether a parser factory is registered for the given syntax
-