com.clarkparsia.openrdf.util
Class ExpressionFactory.Datatype

java.lang.Object
  extended by com.clarkparsia.openrdf.util.Expression
      extended by com.clarkparsia.openrdf.util.ExpressionFactory.Datatype
Direct Known Subclasses:
ExpressionFactory.RestrictedDatatype
Enclosing class:
ExpressionFactory

public static class ExpressionFactory.Datatype
extends Expression

A datatype expression

Author:
Michael Grove

Method Summary
 URI getDatatype()
          Returns the dataype represented by this expression
 ExpressionFactory.RestrictedDatatype langRange(Literal theValue)
          Creates a new instance of a ExpressionFactory.RestrictedDatatype adding a langRange facet restriction
 ExpressionFactory.RestrictedDatatype length(Literal theValue)
          Creates a new instance of a ExpressionFactory.RestrictedDatatype adding a length facet restriction
 ExpressionFactory.RestrictedDatatype maxExclusive(Literal theValue)
          Creates a new instance of a ExpressionFactory.RestrictedDatatype adding a maxExclusive facet restriction
 ExpressionFactory.RestrictedDatatype maxInclusive(Literal theValue)
          Creates a new instance of a ExpressionFactory.RestrictedDatatype adding a maxInclusive facet restriction
 ExpressionFactory.RestrictedDatatype maxLength(Literal theValue)
          Creates a new instance of a ExpressionFactory.RestrictedDatatype adding a maxLength facet restriction
 ExpressionFactory.RestrictedDatatype minExclusive(Literal theValue)
          Creates a new instance of a ExpressionFactory.RestrictedDatatype adding a minExclusive facet restriction
 ExpressionFactory.RestrictedDatatype minInclusive(Literal theValue)
          Creates a new instance of a ExpressionFactory.RestrictedDatatype adding a minInclusive facet restriction
 ExpressionFactory.RestrictedDatatype pattern(Literal theValue)
          Creates a new instance of a ExpressionFactory.RestrictedDatatype adding a pattern facet restriction
 
Methods inherited from class com.clarkparsia.openrdf.util.Expression
graph
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

getDatatype

public URI getDatatype()
Returns the dataype represented by this expression

Returns:
the datatype

minInclusive

public ExpressionFactory.RestrictedDatatype minInclusive(Literal theValue)
Creates a new instance of a ExpressionFactory.RestrictedDatatype adding a minInclusive facet restriction

Parameters:
theValue - the value for the facet restriction
Returns:
a new datatype

maxInclusive

public ExpressionFactory.RestrictedDatatype maxInclusive(Literal theValue)
Creates a new instance of a ExpressionFactory.RestrictedDatatype adding a maxInclusive facet restriction

Parameters:
theValue - the value for the facet restriction
Returns:
a new datatype

minExclusive

public ExpressionFactory.RestrictedDatatype minExclusive(Literal theValue)
Creates a new instance of a ExpressionFactory.RestrictedDatatype adding a minExclusive facet restriction

Parameters:
theValue - the value for the facet restriction
Returns:
a new datatype

maxExclusive

public ExpressionFactory.RestrictedDatatype maxExclusive(Literal theValue)
Creates a new instance of a ExpressionFactory.RestrictedDatatype adding a maxExclusive facet restriction

Parameters:
theValue - the value for the facet restriction
Returns:
a new datatype

length

public ExpressionFactory.RestrictedDatatype length(Literal theValue)
Creates a new instance of a ExpressionFactory.RestrictedDatatype adding a length facet restriction

Parameters:
theValue - the value for the facet restriction
Returns:
a new datatype

maxLength

public ExpressionFactory.RestrictedDatatype maxLength(Literal theValue)
Creates a new instance of a ExpressionFactory.RestrictedDatatype adding a maxLength facet restriction

Parameters:
theValue - the value for the facet restriction
Returns:
a new datatype

pattern

public ExpressionFactory.RestrictedDatatype pattern(Literal theValue)
Creates a new instance of a ExpressionFactory.RestrictedDatatype adding a pattern facet restriction

Parameters:
theValue - the value for the facet restriction
Returns:
a new datatype

langRange

public ExpressionFactory.RestrictedDatatype langRange(Literal theValue)
Creates a new instance of a ExpressionFactory.RestrictedDatatype adding a langRange facet restriction

Parameters:
theValue - the value for the facet restriction
Returns:
a new datatype


Copyright © 2010-2013 Clark & Parsia. All Rights Reserved.