if ((modelQuery != null) && (modelQuery.getCMDocumentManager() != null)) {
modelQuery.getCMDocumentManager().getCMDocumentCache().clear();
// TODO... need to figure out how to access the
// DOMObserver via ModelQuery
// ...why?
CMDocumentLoader loader = new InferredGrammarBuildingCMDocumentLoader(domDocument, modelQuery);
loader.loadCMDocuments();
}
}
}
return null;
}