22 #ifndef _ANYATOMICTYPE_HPP
23 #define _ANYATOMICTYPE_HPP
25 #include <xqilla/framework/XQillaExport.hpp>
27 #include <xercesc/util/XercesDefs.hpp>
43 DAY_TIME_DURATION = 6,
59 YEAR_MONTH_DURATION= 22,
60 NumAtomicObjectTypes= 23
69 virtual bool isNode()
const;
74 virtual bool isNumericValue()
const;
77 virtual bool isDateOrTimeTypeValue()
const;
80 virtual const XMLCh* getPrimitiveTypeURI()
const;
83 virtual const XMLCh* getPrimitiveTypeName()
const = 0;
92 bool preserveNS =
true,
bool preserveType =
true)
const;
106 virtual bool castable(
AtomicObjectType targetIndex,
const XMLCh* targetURI,
const XMLCh* targetType,
117 virtual bool isOfType(
const XMLCh* targetURI,
const XMLCh* targetType,
const DynamicContext* context)
const;
121 virtual bool isInstanceOfType(
const XMLCh* targetURI,
const XMLCh* targetType,
const StaticContext* context)
const;
141 static const XMLCh fgDT_ANYATOMICTYPE[];
160 bool staticCastTable[NumAtomicObjectTypes][NumAtomicObjectTypes];
165 static const CastTable staticCastTable;