org.mindswap.pellet.datatypes
Class XSDDuration

java.lang.Object
  extended by org.mindswap.pellet.datatypes.BaseDatatype
      extended by org.mindswap.pellet.datatypes.BaseAtomicDatatype
          extended by org.mindswap.pellet.datatypes.XSDDuration
All Implemented Interfaces:
AtomicDatatype, Datatype

public class XSDDuration
extends BaseAtomicDatatype
implements AtomicDatatype

Author:
Evren Sirin

Field Summary
static XSDDuration instance
           
 
Method Summary
 boolean contains(java.lang.Object value)
           
 AtomicDatatype getPrimitiveType()
           
 java.lang.Object getValue(java.lang.String value)
           
 java.lang.Object getValue(java.lang.String value, java.lang.String datatypeURI)
           
 
Methods inherited from class org.mindswap.pellet.datatypes.BaseAtomicDatatype
difference, enumeration, getValue, intersection, isDerived, not, singleton, size, union
 
Methods inherited from class org.mindswap.pellet.datatypes.BaseDatatype
contains, getName, getURI, isEmpty
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface org.mindswap.pellet.datatypes.AtomicDatatype
difference, enumeration, intersection, not, union
 
Methods inherited from interface org.mindswap.pellet.datatypes.Datatype
contains, getName, getURI, getValue, isEmpty, singleton, size
 

Field Detail

instance

public static XSDDuration instance
Method Detail

getPrimitiveType

public AtomicDatatype getPrimitiveType()
Specified by:
getPrimitiveType in interface AtomicDatatype

getValue

public java.lang.Object getValue(java.lang.String value)

contains

public boolean contains(java.lang.Object value)
Specified by:
contains in interface Datatype
Overrides:
contains in class BaseAtomicDatatype

getValue

public java.lang.Object getValue(java.lang.String value,
                                 java.lang.String datatypeURI)
Specified by:
getValue in interface Datatype


Copyright © 2007-2009 Natalya Keberle. All Rights Reserved.