com.hp.hpl.jena.sparql.expr.nodevalue
Class NodeValueDate

java.lang.Object
  extended by com.hp.hpl.jena.sparql.expr.ExprNode
      extended by com.hp.hpl.jena.sparql.expr.NodeValue
          extended by com.hp.hpl.jena.sparql.expr.nodevalue.NodeValueDate
All Implemented Interfaces:
Expr

public class NodeValueDate
extends NodeValue

XSD Date (which is unrelated to XSD dateTime in the datatype hierarchy)


Field Summary
 
Fields inherited from class com.hp.hpl.jena.sparql.expr.NodeValue
DecimalZERO, FALSE, IntegerZERO, nvEmptyString, nvINF, nvNaN, nvNegINF, nvNothing, nvONE, nvZERO, TRUE, VerboseExceptions, VerboseWarnings
 
Fields inherited from interface com.hp.hpl.jena.sparql.expr.Expr
CMP_EQUAL, CMP_GREATER, CMP_INDETERMINATE, CMP_LESS, CMP_UNEQUAL
 
Constructor Summary
NodeValueDate(com.hp.hpl.jena.datatypes.xsd.XSDDateTime dt)
           
NodeValueDate(com.hp.hpl.jena.datatypes.xsd.XSDDateTime dt, com.hp.hpl.jena.graph.Node n)
           
 
Method Summary
 com.hp.hpl.jena.datatypes.xsd.XSDDateTime getDateTime()
           
 boolean isDate()
           
 void visit(NodeValueVisitor visitor)
           
 
Methods inherited from class com.hp.hpl.jena.sparql.expr.NodeValue
apply, applyNodeTransform, asNode, asQuotedString, asQuotedString, asString, asUnquotedString, booleanReturn, compare, compareAlways, copySubstitute, equals, eval, evalNode, getBoolean, getConstant, getDecimal, getDouble, getDuration, getFloat, getInteger, getNode, getString, hasDateTime, hashCode, hasNode, isBlank, isBoolean, isConstant, isDateTime, isDecimal, isDouble, isDuration, isFloat, isGDay, isGMonth, isGMonthDay, isGYear, isGYearMonth, isInteger, isIRI, isLiteral, isNumber, isString, isTime, makeBoolean, makeDate, makeDate, makeDateTime, makeDateTime, makeDecimal, makeDecimal, makeDecimal, makeDecimal, makeDouble, makeFloat, makeInteger, makeInteger, makeInteger, makeNode, makeNode, makeNode, makeNode, makeNodeBoolean, makeNodeBoolean, makeNodeDate, makeNodeDate, makeNodeDateTime, makeNodeDateTime, makeNodeDecimal, makeNodeDecimal, makeNodeDouble, makeNodeDouble, makeNodeFloat, makeNodeFloat, makeNodeInteger, makeNodeInteger, makeNodeString, makeString, notSameAs, notSameAs, raise, sameAs, toNode, toString, visit
 
Methods inherited from class com.hp.hpl.jena.sparql.expr.ExprNode
asVar, copySubstitute, deepCopy, getExpr, getExprVar, getFunction, getGraphPattern, getVarName, getVarNamesMentioned, getVarsMentioned, isExpr, isFunction, isGraphPattern, isSatisfied, isVariable, varNamesMentioned, varsMentioned
 
Methods inherited from class java.lang.Object
getClass, notify, notifyAll, wait, wait, wait
 

Constructor Detail

NodeValueDate

public NodeValueDate(com.hp.hpl.jena.datatypes.xsd.XSDDateTime dt)

NodeValueDate

public NodeValueDate(com.hp.hpl.jena.datatypes.xsd.XSDDateTime dt,
                     com.hp.hpl.jena.graph.Node n)
Method Detail

isDate

public boolean isDate()
Overrides:
isDate in class NodeValue

getDateTime

public com.hp.hpl.jena.datatypes.xsd.XSDDateTime getDateTime()
Overrides:
getDateTime in class NodeValue

visit

public void visit(NodeValueVisitor visitor)
Specified by:
visit in class NodeValue


Licenced under the Apache License, Version 2.0