17 #ifndef API_ITEM_FACTORY_H
18 #define API_ITEM_FACTORY_H
32 zorba::ItemFactory* theItemFactory;
34 ItemFactory(zorba::ItemFactory* aItemFactory) : theItemFactory(aItemFactory) {}
156 Item createDateTime (
short aYear,
short aMonth,
short aDay,
short aHour,
short aMinute,
double aSecond,
short aTimeZone_hours);
217 Item createDuration (
short aYear,
short aMonths,
short aDays,
short aHours,
short aMinutes,
double aSeconds);
266 Item createElementNode (
Item &aParent,
Item &aNodeName,
Item &aTypeName,
bool aHasTypedValue,
bool aHasEmptyValue, std::vector< std::pair< std::string, std::string > > aNsBindings);
412 #ifndef SWIGPHP // Seems that this kind of overloading is causing conflinct among some versions of SWIG/PHP
473 Item createPiNode (
Item &aParent,
const std::string &aTarget,
const std::string &aContent,
const std::string &aBaseUri);
492 Item createQName (
const std::string &aNamespace,
const std::string &aPrefix,
const std::string &aLocalname);
501 Item createQName (
const std::string &aNamespace,
const std::string &aLocalname);
551 Item createTime (
short aHour,
short aMinute,
double aSecond,
short aTimeZone_hours);
663 short aHour,
short aMinute,
double aSecond,
664 short aTimeZone_hours);