java.lang.Object
org.apache.jena.sparql.expr.ExprNode
org.apache.jena.sparql.expr.NodeValue
org.apache.jena.sparql.expr.nodevalue.NodeValueDateTime
- All Implemented Interfaces:
Expr
-
Field Summary
Fields inherited from class org.apache.jena.sparql.expr.NodeValue
FALSE, nvDecimalONE, nvDecimalZERO, nvEmptyString, nvINF, nvNaN, nvNegINF, nvNegZERO, nvONE, nvTEN, nvZERO, TRUE, VerboseExceptions, VerboseWarnings, xmlDatatypeFactory, xsdNamespace
Fields inherited from interface org.apache.jena.sparql.expr.Expr
CMP_EQUAL, CMP_GREATER, CMP_INDETERMINATE, CMP_LESS, CMP_UNEQUAL, NONE
-
Constructor Summary
ConstructorDescriptionNodeValueDateTime
(XMLGregorianCalendar datetime, org.apache.jena.graph.Node n) -
Method Summary
Modifier and TypeMethodDescriptionstatic NodeValueDateTime
Lex - caller removes leading and trailing whitespace.boolean
isDate()
boolean
boolean
isGDay()
boolean
isGMonth()
boolean
boolean
isGYear()
boolean
boolean
isTime()
void
visit
(NodeValueVisitor visitor) Methods inherited from class org.apache.jena.sparql.expr.NodeValue
apply, applyNodeTransform, asNode, asQuotedString, asQuotedString, asString, asUnquotedString, booleanReturn, classifyValueOp, compare, compareAlways, copySubstitute, equals, eval, evalNode, getBoolean, getConstant, getDatatypeURI, getDecimal, getDouble, getDuration, getFloat, getInteger, getLang, getNode, getSortKey, getString, getValueSpace, hasDateTime, hashCode, hasNode, isBlank, isBoolean, isConstant, isDayTimeDuration, isDecimal, isDouble, isDuration, isFloat, isInteger, isIRI, isLangString, isLiteral, isNumber, isSortKey, isString, isTripleTerm, isYearMonthDuration, makeBoolean, makeDate, makeDate, makeDate, makeDateTime, makeDateTime, makeDateTime, makeDecimal, makeDecimal, makeDecimal, makeDecimal, makeDouble, makeDuration, makeDuration, makeFloat, makeInteger, makeInteger, makeInteger, makeLangString, makeNode, makeNode, makeNode, makeNode, makeNodeBoolean, makeNodeBoolean, makeNodeDate, makeNodeDate, makeNodeDateTime, makeNodeDateTime, makeNodeDecimal, makeNodeDecimal, makeNodeDouble, makeNodeDouble, makeNodeDuration, makeNodeFloat, makeNodeFloat, makeNodeInteger, makeNodeInteger, makeNodeString, makeSortKey, makeString, notSameValueAs, notSameValueAs, parse, raise, sameValueAs, toNode, toString, visit
Methods inherited from class org.apache.jena.sparql.expr.ExprNode
asVar, deepCopy, equals, equalsBySyntax, getExpr, getExprVar, getFunction, getGraphPattern, getVarName, getVarsMentioned, isExpr, isFunction, isGraphPattern, isSatisfied, isVariable
-
Constructor Details
-
NodeValueDateTime
-
-
Method Details
-
create
Lex - caller removes leading and trailing whitespace. -
isDateTime
public boolean isDateTime()- Overrides:
isDateTime
in classNodeValue
-
isDate
public boolean isDate() -
isTime
public boolean isTime() -
isGYear
public boolean isGYear() -
isGYearMonth
public boolean isGYearMonth()- Overrides:
isGYearMonth
in classNodeValue
-
isGMonth
public boolean isGMonth() -
isGMonthDay
public boolean isGMonthDay()- Overrides:
isGMonthDay
in classNodeValue
-
isGDay
public boolean isGDay() -
getDateTime
- Overrides:
getDateTime
in classNodeValue
-
visit
-