/**
* Add into the cache the XmlTool Doc
* @param doc XmlToolDoc
*/
public static void addXmlToolDoc(XmlToolDoc doc){
DotCacheAdministrator cache = CacheLocator.getCacheAdministrator();
// we use the identifier uri for our mappings.
String xmlPath = hashPath(doc.getXmlPath());
cache.put(getPrimaryGroup() + xmlPath, doc, getPrimaryGroup());
}