public class NonPositiveIntegerCast extends IntegerCastFunction
Function that tries to cast its argument to an
 xsd:nonPositiveInteger .| Constructor and Description | 
|---|
| NonPositiveIntegerCast() | 
| Modifier and Type | Method and Description | 
|---|---|
| protected Optional<Literal> | createTypedLiteral(ValueFactory vf,
                  BigInteger integerValue)create a  Literalwith the specific datatype for the suppliedBigIntegervalue. | 
| protected Optional<Literal> | createTypedLiteral(ValueFactory vf,
                  boolean booleanValue)create a  Literalwith the specific datatype for the supplied boolean value. | 
| protected IRI | getXsdDatatype()Get the specific XML Schema datatype which this function returns. | 
| protected boolean | isValidForDatatype(String lexicalValue)Verifies that the supplied lexical value is valid for the datatype. | 
convertevaluate, getURI, getXsdName, typeErrorprotected IRI getXsdDatatype()
CastFunctiongetXsdDatatype in class CastFunctionprotected boolean isValidForDatatype(String lexicalValue)
CastFunctionisValidForDatatype in class CastFunctionlexicalValue - a lexical valueprotected Optional<Literal> createTypedLiteral(ValueFactory vf, BigInteger integerValue)
IntegerCastFunctionLiteral with the specific datatype for the supplied BigInteger value.createTypedLiteral in class IntegerCastFunctionvf - the ValueFactory to use for creating the LiteralintegerValue - the integer value to use for creating the LiteralOptional literal value, which may be empty if the supplied integerValue can not be
         successfully converted to the specific datatype.protected Optional<Literal> createTypedLiteral(ValueFactory vf, boolean booleanValue)
IntegerCastFunctionLiteral with the specific datatype for the supplied boolean value.createTypedLiteral in class IntegerCastFunctionvf - the ValueFactory to use for creating the LiteralbooleanValue - the boolean value to use for creating the LiteralOptional literal value, which may be empty if the supplied boolean value can not be
         successfully converted to the specific datatype.Copyright © 2015-2020 Eclipse Foundation. All Rights Reserved.