org.mindswap.pellet.datatypes
Class DatatypeReasoner

java.lang.Object
  extended by org.mindswap.pellet.datatypes.DatatypeReasoner

Deprecated. Use DatatypeReasoner instead

public class DatatypeReasoner
extends java.lang.Object

Author:
Evren Sirin

Field Summary
static java.util.logging.Logger log
          Deprecated.  
 
Constructor Summary
DatatypeReasoner()
          Deprecated.  
 
Method Summary
 java.lang.String defineDatatype(Datatype dt)
          Deprecated.  
 void defineDatatype(java.lang.String name, Datatype dt)
          Deprecated.  
 void defineUnknownDatatype(java.lang.String name)
          Deprecated.  
 Datatype enumeration(java.util.Set values)
          Deprecated.  
 aterm.ATermAppl getCanonicalRepresentation(aterm.ATermAppl literal)
          Deprecated. Returns the canonical representation of the given literal.
 Datatype getDatatype(aterm.ATermAppl datatypeTerm)
          Deprecated.  
 Datatype getDatatype(java.lang.String datatypeURI)
          Deprecated.  
 java.lang.String getDatatypeURI(Datatype datatype)
          Deprecated.  
 java.util.Set<java.lang.String> getDatatypeURIs()
          Deprecated.  
 Datatype getRestrictedDatatype(aterm.ATermAppl restrictedDatatype)
          Deprecated.  
 java.lang.Object getValue(aterm.ATermAppl lit)
          Deprecated.  
 Datatype intersection(aterm.ATermAppl[] datatypeTerms)
          Deprecated. Return a datatype that represents the intersection of a set of (possibly negated) datatypes.
 boolean isDefined(Datatype datatype)
          Deprecated.  
 boolean isDefined(java.lang.String datatypeURI)
          Deprecated.  
 boolean isSubTypeOf(aterm.ATermAppl d1, aterm.ATermAppl d2)
          Deprecated. Check if a datatype is subsumed by another datatype
 Datatype negate(Datatype datatype)
          Deprecated.  
 org.apache.xerces.xs.XSNamedMap parseXMLSchema(java.net.URL url)
          Deprecated.  
 void removeDatatype(java.lang.String name)
          Deprecated.  
 Datatype singleton(aterm.ATermAppl term)
          Deprecated.  
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

log

public static java.util.logging.Logger log
Deprecated. 
Constructor Detail

DatatypeReasoner

public DatatypeReasoner()
Deprecated. 
Method Detail

getDatatypeURIs

public final java.util.Set<java.lang.String> getDatatypeURIs()
Deprecated. 

isDefined

public final boolean isDefined(java.lang.String datatypeURI)
Deprecated. 

isDefined

public final boolean isDefined(Datatype datatype)
Deprecated. 

defineDatatype

public void defineDatatype(java.lang.String name,
                           Datatype dt)
Deprecated. 

defineUnknownDatatype

public void defineUnknownDatatype(java.lang.String name)
Deprecated. 

parseXMLSchema

public org.apache.xerces.xs.XSNamedMap parseXMLSchema(java.net.URL url)
                                               throws java.lang.Exception
Deprecated. 
Throws:
java.lang.Exception

defineDatatype

public java.lang.String defineDatatype(Datatype dt)
Deprecated. 

removeDatatype

public void removeDatatype(java.lang.String name)
Deprecated. 

getDatatype

public Datatype getDatatype(java.lang.String datatypeURI)
Deprecated. 

getDatatypeURI

public java.lang.String getDatatypeURI(Datatype datatype)
Deprecated. 

getValue

public java.lang.Object getValue(aterm.ATermAppl lit)
Deprecated. 

singleton

public Datatype singleton(aterm.ATermAppl term)
Deprecated. 

enumeration

public Datatype enumeration(java.util.Set values)
Deprecated. 

getCanonicalRepresentation

public aterm.ATermAppl getCanonicalRepresentation(aterm.ATermAppl literal)
Deprecated. 
Returns the canonical representation of the given literal. Datatyped literals are represented using their base type.


getRestrictedDatatype

public Datatype getRestrictedDatatype(aterm.ATermAppl restrictedDatatype)
Deprecated. 

getDatatype

public Datatype getDatatype(aterm.ATermAppl datatypeTerm)
Deprecated. 

negate

public Datatype negate(Datatype datatype)
Deprecated. 

isSubTypeOf

public boolean isSubTypeOf(aterm.ATermAppl d1,
                           aterm.ATermAppl d2)
Deprecated. 
Check if a datatype is subsumed by another datatype

Parameters:
d1 -
d2 -
Returns:

intersection

public Datatype intersection(aterm.ATermAppl[] datatypeTerms)
Deprecated. 
Return a datatype that represents the intersection of a set of (possibly negated) datatypes.

Parameters:
datatypeTerms -
Returns:


Copyright © 2004 Evren Sirin. All Rights Reserved.