- ArtifactMap(xmltooling::StorageService* storage=NULL, const char* context=NULL, int artifactTTL=180);
+ ArtifactMap(xmltooling::StorageService* storage=NULL, const char* context=NULL, unsigned int artifactTTL=180);
+
+ /**
+ * Creates a map on top of a particular storage service context, or in-memory.
+ *
+ * @param e root of a DOM with optional XML attributes for context and artifactTTL
+ * @param storage pointer to a StorageService, or NULL to keep map in memory
+ */
+ ArtifactMap(const xercesc::DOMElement* e, xmltooling::StorageService* storage=NULL);