public staticintcompare(org.apache.jena.graph.impl.LiteralLabel value1,
org.apache.jena.graph.impl.LiteralLabel value2,
boolean sortOrderingCompare)
throws ExprNotComparableException
Assumes that the datatype of both of the given literals is cdt:List.
If 'sortOrderingCompare' is true, the two lists are compared as per the
semantics for ORDER BY. If 'sortOrderingCompare' is false, the comparison
applies the list-less-than semantics.
public staticbooleanisListLiteral(org.apache.jena.graph.Node n)
Returns true if the given node is a literal with uri
as its datatype URI. Notice that this does not mean that this
literal is actually valid; for checking validity, use
isValidLiteral(LiteralLabel).
isListLiteral
public staticbooleanisListLiteral(org.apache.jena.graph.impl.LiteralLabel lit)
Returns true if the datatype URI of the given literal is uri.
Notice that this does not mean that this literal is actually valid;
for checking validity, use isValidLiteral(LiteralLabel).
getValue
public staticList<CDTValue>getValue(org.apache.jena.graph.impl.LiteralLabel lit)
throws org.apache.jena.datatypes.DatatypeFormatException
Assumes that the datatype of the given literal is cdt:List.