org.mindswap.pellet.datatypes
Class XSDDuration.DurationValueSpace

java.lang.Object
  extended by org.mindswap.pellet.datatypes.AbstractValueSpace
      extended by org.mindswap.pellet.datatypes.XSDDuration.DurationValueSpace
All Implemented Interfaces:
java.util.Comparator, ValueSpace
Enclosing class:
XSDDuration

public static class XSDDuration.DurationValueSpace
extends AbstractValueSpace
implements ValueSpace


Field Summary
 
Fields inherited from class org.mindswap.pellet.datatypes.AbstractValueSpace
EQ, GT, LT, SIZE_INF, SIZE_ONE, SIZE_ZERO
 
Fields inherited from interface org.mindswap.pellet.datatypes.ValueSpace
INFINITE
 
Constructor Summary
XSDDuration.DurationValueSpace()
           
 
Method Summary
 int compare(java.lang.Object a, java.lang.Object b)
           
 int count(java.lang.Object start, java.lang.Object end)
           
 java.lang.String getLexicalForm(java.lang.Object value)
           
 java.lang.Object getValue(java.lang.String value)
           
 boolean isValid(java.lang.Object value)
           
 java.lang.Object succ(java.lang.Object start, int n)
           
 
Methods inherited from class org.mindswap.pellet.datatypes.AbstractValueSpace
getMaxValue, getMidValue, getMinValue, isInfinite, isInfinite
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface org.mindswap.pellet.datatypes.ValueSpace
getMaxValue, getMidValue, getMinValue, isInfinite, isInfinite
 
Methods inherited from interface java.util.Comparator
equals
 

Constructor Detail

XSDDuration.DurationValueSpace

public XSDDuration.DurationValueSpace()
Method Detail

isValid

public boolean isValid(java.lang.Object value)
Specified by:
isValid in interface ValueSpace

getValue

public java.lang.Object getValue(java.lang.String value)
Specified by:
getValue in interface ValueSpace

compare

public int compare(java.lang.Object a,
                   java.lang.Object b)
Specified by:
compare in interface java.util.Comparator
Specified by:
compare in interface ValueSpace

count

public int count(java.lang.Object start,
                 java.lang.Object end)
Specified by:
count in interface ValueSpace

succ

public java.lang.Object succ(java.lang.Object start,
                             int n)
Specified by:
succ in interface ValueSpace

getLexicalForm

public java.lang.String getLexicalForm(java.lang.Object value)
Specified by:
getLexicalForm in interface ValueSpace


Copyright © 2004 Evren Sirin. All Rights Reserved.