@Override protected DomElementsAnnotator create(Class key) { final DomFileDescription desc = findFileDescription(key); return desc == null ? null : desc.createAnnotator(); }
public DomElementsAnnotator getAnnotator(Class rootElementClass) { return myClass2Annotator.get(rootElementClass); }
@Override public DomElementsAnnotator createAnnotator() { return new ModelAnnotator(); }
@Override public DomElementsAnnotator createAnnotator() { return new MavenDomAnnotator(); }
public DomElementsAnnotator createAnnotator() { return new ModelAnnotator(); }
@Override public DomElementsAnnotator createAnnotator() { return new DozerAnnotator(); }
/** * Create custom DOM annotator that will be used when error-highlighting DOM. The results will be collected to * {@link com.intellij.util.xml.highlighting.DomElementsProblemsHolder}. The highlighting will be most probably done in an * {@link com.intellij.util.xml.highlighting.BasicDomElementsInspection} instance. * @return Annotator or null */ @Nullable public DomElementsAnnotator createAnnotator() { return null; }
/** * Create custom DOM annotator that will be used when error-highlighting DOM. The results will be collected to * {@link com.intellij.util.xml.highlighting.DomElementsProblemsHolder}. The highlighting will be most probably done in an * {@link com.intellij.util.xml.highlighting.BasicDomElementsInspection} instance. * * @return Annotator or null */ @Nullable public DomElementsAnnotator createAnnotator() { return null; }