public class SPARQLParserFactory
extends java.lang.Object
| Constructor and Description |
|---|
SPARQLParserFactory() |
| Modifier and Type | Method and Description |
|---|---|
void |
addSparqlParserListener(SparqlParserListener listener)
Add a parser listener.
|
SPARQLParser |
getParser(java.lang.String prefix) |
SparqlPrefixDeclarations |
getPrefixDeclarations()
Return the prefix declarations.
|
java.util.List<SparqlParserListener> |
getSparqlParserListeners()
Return the parser listeners.
|
boolean |
isParsingComments()
Rrturn true if the factory sets the parsers to parse comments.
|
void |
setParseComments(boolean parseComments)
Set if the factory sets the parsers to parse comments.
|
void |
setPrefixDeclarations(SparqlPrefixDeclarations prefixDecl)
Set the prefix declarations.
|
public void setParseComments(boolean parseComments)
parseComments - true if the factory sets the parsers to parse commentspublic boolean isParsingComments()
public void setPrefixDeclarations(SparqlPrefixDeclarations prefixDecl)
prefixDecl - the prefix declarationspublic SparqlPrefixDeclarations getPrefixDeclarations()
public void addSparqlParserListener(SparqlParserListener listener)
listener - the listenerpublic java.util.List<SparqlParserListener> getSparqlParserListeners()
public SPARQLParser getParser(java.lang.String prefix)
prefix - the prefixCopyright © 2025, 2026 Dassault Aviation. All Rights Reserved. Documentation and source under the LGPL v3 licence