org.mindswap.pellet.datatypes
Class BaseXSDAtomicType
java.lang.Object
org.mindswap.pellet.datatypes.BaseDatatype
org.mindswap.pellet.datatypes.BaseXSDAtomicType
- All Implemented Interfaces:
- AtomicDatatype, Datatype, XSDAtomicType
- Direct Known Subclasses:
- XSDDate, XSDDateTime, XSDDay, XSDDecimal, XSDDouble, XSDDuration, XSDFloat, XSDMonth, XSDMonthDay, XSDTime, XSDYear, XSDYearMonth
public abstract class BaseXSDAtomicType
- extends BaseDatatype
- implements XSDAtomicType
- Author:
- Evren Sirin
Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait |
create
public abstract BaseXSDAtomicType create(GenericIntervalList intervals)
getValueSpace
public ValueSpace getValueSpace()
getValue
public java.lang.Object getValue(java.lang.String value,
java.lang.String datatypeURI)
- Specified by:
getValue
in interface Datatype
not
public AtomicDatatype not()
- Specified by:
not
in interface AtomicDatatype
intersection
public AtomicDatatype intersection(AtomicDatatype dt)
- Specified by:
intersection
in interface AtomicDatatype
union
public AtomicDatatype union(AtomicDatatype dt)
- Specified by:
union
in interface AtomicDatatype
difference
public AtomicDatatype difference(AtomicDatatype dt)
- Specified by:
difference
in interface AtomicDatatype
enumeration
public AtomicDatatype enumeration(java.util.Set enum_)
- Specified by:
enumeration
in interface AtomicDatatype
singleton
public Datatype singleton(java.lang.Object value)
- Specified by:
singleton
in interface Datatype
size
public int size()
- Specified by:
size
in interface Datatype
getValue
public aterm.ATermAppl getValue(int i)
- Specified by:
getValue
in interface Datatype
- Overrides:
getValue
in class BaseDatatype
contains
public boolean contains(java.lang.Object value)
- Specified by:
contains
in interface Datatype
deriveByRestriction
public XSDAtomicType deriveByRestriction(DatatypeFacet facet,
java.lang.Object value)
throws java.lang.UnsupportedOperationException
- Specified by:
deriveByRestriction
in interface XSDAtomicType
- Throws:
java.lang.UnsupportedOperationException
restrictMin
public XSDAtomicType restrictMin(boolean inclusive,
java.lang.Object value)
- Specified by:
restrictMin
in interface XSDAtomicType
restrictMinInclusive
public XSDAtomicType restrictMinInclusive(java.lang.Object value)
- Specified by:
restrictMinInclusive
in interface XSDAtomicType
restrictMinExclusive
public XSDAtomicType restrictMinExclusive(java.lang.Object value)
- Specified by:
restrictMinExclusive
in interface XSDAtomicType
restrictMax
public XSDAtomicType restrictMax(boolean inclusive,
java.lang.Object value)
- Specified by:
restrictMax
in interface XSDAtomicType
restrictMaxInclusive
public XSDAtomicType restrictMaxInclusive(java.lang.Object value)
- Specified by:
restrictMaxInclusive
in interface XSDAtomicType
restrictMaxExclusive
public XSDAtomicType restrictMaxExclusive(java.lang.Object value)
- Specified by:
restrictMaxExclusive
in interface XSDAtomicType
restrictPattern
public XSDAtomicType restrictPattern(java.lang.String pattern)
- Specified by:
restrictPattern
in interface XSDAtomicType
restrictLength
public XSDAtomicType restrictLength(int length)
- Specified by:
restrictLength
in interface XSDAtomicType
restrictMinLength
public XSDAtomicType restrictMinLength(int length)
- Specified by:
restrictMinLength
in interface XSDAtomicType
restrictMaxLength
public XSDAtomicType restrictMaxLength(int length)
- Specified by:
restrictMaxLength
in interface XSDAtomicType
toString
public java.lang.String toString()
- Overrides:
toString
in class java.lang.Object
Copyright © 2004 Evren Sirin. All Rights Reserved.