public class QueryResultsUtilities
extends java.lang.Object
| Modifier and Type | Method and Description |
|---|---|
static QueryResults |
getOrderedResults(java.lang.String resultAsString,
boolean stripPrefix,
java.lang.String orderedBy)
Return the ordered results from the SPARQL results as an XML String, using the default ordering.
|
static QueryResults |
getOrderedResults(java.lang.String resultAsString,
boolean stripPrefix,
java.lang.String orderedBy,
boolean defaultOrdering)
Return the ordered results from the SPARQL results as an XML String.
|
static QueryResults |
getOrderedResults(org.mdiutil.xml.tree.XMLNode node,
boolean stripPrefix,
java.lang.String orderedBy)
Return the ordered results from the SPARQL results as an XMLNode, using the default ordering.
|
static QueryResults |
getOrderedResults(org.mdiutil.xml.tree.XMLNode node,
boolean stripPrefix,
java.lang.String orderedBy,
boolean defaultOrdering)
Return the ordered results from the SPARQL results as an XMLNode.
|
static java.util.SortedMap<java.lang.String,QueryResults.Result> |
getResults(java.lang.String resultAsString,
boolean stripPrefix,
java.lang.String orderedBy) |
static java.util.SortedMap<java.lang.String,QueryResults.Result> |
getResults(java.lang.String resultAsString,
boolean stripPrefix,
java.lang.String orderedBy,
boolean defaultOrdering) |
static java.util.SortedMap<java.lang.String,QueryResults.Result> |
getResults(org.mdiutil.xml.tree.XMLNode node,
boolean stripPrefix,
java.lang.String orderedBy) |
static java.util.SortedMap<java.lang.String,QueryResults.Result> |
getResults(org.mdiutil.xml.tree.XMLNode node,
boolean stripPrefix,
java.lang.String orderedBy,
boolean defaultOrdering) |
static org.mdiutil.xml.tree.XMLNode |
getResultsASXMLNode(java.lang.String resultAsString)
Utility method whoch get an XMLNode structure from a SPARQL results as a String.
|
public static org.mdiutil.xml.tree.XMLNode getResultsASXMLNode(java.lang.String resultAsString)
resultAsString - the SPARQL results as a Stringpublic static QueryResults getOrderedResults(org.mdiutil.xml.tree.XMLNode node, boolean stripPrefix, java.lang.String orderedBy)
node - the SPARQL results as an XMLNodestripPrefix - tru if the prefix should be removed fro the resultsorderedBy - the binding name wich will be used to order the rsultspublic static QueryResults getOrderedResults(java.lang.String resultAsString, boolean stripPrefix, java.lang.String orderedBy)
resultAsString - the SPARQL results as an XML StringstripPrefix - tru if the prefix should be removed fro the resultsorderedBy - the binding name wich will be used to order the rsultspublic static QueryResults getOrderedResults(org.mdiutil.xml.tree.XMLNode node, boolean stripPrefix, java.lang.String orderedBy, boolean defaultOrdering)
node - the SPARQL results as an XMLNodestripPrefix - tru if the prefix should be removed fro the resultsorderedBy - the binding name wich will be used to order the rsultsdefaultOrdering - true if default ordering will be usedpublic static QueryResults getOrderedResults(java.lang.String resultAsString, boolean stripPrefix, java.lang.String orderedBy, boolean defaultOrdering)
resultAsString - the SPARQL results as an XML StringstripPrefix - tru if the prefix should be removed fro the resultsorderedBy - the binding name wich will be used to order the rsultsdefaultOrdering - true if default ordering will be usedpublic static java.util.SortedMap<java.lang.String,QueryResults.Result> getResults(org.mdiutil.xml.tree.XMLNode node, boolean stripPrefix, java.lang.String orderedBy)
public static java.util.SortedMap<java.lang.String,QueryResults.Result> getResults(java.lang.String resultAsString, boolean stripPrefix, java.lang.String orderedBy)
public static java.util.SortedMap<java.lang.String,QueryResults.Result> getResults(org.mdiutil.xml.tree.XMLNode node, boolean stripPrefix, java.lang.String orderedBy, boolean defaultOrdering)
public static java.util.SortedMap<java.lang.String,QueryResults.Result> getResults(java.lang.String resultAsString, boolean stripPrefix, java.lang.String orderedBy, boolean defaultOrdering)
Copyright © 2025 Dassault Aviation. All Rights Reserved. Documentation and source under the LGPL v3 licence