public class SparqlHelperConfig
extends java.lang.Object
| Modifier and Type | Method and Description |
|---|---|
static java.lang.String |
getDate()
Return the library release date.
|
SparqlPrefixDeclarations |
getDefaultPrefixDeclarations()
Return the default prefix declarations.
|
char |
getErrorsHandlingType()
Return the type of errors handling.
|
int |
getIndentation()
Return the indentation of the SPARQL serializarion.
|
java.lang.String |
getIndentation(int level)
Return the indentation of the SPARQL serializarion as a String, for a spzcified level.
|
static SparqlHelperConfig |
getInstance()
Return the unique instance.
|
static java.lang.String |
getRelease()
Return the library release information.
|
static java.lang.String |
getVersion()
Return the library version.
|
boolean |
hasDefaultPrefixDeclarations()
Return true if there is a default prefix declarations.
|
boolean |
hasIndentation()
Return true if there is indentation of the SPARQL serializarion.
|
static java.lang.String |
indent(int level)
Return the indentation of the SPARQL serializarion as a String, for a spzcified level.
|
boolean |
isNormalizingStandardFunctions()
Return true if standard named functions are normalized if possible.
|
void |
normalizeStandardFunctions(boolean isNormalizingFunctions)
Set if standard named functions are normalized if possible.
|
static void |
printRelease()
Print the library release information.
|
void |
reset()
Reset the configuration.
|
void |
setDefaultPrefixDeclarations(SparqlPrefixDeclarations prefixDeclarations)
Set the default prefix declarations.
|
void |
setErrorsHandlingType(char errorsHandlingType)
Set the type of errors handling.
|
void |
setIndentationValue(int indentation)
Set the indentation of the SPARQL serializarion.
|
public static SparqlHelperConfig getInstance()
public void reset()
public void setDefaultPrefixDeclarations(SparqlPrefixDeclarations prefixDeclarations)
prefixDeclarations - the prefix declarationspublic SparqlPrefixDeclarations getDefaultPrefixDeclarations()
public boolean hasDefaultPrefixDeclarations()
public void normalizeStandardFunctions(boolean isNormalizingFunctions)
isNormalizingFunctions - true if standard named functions are normalized if possiblepublic boolean isNormalizingStandardFunctions()
public void setIndentationValue(int indentation)
indentation - the indentation value. There will be no indentation if it is less or equal to 0public int getIndentation()
public static java.lang.String indent(int level)
level - the levelpublic java.lang.String getIndentation(int level)
level - the levelpublic boolean hasIndentation()
public void setErrorsHandlingType(char errorsHandlingType)
errorsHandlingType - the type of errors handlingErrorsHandlingTypepublic char getErrorsHandlingType()
ErrorsHandlingTypepublic static java.lang.String getVersion()
public static java.lang.String getDate()
public static java.lang.String getRelease()
public static void printRelease()
Copyright © 2025, 2026 Dassault Aviation. All Rights Reserved. Documentation and source under the LGPL v3 licence