java.lang.Object
org.apache.jena.sparql.function.CastXSD
Code for all casting between XSD datatypes.
From XPath and XQuery Functions and Operators
v3.1
- See Also:
-
Method Summary
-
Method Details
-
cast
Cast a NodeValue to an XSD datatype. This includes "by value" so 1e0 (an xsd:double) casts to 1 (an xsd:integer)- Parameters:
nv
-castType
-- Returns:
- NodeValue
- Throws:
ExprEvalException
-